]> git.agnieray.net Git - galette.git/blobdiff - phpstan.neon
Disable events from mass changes; closes #1733
[galette.git] / phpstan.neon
index 47ba4e243ef8d486b3ba88e41b4f0f8834f747e2..8fe578f0cb531107d46cca498e880ca62485eea7 100644 (file)
@@ -1,15 +1,18 @@
 parameters:
     parallel:
         maximumNumberOfProcesses: 2
-    level: 3
+    level: 4
     paths:
         - galette/lib/
     scanFiles:
         - galette/config/paths.inc.php
+        - galette/config/versions.inc.php
         - galette/config/config.inc.php.dist
         - galette/config/galette_tcpdf_config.php
     scanDirectories:
         - galette/includes/
+    dynamicConstantNames:
+        - GALETTE_NIGHTLY
     ignoreErrors:
         - '/Instantiated class XHProfRuns_Default not found/'
         - '/Attribute class .*\\Inject does not exist./'