Aucune description

Olivier Massot d82997fbcf move unit tests into tests/Unit il y a 2 ans
bin fe765c792e setup new public events view and override schema:update command il y a 3 ans
config 3017eef75f implements InternalRequests management and security il y a 2 ans
doc 7c2e53876b finalize feature (tests, lint, doc) il y a 2 ans
fixtures 92462a4671 upgrade 3.1.2 il y a 2 ans
migrations 94ebc36905 Initial commit : Secure and Rights Bases il y a 5 ans
old 6ffaf153e3 V8-3516 il y a 3 ans
public ec4358cc75 PhpStan Level 6 il y a 2 ans
sql 08c08f0cfd public events: imageId becomes imageUrl and thumbnailUrl il y a 3 ans
src d82997fbcf move unit tests into tests/Unit il y a 2 ans
templates 0b34738cab fix and complete unit tests il y a 2 ans
tests d82997fbcf move unit tests into tests/Unit il y a 2 ans
translations 92462a4671 upgrade 3.1.2 il y a 2 ans
.env 3017eef75f implements InternalRequests management and security il y a 2 ans
.env.ci 231d297f5b env missing il y a 2 ans
.env.docker 46c98cd8b2 Merge branch 'hotfix/v8-3978_fix_dolibarr_url' into develop il y a 2 ans
.env.preprod 3b102a2cca restore dolibarr url in prod env il y a 2 ans
.env.prod 3b102a2cca restore dolibarr url in prod env il y a 2 ans
.env.test 3b102a2cca restore dolibarr url in prod env il y a 2 ans
.gitignore 16c1d033dc Installation et configuration de phpstan il y a 2 ans
.gitlab-ci.yml 246349e404 phpstan ci with progress trace il y a 2 ans
composer.json 48ca1a4884 add ramsey/uuid-doctrine and update AbstractMessage::uuid definition il y a 2 ans
logo.png 51b2e302e9 add logo il y a 4 ans
phpstan.neon.dist ec4358cc75 PhpStan Level 6 il y a 2 ans
phpunit.xml.dist d82997fbcf move unit tests into tests/Unit il y a 2 ans
readme.md e2dd7949de Merge branch 'feature/V8-4179' into develop and resolve phpstan warnings il y a 2 ans
rector.php f687c7743b rector update 2 il y a 2 ans

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/