Skip to content

📚 Start doc for TwigCs #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ Customized coding standards for Symfony projects.

Documentation
-------------
* [PHP Coding Standard](docs/standards.md)
* [Installation](docs/installation.md)
* [Php Coding Standard](docs/php.md)
* [Twig Coding Standard](docs/twig.md)
1 change: 1 addition & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ bin/phpcs -i

```
bin/phpcs --standard=SymfonyCustom /path/to/code
bin/twigcs lint /path/to/code
```

5. (optional) Set up PHPStorm
Expand Down
2 changes: 1 addition & 1 deletion docs/standards.md → docs/php.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PHP CS Coding Standard Rules
# PHP Coding Standard Rules
## From PSR2

We imported the [PSR2 Standard](./standards/psr2.md) with these overrides:
Expand Down
5 changes: 5 additions & 0 deletions docs/twig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Twig Coding Standard Rules

In construction...

See [official one](http://twig.sensiolabs.org/doc/coding_standards.html).