Sin descripción

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

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/