Last active
June 11, 2020 18:02
-
-
Save achraf-jeday/64f17b0cbdd353b49ea3ee074d65ea7c to your computer and use it in GitHub Desktop.
Symfony framework useful commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Execute PHPUnit tests in Symfony: | |
vendor/bin/phpunit -d memory_limit=-1 --group active | |
# Execute php code sniffer for Symfony: | |
phpcs --standard=Symfony --extensions=php --ignore=node_modules,bower_components,vendor DemandeController.php | |
phpcbf --standard=Symfony --extensions=php --ignore=node_modules,bower_components,vendor DemandeController.php | |
# Execute console commands from the host with docker-compose: | |
docker-compose exec php php bin/console doctrine:schema:update --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment