From 91b312eaef927dfb4b4c6ce1e898498912fba491 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sun, 12 Jul 2026 18:51:22 +0200 Subject: [PATCH] [Php71] Skip magic @method on RemoveExtraParametersRector --- .../Fixture/skip_magic_method.php.inc | 13 +++++++++++++ .../Source/TranslationEntityInterface.php | 14 ++++++++++++++ .../FuncCall/RemoveExtraParametersRector.php | 6 ++++++ 3 files changed, 33 insertions(+) create mode 100644 rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Fixture/skip_magic_method.php.inc create mode 100644 rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Source/TranslationEntityInterface.php diff --git a/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Fixture/skip_magic_method.php.inc b/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Fixture/skip_magic_method.php.inc new file mode 100644 index 00000000000..6de2ac7b846 --- /dev/null +++ b/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Fixture/skip_magic_method.php.inc @@ -0,0 +1,13 @@ +isPublished(false); + } +} diff --git a/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Source/TranslationEntityInterface.php b/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Source/TranslationEntityInterface.php new file mode 100644 index 00000000000..32f56f33644 --- /dev/null +++ b/rules-tests/Php71/Rector/FuncCall/RemoveExtraParametersRector/Source/TranslationEntityInterface.php @@ -0,0 +1,14 @@ +isAbstract()) { return null;