Skip to content
Snippets Groups Projects
Commit 87af36f7 authored by Fabrice Gangler's avatar Fabrice Gangler :art:
Browse files

CHORE(QA): add PHP_CodeSniffer (phpcs) dependency

documentation:
https://phpqa.io/projects/phpcs.html
https://github.com/squizlabs/PHP_CodeSniffer/wiki

# install
composer require --dev "squizlabs/php_codesniffer"

# Show rules and coding standards
vendor/bin/phpcs -i  #  list of installed coding standards
vendor/bin/phpcs -e  #  list of rules used by .phpcs.xml config

# Check files based on .phpcs.xml config
vendor/bin/phpcs

Refs: #27
parent 2c3b68fe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment