Skip to content

Commit 6739594

Browse files
authored
Merge pull request #1133 from rodrigoprimo/remove-outdated-code-from-filter-class
Filter/Filter: remove outdated code that is no longer needed
2 parents ef0b6a6 + ad9a0b2 commit 6739594

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Filters/Filter.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,6 @@ protected function shouldIgnorePath($path)
247247
}
248248

249249
foreach ($ignorePatterns as $pattern => $type) {
250-
// Maintains backwards compatibility in case the ignore pattern does
251-
// not have a relative/absolute value.
252-
if (is_int($pattern) === true) {
253-
$pattern = $type;
254-
$type = 'absolute';
255-
}
256-
257250
$replacements = [
258251
'\\,' => ',',
259252
'*' => '.*',

0 commit comments

Comments
 (0)