|
|
2 months ago | |
|---|---|---|
| .junie | 3 months ago | |
| bin | 3 years ago | |
| config | 2 months ago | |
| doc | 7 months ago | |
| docker | 7 months ago | |
| env | 4 months ago | |
| fixtures | 2 years ago | |
| migrations | 4 years ago | |
| old | 1 year ago | |
| public | 4 months ago | |
| sql | 2 months ago | |
| src | 2 months ago | |
| templates | 2 months ago | |
| tests | 2 months ago | |
| translations | 4 months ago | |
| .env | 4 months ago | |
| .gitignore | 11 months ago | |
| .gitlab-ci.yml | 6 months ago | |
| .php-cs-fixer.dist.php | 1 year ago | |
| Dockerfile | 2 months ago | |
| application_tests.sh | 1 year ago | |
| composer.json | 4 months ago | |
| icon.svg | 1 year ago | |
| logo.png | 4 years ago | |
| phpstan.neon.dist | 6 months ago | |
| phpunit.xml.dist | 1 year ago | |
| readme.md | 1 year ago |
Pour consommer les signaux messengers, lancer :
php bin/console messenger:consume async
En cas d'erreur lié à l'absence de la table messenger_messages, lancer d'abord :
php bin/console messenger:setup-transports
Voir: https://symfony.com/doc/5.4/messenger.html#consuming-messages-running-the-worker
Pour exécuter une analyse du code :
vendor/bin/phpstan analyse
Le fichier comportant la configuration pour chacun est phpstan.neon.dist Le fichier phpstan.neon n'est pas versionné et surcharge les valeurs du .dist
Pour lancer l'analyse
vendor/bin/phpstan analyse
Pour vider le cache (utiles entre chaque analyse si les modifications ne sont pas prises en compte)
vendor/bin/phpstan clear-result-cache
Voir : https://phpstan.org/
php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php
php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php
XDEBUG_MODE=coverage php -d memory_limit=-1 /var/www/html/vendor/phpunit/phpunit/phpunit --testsuite unit --configuration /var/www/html/phpunit.xml.dist