Documentation > Docker > add paragraph for PHP Coding Standards Fixer

This commit is contained in:
Meritoo
2018-06-16 14:17:35 +02:00
parent c99a099c31
commit ae3e82e233
2 changed files with 17 additions and 0 deletions

View File

@@ -56,6 +56,22 @@ docker-compose run composer require <vendor>/<package>
docker-compose run composer remove <vendor>/<package>
```
# Coding Standards Fixer
Fix coding standard by running command:
```bash
docker-compose exec php-cli php-cs-fixer fix
```
Omit cache and run the Fixer from scratch by running command:
```bash
docker-compose exec php-cli rm .php_cs.cache && docker-compose exec php-cli php-cs-fixer fix
```
> [Want more?](https://cs.sensiolabs.org)
# Tests
### Prerequisites