Skip to content

Commit 645e5aa

Browse files
author
Vitaliy Boyko
committed
Removed a general suppression, used a certain instead
1 parent 16cc2fd commit 645e5aa

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/com/magento/idea/magento2plugin/inspections/xml/ObserverDeclarationInspection.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
package com.magento.idea.magento2plugin.inspections.xml;//NOPMD
6+
package com.magento.idea.magento2plugin.inspections.xml;
77

88
import com.intellij.codeInspection.ProblemHighlightType;
99
import com.intellij.codeInspection.ProblemsHolder;
@@ -39,7 +39,11 @@
3939
import org.jetbrains.annotations.NotNull;
4040
import org.jetbrains.annotations.Nullable;
4141

42-
@SuppressWarnings({"PMD.ExcessiveMethodLength", "PMD.NPathComplexity"})
42+
@SuppressWarnings({
43+
"PMD.ExcessiveMethodLength",
44+
"PMD.NPathComplexity",
45+
"PMD.ExcessiveImports",
46+
})
4347
public class ObserverDeclarationInspection extends PhpInspection {
4448

4549
@NotNull

0 commit comments

Comments
 (0)