mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 12:24:49 +01:00
Check if included files are listed in mustBeIgnored (#4911)
Previously, when a file was included in `include()`, it was not subject to ignoreFiles Related to #4876
This commit is contained in:
parent
704ae5bd8f
commit
d169d399af
@ -143,6 +143,9 @@ class IncludeAnalyzer
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
if ($config->mustBeIgnored($path_to_file)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
$current_file_analyzer->addRequiredFilePath($path_to_file);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user