Based on Nette Coding Standard
This is a set of sniffs and fixers that checks and fixes code of Nette Framework against Coding Standard in Documentation with some extra Modul IS fixers and tweaks.
Check coding standard for PHP 7.1 in directory src
:
php ecs check src --preset php71
And fix it:
php ecs check src --preset php71 --fix
If no PHP version is specified, it will try to detect it automatically from the composer.json
file.
php sqltest [server] [username] [password]