Skip to content

Commit 01459cc

Browse files
merge magento/2.3-develop into magento-epam/EPAM-PR-53
2 parents f7e43b6 + 70f3d79 commit 01459cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/tests/static/framework/Magento/CodeMessDetector/Rule/Design/AllPurposeAction.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class AllPurposeAction extends AbstractRule implements ClassAware
2727
*/
2828
public function apply(AbstractNode $node)
2929
{
30+
// Skip validation for Abstract Controllers
31+
if ($node->isAbstract()) {
32+
return;
33+
}
3034
try {
3135
$impl = class_implements($node->getFullQualifiedName(), true);
3236
} catch (\Throwable $exception) {

0 commit comments

Comments
 (0)