diff --git a/M6Web_Symfony2/ruleset.xml b/M6Web_Symfony2/ruleset.xml new file mode 100644 index 0000000..4b63b68 --- /dev/null +++ b/M6Web_Symfony2/ruleset.xml @@ -0,0 +1,6 @@ + + + M6Web coding standard for Symfony2 projects. + + + diff --git a/README.md b/README.md index 1714e14..5ccb1ea 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ A code standard to check against the [Symfony coding standards](http://symfony.com/doc/current/contributing/code/standards.html), forked from [opensky/Symfony2-coding-standard](https://github.com/opensky/Symfony2-coding-standard) to allow installation with composer. -The reason of the fork is to use this PHP CodeSniffer coding standard with [M6Web/Coke](https://github.com/M6Web/Coke). +The reason of the fork is to use this PHP CodeSniffer coding standard with [M6Web/Coke](https://github.com/M6Web/Coke). More details [on our tech blog](http://tech.m6web.fr/verifier-la-coherence-du-code-d-un-projet-symfony2-avec-coke/) (in french). -http://tech.m6web.fr/verifier-la-coherence-du-code-d-un-projet-symfony2-avec-coke/ (in french) +We also added to this project our own standard for our Symfony2 developments entitled `M6Web_Symfony2`. ## Installation @@ -32,6 +32,12 @@ http://tech.m6web.fr/verifier-la-coherence-du-code-d-un-projet-symfony2-avec-cok standard=vendor/m6web/symfony2-coding-standard/Symfony2 ``` + or if you want to use our standard: + + ```shell + standard=vendor/m6web/symfony2-coding-standard/M6Web_Symfony2 + ``` + 5. Enjoy ```shell