Commit ad9a0b2
committed
Filter/Filter: remove outdated code that is no longer needed
This commit removes an if condition to maintain backwards compatibility
that is no longer needed. It was added via squizlabs/PHP_CodeSniffer@4982619
to preserve backwards compatibility back in a time when it was possible
to programmatically set ignore patterns using
`CodeSniffer::setIgnorePatterns()` (see https://pear.php.net/bugs/bug.php?id=19859).
This method was removed a long time ago via f61025c#diff-c36ecedca179eab0b3cd245e872a96ab26fa08e567437e167f4eda1779c15c89L431-L435,
and since then, there is no way for users to set the ignore pattern
array with numeric indices.1 parent ef0b6a6 commit ad9a0b2
1 file changed
+0
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 250 | | |
258 | 251 | | |
259 | 252 | | |
| |||
0 commit comments