|
|
il y a 6 mois | |
|---|---|---|
| bin | il y a 3 ans | |
| config | il y a 6 mois | |
| doc | il y a 8 mois | |
| docker | il y a 7 mois | |
| env | il y a 10 mois | |
| fixtures | il y a 2 ans | |
| migrations | il y a 5 ans | |
| old | il y a 1 an | |
| public | il y a 9 mois | |
| sql | il y a 7 mois | |
| src | il y a 6 mois | |
| templates | il y a 9 mois | |
| tests | il y a 6 mois | |
| translations | il y a 7 mois | |
| .env | il y a 9 mois | |
| .gitignore | il y a 1 an | |
| .gitlab-ci.yml | il y a 6 mois | |
| .php-cs-fixer.dist.php | il y a 1 an | |
| Dockerfile | il y a 7 mois | |
| application_tests.sh | il y a 1 an | |
| composer.json | il y a 7 mois | |
| icon.svg | il y a 1 an | |
| logo.png | il y a 4 ans | |
| phpstan.neon.dist | il y a 6 mois | |
| phpunit.xml.dist | il y a 1 an | |
| readme.md | il y a 1 an |
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