diff --git a/rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_by_ref_param.php.inc b/rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_by_ref_param.php.inc new file mode 100644 index 0000000000..c024a051e1 --- /dev/null +++ b/rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_by_ref_param.php.inc @@ -0,0 +1,10 @@ +byRef) { + return null; + } + if ($this->paramAnalyzer->isParamReassign($classMethod, $param)) { return null; }