File tree Expand file tree Collapse file tree 7 files changed +5
-5
lines changed
src/com/magento/idea/magento2plugin/inspections/xml
testData/inspections/xml/PluginAttributeTypeInspection
classAttrTypeDoesNotExists
tests/com/magento/idea/magento2plugin/inspections/xml Expand file tree Collapse file tree 7 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 234
234
bundle =" magento2.inspection" key =" inspection.displayName.PluginAttrTypeInspection"
235
235
groupBundle =" magento2.inspection" groupKey =" inspection.group.name"
236
236
enabledByDefault =" true" level =" WARNING"
237
- implementationClass =" com.magento.idea.magento2plugin.inspections.xml.PluginAttrTypeInspection " />
237
+ implementationClass =" com.magento.idea.magento2plugin.inspections.xml.PluginAttributeTypeInspection " />
238
238
239
239
<internalFileTemplate name =" Magento Composer JSON" />
240
240
<internalFileTemplate name =" Magento Registration PHP" />
Original file line number Diff line number Diff line change 21
21
import com .magento .idea .magento2plugin .magento .files .ModuleDiXml ;
22
22
import org .jetbrains .annotations .NotNull ;
23
23
24
- public class PluginAttrTypeInspection extends XmlSuppressableInspectionTool {
24
+ public class PluginAttributeTypeInspection extends XmlSuppressableInspectionTool {
25
25
26
26
@ Override
27
27
public @ NotNull
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 7
7
8
8
import com .magento .idea .magento2plugin .magento .files .ModuleDiXml ;
9
9
10
- public class PluginAttrTypeInspectionTest extends InspectionXmlFixtureTestCase {
10
+ public class PluginAttributeTypeInspectionTest extends InspectionXmlFixtureTestCase {
11
11
12
12
private static final String ARGUMENT_VALUE_IS_EMPTY =
13
13
"inspection.error.idAttributeCanNotBeEmpty" ;
@@ -21,7 +21,7 @@ public class PluginAttrTypeInspectionTest extends InspectionXmlFixtureTestCase {
21
21
@ Override
22
22
public void setUp () throws Exception {
23
23
super .setUp ();
24
- myFixture .enableInspections (PluginAttrTypeInspection .class );
24
+ myFixture .enableInspections (PluginAttributeTypeInspection .class );
25
25
}
26
26
27
27
/**
@@ -40,7 +40,7 @@ public void testAttrArgTypeValueIsEmpty() {
40
40
}
41
41
42
42
/**
43
- * Test for an no error for the "type" attribute because this class exists.
43
+ * Test for no error for the "type" attribute because this class exists.
44
44
* <plugin name="unique_plugin_name" type="Magento\Catalog\Plugin\PluginClass" />
45
45
*/
46
46
public void testAttrTypeClassExists () {
You can’t perform that action at this time.
0 commit comments