diff --git a/rules-tests/DeadCode/Rector/ClassMethod/RemoveParentDelegatingConstructorRector/Fixture/skip_protected_parent_construct.php.inc b/rules-tests/DeadCode/Rector/ClassMethod/RemoveParentDelegatingConstructorRector/Fixture/skip_protected_parent_construct.php.inc new file mode 100644 index 00000000000..e86ca95a2b2 --- /dev/null +++ b/rules-tests/DeadCode/Rector/ClassMethod/RemoveParentDelegatingConstructorRector/Fixture/skip_protected_parent_construct.php.inc @@ -0,0 +1,13 @@ +isPublic()) { + return null; + } + $soleStmt = $node->stmts[0]; $parentCallArgs = $this->matchParentConstructorCallArgs($soleStmt); if ($parentCallArgs === null) {