Skip to content

Commit 10394b4

Browse files
Merge branch '4.2.0-develop' of github.com:magento/magento2-phpstorm-plugin into uct-index-new-versions
2 parents bcea5a1 + 6e5f940 commit 10394b4

36 files changed

+1120
-65
lines changed

resources/META-INF/plugin.xml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,83 @@
431431
enabledByDefault="false"
432432
level="WARNING"
433433
implementationClass="com.magento.idea.magento2uct.inspections.php.api.ImportedNonApiInterface"/>
434+
<localInspection language="PHP" groupPath="UCT"
435+
shortName="CalledNonApiMethod"
436+
bundle="uct.bundle.inspection" key="inspection.displayName.CalledNonApiMethod"
437+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
438+
enabledByDefault="false"
439+
level="WARNING"
440+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.CalledNonApiMethod"/>
441+
<localInspection language="PHP" groupPath="UCT"
442+
shortName="OverriddenNonApiConstant"
443+
bundle="uct.bundle.inspection" key="inspection.displayName.OverriddenNonApiConstant"
444+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
445+
enabledByDefault="false"
446+
level="WARNING"
447+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.OverriddenNonApiConstant"/>
448+
<localInspection language="PHP" groupPath="UCT"
449+
shortName="OverriddenNonApiProperty"
450+
bundle="uct.bundle.inspection" key="inspection.displayName.OverriddenNonApiProperty"
451+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
452+
enabledByDefault="false"
453+
level="WARNING"
454+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.OverriddenNonApiProperty"/>
455+
<localInspection language="PHP" groupPath="UCT"
456+
shortName="UsedNonApiConstant"
457+
bundle="uct.bundle.inspection" key="inspection.displayName.UsedNonApiConstant"
458+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
459+
enabledByDefault="false"
460+
level="WARNING"
461+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.UsedNonApiConstant"/>
462+
<localInspection language="PHP" groupPath="UCT"
463+
shortName="UsedNonApiProperty"
464+
bundle="uct.bundle.inspection" key="inspection.displayName.UsedNonApiProperty"
465+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
466+
enabledByDefault="false"
467+
level="WARNING"
468+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.UsedNonApiProperty"/>
469+
<localInspection language="PHP" groupPath="UCT"
470+
shortName="UsedNonApiType"
471+
bundle="uct.bundle.inspection" key="inspection.displayName.UsedNonApiType"
472+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
473+
enabledByDefault="false"
474+
level="WARNING"
475+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.UsedNonApiType"/>
476+
<localInspection language="PHP" groupPath="UCT"
477+
shortName="ImplementedNonApiInterface"
478+
bundle="uct.bundle.inspection" key="inspection.displayName.ImplementedNonApiInterface"
479+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
480+
enabledByDefault="false"
481+
level="WARNING"
482+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.ImplementedNonApiInterface"/>
483+
<localInspection language="PHP" groupPath="UCT"
484+
shortName="ExtendedNonApiClass"
485+
bundle="uct.bundle.inspection" key="inspection.displayName.ExtendedNonApiClass"
486+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
487+
enabledByDefault="false"
488+
level="WARNING"
489+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.ExtendedNonApiClass"/>
490+
<localInspection language="PHP" groupPath="UCT"
491+
shortName="InheritedNonApiInterface"
492+
bundle="uct.bundle.inspection" key="inspection.displayName.InheritedNonApiInterface"
493+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
494+
enabledByDefault="false"
495+
level="WARNING"
496+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.InheritedNonApiInterface"/>
497+
<localInspection language="PHP" groupPath="UCT"
498+
shortName="PossibleDependencyOnImplDetails"
499+
bundle="uct.bundle.inspection" key="inspection.displayName.PossibleDependencyOnImplDetails"
500+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
501+
enabledByDefault="false"
502+
level="WARNING"
503+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.PossibleDependencyOnImplDetails"/>
504+
<localInspection language="PHP" groupPath="UCT"
505+
shortName="CalledNonInterfaceMethod"
506+
bundle="uct.bundle.inspection" key="inspection.displayName.CalledNonInterfaceMethod"
507+
groupBundle="uct.bundle.inspection" groupKey="inspection.api.group.name"
508+
enabledByDefault="false"
509+
level="WARNING"
510+
implementationClass="com.magento.idea.magento2uct.inspections.php.api.CalledNonInterfaceMethod"/>
434511
<!-- \UCT inspection -->
435512

436513
<internalFileTemplate name="Magento Composer JSON"/>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1429] The called method is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<html>
2+
<body>
3+
<p>[1449] Called non-interface method (that is present in implementation).</p>
4+
<!-- tooltip end -->
5+
<p>The purpose of this inspection is to find places where there is called a method that is not declared in the interface.</p>
6+
</body>
7+
</html>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1121] The extended class is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1328] The implemented interface is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1327] The inherited interface is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1225] The overridden constant is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1525] The overridden property is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<html>
2+
<body>
3+
<p>[1428] Possible dependency on implementation details.</p>
4+
<!-- tooltip end -->
5+
<p>The purpose of this inspection is to find places where there is used a class (not marked as API) that implements an interface marked as API.</p>
6+
</body>
7+
</html>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p>[1224] The used constant is not marked as an API.</p>
4+
<!-- tooltip end -->
5+
</body>
6+
</html>

0 commit comments

Comments
 (0)