ajout d'un fichier bootstrap pour y définir les constantes du core utilisées dans le plugin

pull/41/head
b_b 2 years ago committed by Gitea
parent 941db96f85
commit 7bf31e679c

3
.gitattributes vendored

@ -1,2 +1,3 @@
/phpstan.neon.dist export-ignore
/phpstan-baseline.neon export-ignore
/phpstan-baseline.neon export-ignore
/phpstan-constants.php export-ignore

@ -0,0 +1,6 @@
<?php
define('_TRAITEMENT_RACCOURCIS', 1);
define('_DIR_RACINE', 1);
define('_DIR_VAR', 1);
define('_DIR_TMP', 1);

@ -10,3 +10,5 @@ parameters:
analyse:
- inc/iptc.php
level: 0
bootstrapFiles:
- phpstan-constants.php

Loading…
Cancel
Save