Skip to content

Commit 93fe82a

Browse files
Merge pull request #62 from VincentLanglet/doc
📚 Start doc for TwigCs
2 parents af21f5f + 6904295 commit 93fe82a

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Customized coding standards for Symfony projects.
77

88
Documentation
99
-------------
10-
* [PHP Coding Standard](docs/standards.md)
1110
* [Installation](docs/installation.md)
11+
* [Php Coding Standard](docs/php.md)
12+
* [Twig Coding Standard](docs/twig.md)

docs/installation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ bin/phpcs -i
2727

2828
```
2929
bin/phpcs --standard=SymfonyCustom /path/to/code
30+
bin/twigcs lint /path/to/code
3031
```
3132

3233
5. (optional) Set up PHPStorm

docs/standards.md renamed to docs/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PHP CS Coding Standard Rules
1+
# PHP Coding Standard Rules
22
## From PSR2
33

44
We imported the [PSR2 Standard](./standards/psr2.md) with these overrides:

docs/twig.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Twig Coding Standard Rules
2+
3+
In construction...
4+
5+
See [official one](http://twig.sensiolabs.org/doc/coding_standards.html).

0 commit comments

Comments
 (0)