暫無描述

Maha Bouchiba 66aefcbef4 Merge branch 'v8-5388-filtre-events-fnac' into 'develop' 2 年之前
bin fe765c792e setup new public events view and override schema:update command 3 年之前
config e328608b97 update mercure key 2 年之前
doc e328608b97 update mercure key 2 年之前
env 6c0ab68e85 fix merge conflicts 2 年之前
fixtures 92462a4671 upgrade 3.1.2 2 年之前
migrations 94ebc36905 Initial commit : Secure and Rights Bases 5 年之前
old 6ffaf153e3 V8-3516 3 年之前
public 86b89d5c14 restore blackfire condition to avoid critical logs 2 年之前
sql a9c631a201 ajout du filtre prix 2 年之前
src 66aefcbef4 Merge branch 'v8-5388-filtre-events-fnac' into 'develop' 2 年之前
templates 3c1fcf18e7 fix: 404 page title 2 年之前
tests 76a855f722 test ci 2 年之前
translations cfeafc1114 fix cmf licence translation 2 年之前
.env 6c0ab68e85 fix merge conflicts 2 年之前
.gitignore cb4481aca3 update gitignore 2 年之前
.gitlab-ci.yml 977eba54a9 test ci 2 年之前
composer.json a747e3cb27 fix ci 2 年之前
logo.png 51b2e302e9 add logo 4 年之前
phpstan.json 58c8d235d2 fix ci 2 年之前
phpstan.neon.dist a747e3cb27 fix ci 2 年之前
phpunit.xml.dist 098e96f265 setup first two applicative tests 2 年之前
readme.md e2dd7949de Merge branch 'feature/V8-4179' into develop and resolve phpstan warnings 2 年之前
rector.php f687c7743b rector update 2 2 年之前

readme.md

AP2I

pipeline status coverage report

Dependencies

apt install wkhtmltopdf

Démarrer le handler de messenger

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

Chercher les erreurs avec phpstan

Pour exécuter une analyse du code :

vendor/bin/phpstan analyse

Voir : https://phpstan.org/user-guide/getting-started

PHPStan

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

Principales commandes

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/