diff --git a/rules-tests/DeadCode/Rector/Property/RemoveDefaultValueFromAssignedPropertyRector/Fixture/skip_static_property.php.inc b/rules-tests/DeadCode/Rector/Property/RemoveDefaultValueFromAssignedPropertyRector/Fixture/skip_static_property.php.inc new file mode 100644 index 00000000000..93d615ed4de --- /dev/null +++ b/rules-tests/DeadCode/Rector/Property/RemoveDefaultValueFromAssignedPropertyRector/Fixture/skip_static_property.php.inc @@ -0,0 +1,18 @@ +isStatic()) { + continue; + } + if (! $property->isPrivate() && ! $isFinal) { continue; }