Update README
This commit is contained in:
@@ -258,19 +258,19 @@ sudo docker run --rm -v $(pwd)/web/app:/app composer update
|
||||
### Generating PHP API documentation
|
||||
|
||||
```sh
|
||||
sudo docker-compose exec php ./app/vendor/bin/apigen generate app/src --destination app/doc
|
||||
sudo docker-compose exec -T php ./app/vendor/bin/apigen generate app/src --destination ./app/doc
|
||||
```
|
||||
|
||||
### Testing PHP application with PHPUnit
|
||||
|
||||
```sh
|
||||
sudo docker-compose exec php ./app/vendor/bin/phpunit --colors=always --configuration app/
|
||||
sudo docker-compose exec -T php ./app/vendor/bin/phpunit --colors=always --configuration ./app/
|
||||
```
|
||||
|
||||
### Checking the standard code with [PSR2](http://www.php-fig.org/psr/psr-2/)
|
||||
|
||||
```sh
|
||||
sudo docker-compose exec php ./app/vendor/bin/phpcs --standard=PSR2 app/src
|
||||
sudo docker-compose exec -T php ./app/vendor/bin/phpcs --standard=PSR2 ./app/src
|
||||
```
|
||||
|
||||
### Checking installed PHP extensions
|
||||
|
||||
Reference in New Issue
Block a user