From 76b9cd82741d998593153bfbeabd9ecb7363ffd9 Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 12 Nov 2024 03:59:52 +0000 Subject: Make the 'requireOnce.fileNotFound' PHPStan error ignore more specific. --- phpstan.neon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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::#' -- cgit v1.2.3-54-g00ecf