Joas Schilling
a1b87bc81e
Update PHP-Parser for 7.1 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Christoph Wurst
201cbf2d33
Fix app code checker to ignore `build` directory
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Morris Jobke
c739ca3c50
Fix casting in app code checker
Found while adding strict typing for PHP7+. This adds type hinting to all methods in CodeChecker.php and fixes one implicit cast.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Joas Schilling
3b267b165f
Check the migration files for table, column and index length errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Morris Jobke
c54a59d51e
Remove unused use statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
de96c5b17b
Allow to validate the password_policy app
7 years ago
Joas Schilling
ba87db3fcc
Fix others
7 years ago
Roeland Jago Douma
e5dd4272d3
Move \OC\App to PSR-4
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Joas Schilling
8a64abf4e4
Only decorate the type when it was matched
8 years ago
Joas Schilling
a0c6f2e5e0
Use the decorator pattern
8 years ago
Joas Schilling
bba87a2a3b
Restructor the code into different classes instead of extending
8 years ago
Joas Schilling
eb1c437941
Check for methods as good as possible
9 years ago
Joas Schilling
2783a78070
Allow checking for functions
9 years ago
Joas Schilling
f228a3dc28
Add support for deprecated constants
9 years ago
Joas Schilling
d2fc1b2302
Correctly handle use statements
9 years ago
Joas Schilling
4e95031ec4
Allow app:check-code to check for deprecated methods
9 years ago
Morris Jobke
081264cb93
[app code check] add OC_Search_Provider and _Result
Thanks to @libasys for noticing this.
9 years ago
Morris Jobke
f63915d0c8
update license headers and authors
9 years ago
Morris Jobke
56b1c93a79
Add verbosity option to app:check-code
* by default only lists files with errors
* option -v lists all files even if there are no errors
9 years ago
Thomas Müller
aae098c24a
Check usage of != and == - refs #16054
9 years ago
Thomas Müller
b1bb6a3d36
Ignore test folders when checking the code for compliance
9 years ago
Joas Schilling
db763027bb
Correctly only send the errors of the current file to the event
9 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
9 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 years ago
Thomas Müller
9ecb36e81f
integrate code checker in the installer
9 years ago
Thomas Müller
d74662df7d
implement php code checker to detect usage of not allowed private APIs - including console command to check local code to be used by developers
9 years ago