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