File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- # symfony- coding- standard
1
+ # Symfony coding standard of ProjektMOTOR
2
2
Symfony coding standards for ProjektMOTOR enriched by several useful rules.
3
3
4
- We at ProjektMOTOR love clean code. So we have a have an internal PHP coding standard based on
4
+ We at ProjektMOTOR : heart : clean code. So we have a have an internal PHP coding standard based on
5
5
symfony coding standard
6
6
used for all our projects. We are using [ PHP CodeSniffer] [ 1 ] with the great [ Symfony PHP CodeSniffer Coding Standard
7
7
of djoos] [ 2 ] and some sniffs of [ Slevomat Coding Standard] [ 3 ] , both adopted to our own needs.
8
8
9
9
## Goals of our coding standard
10
10
11
- * Using already existing standards (PSR-1, PSR-2)
12
- * Coding standard across different projects
13
- * Avoid duplications (also between code, CVS history and documentation)
11
+ * Using already existing standards (PSR-1, PSR-2, Symfony).
12
+ * Coding standard can be used across different projects.
13
+ * Avoid duplications (also between code, CVS history and documentation).
14
+ * Ensure code quality across different dev setups (e.g. different IDEs).
14
15
15
16
## Installation
16
17
17
18
If you use [ Composer] [ 4 ] , you can install ProjektMOTOR Coding Standard in your project with the following
18
19
command:
19
20
20
21
``` BASH
21
- composer require --dev projektmotor/coding-standard
22
+ composer require --dev projektmotor/symfony- coding-standard
22
23
```
23
24
24
25
## Usage
You can’t perform that action at this time.
0 commit comments