Sem descrição

Olivier Massot 5a54d5a49c fix unit tests há 2 anos atrás
bin fe765c792e setup new public events view and override schema:update command há 3 anos atrás
config 03bc83e9dc remove unnecessary modules conditions há 2 anos atrás
doc 060c1e7506 complete security doc há 2 anos atrás
fixtures 92462a4671 upgrade 3.1.2 há 2 anos atrás
migrations 94ebc36905 Initial commit : Secure and Rights Bases há 5 anos atrás
old 6ffaf153e3 V8-3516 há 3 anos atrás
public 86b89d5c14 restore blackfire condition to avoid critical logs há 2 anos atrás
sql 3140ac6eb3 fix federation structures view sql há 2 anos atrás
src 5a54d5a49c fix unit tests há 2 anos atrás
templates 0b34738cab fix and complete unit tests há 2 anos atrás
tests 5a54d5a49c fix unit tests há 2 anos atrás
translations 92462a4671 upgrade 3.1.2 há 2 anos atrás
.env 2dcadaadf6 review bundles definitions há 2 anos atrás
.env.ci 231d297f5b env missing há 2 anos atrás
.env.docker b98b917d83 fix .env files há 2 anos atrás
.env.prod 3b102a2cca restore dolibarr url in prod env há 2 anos atrás
.env.staging b98b917d83 fix .env files há 2 anos atrás
.env.test b98b917d83 fix .env files há 2 anos atrás
.gitignore 16c1d033dc Installation et configuration de phpstan há 2 anos atrás
.gitlab-ci.yml cff0f22cda upgrade to symfony 6.3 há 2 anos atrás
composer.json cff0f22cda upgrade to symfony 6.3 há 2 anos atrás
logo.png 51b2e302e9 add logo há 4 anos atrás
phpstan.neon.dist ec4358cc75 PhpStan Level 6 há 2 anos atrás
phpunit.xml.dist 098e96f265 setup first two applicative tests há 2 anos atrás
readme.md e2dd7949de Merge branch 'feature/V8-4179' into develop and resolve phpstan warnings há 2 anos atrás
rector.php f687c7743b rector update 2 há 2 anos atrás

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/