about summary refs log tree commit diff stats
path: root/phpstan.neon
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-26 08:42:12 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-26 08:42:12 +0300
commit1f72a58ed9937869607dc41707098ccae732b45d (patch)
treee8a646e04409801d607f54bc6ae886a20add59c6 /phpstan.neon
parent1cea8a710a8dffd9f8286c3b7e46a9379841e2b4 (diff)
downloadthe-epube-1f72a58ed9937869607dc41707098ccae732b45d.tar.gz
the-epube-1f72a58ed9937869607dc41707098ccae732b45d.tar.xz
add workaround for phpstan require_once issues
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon
index 21d7ce5..5b16252 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -3,7 +3,11 @@ parameters:
    tmpDir: .phpstan-tmp
    parallel:
       maximumNumberOfProcesses: 4
+   reportUnmatchedIgnoredErrors: false
    ignoreErrors:
+      # set_include_path detection issue
+      - message: '#"(autoload|common)\.php"#'
+        identifier: requireOnce.fileNotFound
    excludePaths:
       - node_modules/*
       - vendor/**/*