Skip to content

Commit

Permalink
Check if included files are listed in mustBeIgnored (vimeo#4911)
Browse files Browse the repository at this point in the history
Previously, when a file was included in `include()`, it was not subject
to ignoreFiles

Related to vimeo#4876
  • Loading branch information
TysonAndre authored and danog committed Jan 29, 2021
1 parent 704ae5b commit d169d39
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ public static function analyze(
) {
return true;
}
if ($config->mustBeIgnored($path_to_file)) {
return true;
}

$current_file_analyzer->addRequiredFilePath($path_to_file);

Expand Down

0 comments on commit d169d39

Please sign in to comment.