Без опису

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