Skip to content

Instantly share code, notes, and snippets.

@SebKay
Last active May 15, 2020 06:17
Show Gist options
  • Save SebKay/018351574ab836f9c73b5d629ebe3354 to your computer and use it in GitHub Desktop.
Save SebKay/018351574ab836f9c73b5d629ebe3354 to your computer and use it in GitHub Desktop.
Check project against PRS2
# Install PHP_CodeSniffer
composer require squizlabs/php_codesniffer
# Run script
./vendor/bin/phpcs ./ --extensions=php --standard=PSR2 --ignore=vendor/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment