]> git.agnieray.net Git - galette.git/blobdiff - phpstan.neon
Merge branch 'hotfix/1.0.3'
[galette.git] / phpstan.neon
index dc2f095d7cccf7a24f5cef6aed245c91b410312e..8fe578f0cb531107d46cca498e880ca62485eea7 100644 (file)
@@ -1,13 +1,20 @@
 parameters:
     parallel:
         maximumNumberOfProcesses: 2
-    level: 0
+    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./'
-    excludePaths:
-        - galette/lib/Galette/Handlers/*.php
\ No newline at end of file
+        - '/Cannot access property .* on .*ArrayObject.*/'
+        - '/Access to an undefined property ArrayObject.*/'