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.
2 parents b5355fe + d455aff commit 36074fbCopy full SHA for 36074fb
src/com/magento/idea/magento2plugin/inspections/xml/PluginDeclarationInspection.java
@@ -95,6 +95,9 @@ public void visitFile(PsiFile file) {
95
for (Pair<String, String> moduleEntry: modulesWithSamePluginName) {
96
String scope = moduleEntry.getFirst();
97
String moduleName = moduleEntry.getSecond();
98
+ if (scope == null || moduleName == null) {
99
+ continue;
100
+ }
101
String problemKey = pluginTypeKey.concat(Package.VENDOR_MODULE_NAME_SEPARATOR)
102
.concat(moduleName).concat(Package.VENDOR_MODULE_NAME_SEPARATOR).concat(scope);
103
if (!pluginProblems.containsKey(problemKey)){
0 commit comments