PSR-2 Conding standard checker

vendor/bin/php-cs-fixer fix path/to/folder --level="psr2" -v

The –dry-run option displays the files that need to be fixed but without actually modifying them

vendor/bin/php-cs-fixer fix path/to/file --level="psr2" --dry-run --diff -v

Leave a Reply