From 35b07cc1f8107015add7ec5a99e07aabbbf4ae16 Mon Sep 17 00:00:00 2001 From: Alessandro Lai Date: Tue, 25 Aug 2026 14:57:10 +0200 Subject: [PATCH] Add fixture for CommandConfigureToAttributeRector regression CommandConfigureToAttributeRector should not run if the promoted value is a non-constant value, since it cannot be included as an attribute argument --- .../Fixture/example_command.php.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 rules-tests/Symfony61/Rector/Class_/CommandConfigureToAttributeRector/Fixture/example_command.php.inc diff --git a/rules-tests/Symfony61/Rector/Class_/CommandConfigureToAttributeRector/Fixture/example_command.php.inc b/rules-tests/Symfony61/Rector/Class_/CommandConfigureToAttributeRector/Fixture/example_command.php.inc new file mode 100644 index 00000000..cf89eac7 --- /dev/null +++ b/rules-tests/Symfony61/Rector/Class_/CommandConfigureToAttributeRector/Fixture/example_command.php.inc @@ -0,0 +1,16 @@ +setDescription($this->description); + } +} +?>