We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f6245b commit 0e42081Copy full SHA for 0e42081
src/Analyser/IgnoredError.php
@@ -54,12 +54,11 @@ public static function shouldIgnore(
54
$ignoredErrorPattern = str_replace([preg_quote('\r\n'), preg_quote('\r')], preg_quote('\n'), $ignoredErrorPattern);
55
56
if ($path !== null) {
57
- $fileExcluder = new FileExcluder($fileHelper, [$path], []);
58
-
59
if (\Nette\Utils\Strings::match($errorMessage, $ignoredErrorPattern) === null) {
60
return false;
61
}
62
+ $fileExcluder = new FileExcluder($fileHelper, [$path], []);
63
$isExcluded = $fileExcluder->isExcludedFromAnalysing($error->getFilePath());
64
if (!$isExcluded && $error->getTraitFilePath() !== null) {
65
return $fileExcluder->isExcludedFromAnalysing($error->getTraitFilePath());
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments