Documentation improvement

This commit is contained in:
Vincent Letourneau
2018-03-29 10:49:56 +02:00
parent fa971dc95a
commit 1f4cba9861
2 changed files with 2 additions and 28 deletions

View File

@@ -279,13 +279,13 @@ sudo docker-compose exec -T php php -d memory_limit=256M -d xdebug.profiler_enab
### Testing PHP application with PHPUnit
```sh
sudo docker-compose exec -T php ./app/vendor/bin/phpunit --colors=always --configuration ./app/
sudo docker-compose exec -T php ./app/vendor/bin/phpunit --colors=always --configuration ./app
```
### Fixing standard code with [PSR2](http://www.php-fig.org/psr/psr-2/)
```sh
sudo docker-compose exec -T php ./app/vendor/bin/phpcs -v --standard=PSR2 ./app/src/
sudo docker-compose exec -T php ./app/vendor/bin/phpcbf -v --standard=PSR2 ./app/src
```
### Checking the standard code with [PSR2](http://www.php-fig.org/psr/psr-2/)