| 1 |
[php-syntax-check] |
| 2 |
apt = php-cli | php5-cli |
| 3 |
files = *.php* |
| 4 |
types = text/x-php |
| 5 |
command = php -l -f {file} | grep -v '^No syntax errors detected in ' |
| 6 |
|
| 7 |
[php-grinder] |
| 8 |
files = *.php* |
| 9 |
types = text/x-php |
| 10 |
comment = You may want to submit your PHP code to http://php-grinder.com/ |
| 11 |
|
| 12 |
# TODO: pkg-php-tools pkgtools |
| 13 |
# TODO: php-codesniffer |
| 14 |
# TODO: pdepend |
| 15 |
# TODO: phpmd |
| 16 |
# TODO: php7cc |
| 17 |
# TODO: https://github.com/wayfair/hussar |
| 18 |
# TODO: https://github.com/rlerdorf/phan |
| 19 |
# TODO: https://github.com/sebastianbergmann/phpcpd |
| 20 |
# TODO: https://github.com/wsdookadr/mdetect https://blog.garage-coding.com/2016/09/01/detecting-potentially-malicious-php-code-using-parsers-and-heuristics.html |
| 21 |
# TODO: shell metacharacter injection: backticks exec system passthru shell_exec popen proc_open |
| 22 |
|
| 23 |
# vim:ft=dosini |