From 0e3f9f7812a8c9c553ce97c8ad91b19ed0c2a5b6 Mon Sep 17 00:00:00 2001 From: Christian Rodriguez Benthake Date: Fri, 28 Jul 2023 17:07:34 +0200 Subject: [PATCH] Create skip_readonly_new_static.php.inc Add new fixture for readonly including a `new static()` --- .../Fixture/skip_readonly_new_static.php.inc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_readonly_new_static.php.inc diff --git a/rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_readonly_new_static.php.inc b/rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_readonly_new_static.php.inc new file mode 100644 index 00000000000..c8bfd2a58cf --- /dev/null +++ b/rules-tests/Php81/Rector/Property/ReadOnlyPropertyRector/Fixture/skip_readonly_new_static.php.inc @@ -0,0 +1,18 @@ +method = 'hi'; + $self->method = 'hello'; + return $self; + } +} + +?>