From 2e1971d50f19a5fb187756e3de81101fcd529b1b Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sat, 29 Aug 2026 10:22:15 +0200 Subject: [PATCH] [DependencyInjection] Add fixture for adding dependency to existing constructor --- .../Fixture/stick_with_constructor.php.inc | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 rules-tests/DependencyInjection/Rector/Class_/GetBySymfonyStringToConstructorInjectionRector/Fixture/stick_with_constructor.php.inc diff --git a/rules-tests/DependencyInjection/Rector/Class_/GetBySymfonyStringToConstructorInjectionRector/Fixture/stick_with_constructor.php.inc b/rules-tests/DependencyInjection/Rector/Class_/GetBySymfonyStringToConstructorInjectionRector/Fixture/stick_with_constructor.php.inc new file mode 100644 index 000000000..a5600f233 --- /dev/null +++ b/rules-tests/DependencyInjection/Rector/Class_/GetBySymfonyStringToConstructorInjectionRector/Fixture/stick_with_constructor.php.inc @@ -0,0 +1,43 @@ +get('validator'); + } +} + +?> +----- +validator; + } +} + +?>