Created
June 13, 2024 09:14
-
-
Save pilif/4d8e73cd6576dda2f9d53da651badb7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Analyser/Ignore/IgnoredErrorHelper.php b/src/Analyser/Ignore/IgnoredErrorHelper.php | |
index 068114767..bff07c108 100644 | |
--- a/src/Analyser/Ignore/IgnoredErrorHelper.php | |
+++ b/src/Analyser/Ignore/IgnoredErrorHelper.php | |
@@ -68,9 +68,9 @@ class IgnoredErrorHelper | |
continue; | |
} | |
- $key = ''; | |
+ $key = $ignoreError['path']; | |
if (isset($ignoreError['message'])) { | |
- $key = sprintf("%s\n%s", $ignoreError['message'], $ignoreError['path']); | |
+ $key = sprintf("%s\n%s", $key, $ignoreError['message']); | |
} | |
if (isset($ignoreError['identifier'])) { | |
$key = sprintf("%s\n%s", $key, $ignoreError['identifier']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment