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>
pirms 5 gadiem
Christoph Wurst
201cbf2d33
Fix app code checker to ignore `build` directory
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pirms 5 gadiem
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>
pirms 6 gadiem
Joas Schilling
3b267b165f
Check the migration files for table, column and index length errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
pirms 7 gadiem
Morris Jobke
c54a59d51e
Remove unused use statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pirms 7 gadiem
Joas Schilling
de96c5b17b
Allow to validate the password_policy app
pirms 7 gadiem
Joas Schilling
ba87db3fcc
Fix others
pirms 7 gadiem
Roeland Jago Douma
e5dd4272d3
Move \OC\App to PSR-4
pirms 8 gadiem
Thomas Müller
682821c71e
Happy new year!
pirms 8 gadiem
Joas Schilling
8a64abf4e4
Only decorate the type when it was matched
pirms 9 gadiem
Joas Schilling
a0c6f2e5e0
Use the decorator pattern
pirms 9 gadiem
Joas Schilling
bba87a2a3b
Restructor the code into different classes instead of extending
pirms 9 gadiem
Joas Schilling
eb1c437941
Check for methods as good as possible
pirms 9 gadiem
Joas Schilling
2783a78070
Allow checking for functions
pirms 9 gadiem
Joas Schilling
f228a3dc28
Add support for deprecated constants
pirms 9 gadiem
Joas Schilling
d2fc1b2302
Correctly handle use statements
pirms 9 gadiem
Joas Schilling
4e95031ec4
Allow app:check-code to check for deprecated methods
pirms 9 gadiem
Morris Jobke
081264cb93
[app code check] add OC_Search_Provider and _Result
Thanks to @libasys for noticing this.
pirms 9 gadiem
Morris Jobke
f63915d0c8
update license headers and authors
pirms 9 gadiem
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
pirms 9 gadiem
Thomas Müller
aae098c24a
Check usage of != and == - refs #16054
pirms 9 gadiem
Thomas Müller
b1bb6a3d36
Ignore test folders when checking the code for compliance
pirms 9 gadiem
Joas Schilling
db763027bb
Correctly only send the errors of the current file to the event
pirms 9 gadiem
Jenkins for ownCloud
b585d87d9d
Update license headers
pirms 9 gadiem
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
pirms 9 gadiem
Jenkins for ownCloud
6a1a4880f0
Updating license headers
pirms 9 gadiem
Thomas Müller
9ecb36e81f
integrate code checker in the installer
pirms 9 gadiem
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
pirms 9 gadiem