From e672d42c94d5e205023bb010c2909193efed2c09 Mon Sep 17 00:00:00 2001 From: benoitpotier Date: Mon, 3 Apr 2017 12:25:40 +0200 Subject: [PATCH] README update --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 3c8e817..7ae0e5d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,21 @@ ### Documentations http://www.php-fig.org/psr/psr-4/ +### Phpcs +Configurer Phpcs: +https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options + +Changer le coding standard (PEAR par defaut) +``` +phpcs --config-set default_standard Squiz +``` + +``` +vendor/bin/phpcs --config-set colors 1 +vendor/bin/phpcs --config-set report_width 120 +vendor/bin/phpcs --config-set show_progress 1 +``` + ### Tests unitaires Pour lancer les tests unitaires: ```