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 234234 bundle =" magento2.inspection" key =" inspection.displayName.PluginAttrTypeInspection"
235235 groupBundle =" magento2.inspection" groupKey =" inspection.group.name"
236236 enabledByDefault =" true" level =" WARNING"
237- implementationClass =" com.magento.idea.magento2plugin.inspections.xml.PluginAttrTypeInspection " />
237+ implementationClass =" com.magento.idea.magento2plugin.inspections.xml.PluginAttributeTypeInspection " />
238238
239239 <internalFileTemplate name =" Magento Composer JSON" />
240240 <internalFileTemplate name =" Magento Registration PHP" />
Original file line number Diff line number Diff line change 2121import com .magento .idea .magento2plugin .magento .files .ModuleDiXml ;
2222import org .jetbrains .annotations .NotNull ;
2323
24- public class PluginAttrTypeInspection extends XmlSuppressableInspectionTool {
24+ public class PluginAttributeTypeInspection extends XmlSuppressableInspectionTool {
2525
2626 @ Override
2727 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 77
88import com .magento .idea .magento2plugin .magento .files .ModuleDiXml ;
99
10- public class PluginAttrTypeInspectionTest extends InspectionXmlFixtureTestCase {
10+ public class PluginAttributeTypeInspectionTest extends InspectionXmlFixtureTestCase {
1111
1212 private static final String ARGUMENT_VALUE_IS_EMPTY =
1313 "inspection.error.idAttributeCanNotBeEmpty" ;
@@ -21,7 +21,7 @@ public class PluginAttrTypeInspectionTest extends InspectionXmlFixtureTestCase {
2121 @ Override
2222 public void setUp () throws Exception {
2323 super .setUp ();
24- myFixture .enableInspections (PluginAttrTypeInspection .class );
24+ myFixture .enableInspections (PluginAttributeTypeInspection .class );
2525 }
2626
2727 /**
@@ -40,7 +40,7 @@ public void testAttrArgTypeValueIsEmpty() {
4040 }
4141
4242 /**
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.
4444 * <plugin name="unique_plugin_name" type="Magento\Catalog\Plugin\PluginClass" />
4545 */
4646 public void testAttrTypeClassExists () {
You can’t perform that action at this time.
0 commit comments