暫無描述

Olivier Massot a9eae39779 add a composer postscript cmd to setup the env file 2 年之前
bin fe765c792e setup new public events view and override schema:update command 3 年之前
config a9eae39779 add a composer postscript cmd to setup the env file 2 年之前
doc a9eae39779 add a composer postscript cmd to setup the env file 2 年之前
env a9eae39779 add a composer postscript cmd to setup the env file 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 044aef5566 Merge branch 'V8-4743_fix_doctrine_time_filters' into develop 2 年之前
src a9eae39779 add a composer postscript cmd to setup the env file 2 年之前
templates 3c1fcf18e7 fix: 404 page title 2 年之前
tests f7578906d2 v8-4757 : suppression de la mise a jour dans ES des notes si la note max change. 2 年之前
translations 92462a4671 upgrade 3.1.2 2 年之前
.env 2dcadaadf6 review bundles definitions 2 年之前
.gitignore cb4481aca3 update gitignore 2 年之前
.gitlab-ci.yml cff0f22cda upgrade to symfony 6.3 2 年之前
composer.json a9eae39779 add a composer postscript cmd to setup the env file 2 年之前
logo.png 51b2e302e9 add logo 4 年之前
phpstan.json b362a9abe5 fix pipeline 2 年之前
phpstan.neon.dist ec4358cc75 PhpStan Level 6 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/