File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ Customized coding standards for Symfony projects.
7
7
8
8
Documentation
9
9
-------------
10
- * [ PHP Coding Standard] ( docs/standards.md )
11
10
* [ Installation] ( docs/installation.md )
11
+ * [ Php Coding Standard] ( docs/php.md )
12
+ * [ Twig Coding Standard] ( docs/twig.md )
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ bin/phpcs -i
27
27
28
28
```
29
29
bin/phpcs --standard=SymfonyCustom /path/to/code
30
+ bin/twigcs lint /path/to/code
30
31
```
31
32
32
33
5 . (optional) Set up PHPStorm
Original file line number Diff line number Diff line change 1
- # PHP CS Coding Standard Rules
1
+ # PHP Coding Standard Rules
2
2
## From PSR2
3
3
4
4
We imported the [ PSR2 Standard] ( ./standards/psr2.md ) with these overrides:
Original file line number Diff line number Diff line change
1
+ # Twig Coding Standard Rules
2
+
3
+ In construction...
4
+
5
+ See [ official one] ( http://twig.sensiolabs.org/doc/coding_standards.html ) .
You can’t perform that action at this time.
0 commit comments