From 0974abf5a9ec142ee8103340af537a5113ceecff Mon Sep 17 00:00:00 2001 From: Martin Komischke Date: Tue, 31 Mar 2026 18:03:10 +0200 Subject: [PATCH] don't let rector replace a function with a method in EventResponseSetter --- backend/rector.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/rector.php b/backend/rector.php index ec40185..de31077 100644 --- a/backend/rector.php +++ b/backend/rector.php @@ -21,4 +21,8 @@ // Code quality SetList::CODE_QUALITY, SetList::CODING_STYLE, + ]) + // Skip ErrorResponseSetter - has legitimate static methods that shouldn't be converted + ->withSkip([ + __DIR__.'/src/EventListener/ErrorResponseSetter.php', ]);