We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ecbf3b commit 7035ef6Copy full SHA for 7035ef6
ImportDetection/Sniffs/Imports/RequireImportsSniff.php
@@ -125,7 +125,7 @@ private function isSymbolIgnored(Symbol $symbol): bool {
125
126
$wordPressPatterns = $this->getIgnoredWordPressSymbolPatterns();
127
$matchingWordPressPatterns = array_values(array_filter($wordPressPatterns, function (string $pattern) use ($symbol): bool {
128
- return $this->doesSymbolMatchPattern($symbol, "/${pattern}/");
+ return $this->doesSymbolMatchPattern($symbol, "/{$pattern}/");
129
}));
130
return count($matchingWordPressPatterns) > 0;
131
}
0 commit comments