Sen descrición

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

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/