README update
This commit is contained in:
parent
9c2f4d110c
commit
e672d42c94
15
README.md
15
README.md
@ -4,6 +4,21 @@
|
|||||||
### Documentations
|
### Documentations
|
||||||
http://www.php-fig.org/psr/psr-4/
|
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
|
### Tests unitaires
|
||||||
Pour lancer les tests unitaires:
|
Pour lancer les tests unitaires:
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user