From 92a03e0211c44e17867ee3d8bd420e4a65b8369e Mon Sep 17 00:00:00 2001 From: Florent Dubost Date: Mon, 6 Oct 2014 15:20:55 +0200 Subject: [PATCH 1/5] Add M6Web_Symfony2 standard --- M6Web_Symfony2/ruleset.xml | 6 ++++++ README.md | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 M6Web_Symfony2/ruleset.xml diff --git a/M6Web_Symfony2/ruleset.xml b/M6Web_Symfony2/ruleset.xml new file mode 100644 index 0000000..9bb40b3 --- /dev/null +++ b/M6Web_Symfony2/ruleset.xml @@ -0,0 +1,6 @@ + + + M6Web coding standard for Symfony2 project. + + + \ No newline at end of file diff --git a/README.md b/README.md index 1714e14..89e9e4a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ A code standard to check against the [Symfony coding standards](http://symfony.c The reason of the fork is to use this PHP CodeSniffer coding standard with [M6Web/Coke](https://github.com/M6Web/Coke). -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. + +More details [here](http://tech.m6web.fr/verifier-la-coherence-du-code-d-un-projet-symfony2-avec-coke/) (in french). ## Installation @@ -32,6 +34,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 From ba0c253709f24ebc7091259b9a4011504624cf96 Mon Sep 17 00:00:00 2001 From: Florent Dubost Date: Mon, 6 Oct 2014 15:40:44 +0200 Subject: [PATCH 2/5] New line --- M6Web_Symfony2/ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M6Web_Symfony2/ruleset.xml b/M6Web_Symfony2/ruleset.xml index 9bb40b3..2e18736 100644 --- a/M6Web_Symfony2/ruleset.xml +++ b/M6Web_Symfony2/ruleset.xml @@ -3,4 +3,4 @@ M6Web coding standard for Symfony2 project. - \ No newline at end of file + From 0130dcc359dd3ed03c4e2a13fe21469300fd7233 Mon Sep 17 00:00:00 2001 From: Florent Dubost Date: Mon, 6 Oct 2014 15:44:55 +0200 Subject: [PATCH 3/5] Interchange line --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 89e9e4a..5a9b7bd 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ A code standard to check against the [Symfony coding standards](http://symfony.c The reason of the fork is to use this PHP CodeSniffer coding standard with [M6Web/Coke](https://github.com/M6Web/Coke). -We also added to this project our own standard for our Symfony2 developments entitled M6Web_Symfony2. - More details [here](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 1. [Install composer](https://getcomposer.org/download/) From 8d04444fc5791f91666e8e5e2e86a8177eecf9da Mon Sep 17 00:00:00 2001 From: Florent Dubost Date: Mon, 6 Oct 2014 15:45:37 +0200 Subject: [PATCH 4/5] Update ruleset.xml --- M6Web_Symfony2/ruleset.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M6Web_Symfony2/ruleset.xml b/M6Web_Symfony2/ruleset.xml index 2e18736..4b63b68 100644 --- a/M6Web_Symfony2/ruleset.xml +++ b/M6Web_Symfony2/ruleset.xml @@ -1,6 +1,6 @@ - M6Web coding standard for Symfony2 project. + M6Web coding standard for Symfony2 projects. From d61649f359da51010996602e0db95bf660c919ea Mon Sep 17 00:00:00 2001 From: Florent Dubost Date: Mon, 6 Oct 2014 15:46:40 +0200 Subject: [PATCH 5/5] Change link label --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 5a9b7bd..5ccb1ea 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ 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). - -More details [here](http://tech.m6web.fr/verifier-la-coherence-du-code-d-un-projet-symfony2-avec-coke/) (in french). +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). We also added to this project our own standard for our Symfony2 developments entitled `M6Web_Symfony2`.