summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-11-12 03:59:52 +0000
committerwn_ <invalid@email.com>2024-11-12 03:59:52 +0000
commit76b9cd82741d998593153bfbeabd9ecb7363ffd9 (patch)
tree846f0e237a0ab71f301adb348d064335daad4796
parent5a200755b8afd8e719214f19b51a38dc8870fe09 (diff)
Make the 'requireOnce.fileNotFound' PHPStan error ignore more specific.
-rw-r--r--phpstan.neon3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpstan.neon b/phpstan.neon
index fd5bc6be0..5052f5d73 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -6,7 +6,8 @@ parameters:
reportUnmatchedIgnoredErrors: false
ignoreErrors:
# set_include_path detection issue
- - identifier: requireOnce.fileNotFound
+ - message: '#"(autoload|colors|errorhandler|login_form|sessions)\.php"#'
+ identifier: requireOnce.fileNotFound
# undetected as DOMElement
- '#Call to an undefined method DOMNode::#'