]> git.agnieray.net Git - galette.git/blobdiff - phpstan.neon
Fix preferences tabs display on small screens
[galette.git] / phpstan.neon
index 3201976bb261a988ff2acf0ccd968aa7dbbe9523..8fe578f0cb531107d46cca498e880ca62485eea7 100644 (file)
@@ -1,15 +1,20 @@
 parameters:
     parallel:
         maximumNumberOfProcesses: 2
-    level: 1
+    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./'
+        - '/Cannot access property .* on .*ArrayObject.*/'
+        - '/Access to an undefined property ArrayObject.*/'