Sem descrição

Olivier Massot 8704b6cfe1 cs fixer há 1 ano atrás
bin fe765c792e setup new public events view and override schema:update command há 3 anos atrás
config 14a7f0cab6 remove extra monolog config há 1 ano atrás
doc c8712848dc finalize monolog configuration for multi env há 1 ano atrás
env 2ffcb19a35 fix mailer dsn há 1 ano 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 216deef281 fix camel case há 1 ano atrás
public 55aa498c15 manage error on missing image file and return missing-file.png há 1 ano atrás
sql cbf56f217b fix merge conflicts há 1 ano atrás
src 6179e553d5 fix phpstan warning há 1 ano atrás
templates 9b84d3ee27 ajout du cache de liip et changement de l'architecture du file manager há 2 anos atrás
tests 8704b6cfe1 cs fixer há 1 ano atrás
translations cfeafc1114 fix cmf licence translation há 2 anos atrás
.env 26ec68a206 resolve conflicts há 1 ano atrás
.gitignore cbf56f217b fix merge conflicts há 1 ano atrás
.gitlab-ci.yml 57654cdad9 fix ci há 1 ano atrás
.php-cs-fixer.dist.php ad81dfbf35 disable yoda style in cs fixer há 1 ano atrás
composer.json 9224c20764 upgrade cs-fixer há 1 ano atrás
icon.svg 571cc0322a post MR fixes; add HttpCodeEnum and fix return codes há 1 ano atrás
logo.png 51b2e302e9 add logo há 4 anos atrás
phpstan.neon.dist a747e3cb27 fix ci há 2 anos atrás
phpunit.xml.dist 098e96f265 setup first two applicative tests há 2 anos atrás
readme.md 734e2115c2 update CI and readme há 1 ano 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/

CS Fixer

Vérifier le code

php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php

Corriger le formatage du code automatiquement

php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php