Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1 from M6Web/m6web-symfony2
Browse files Browse the repository at this point in the history
Add M6Web_Symfony2 standard
  • Loading branch information
fdubost committed Oct 6, 2014
2 parents e19ddd8 + d61649f commit 607e3ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions M6Web_Symfony2/ruleset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<ruleset name="M6Web_Symfony2">
<description>M6Web coding standard for Symfony2 projects.</description>
<rule ref="Symfony2"/>
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
</ruleset>
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 607e3ad

Please sign in to comment.