Нема описа

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/