Closed rasodu closed 8 years ago
Now you can user following commands
phpcs --standard=PSR2 <file-path.php|path-to-folder>
phpcbf --standard=PSR2 <file-path.php|path-to-folder>
At this we specify PSR2 as default coding standard for PHP_CodeSniffer in cmd image. Therefore '--standard=PSR2' is now optional in the command.
Now you can user following commands
phpcs --standard=PSR2 <file-path.php|path-to-folder>
phpcbf --standard=PSR2 <file-path.php|path-to-folder>