From 6aa2a385da02dd35d4d4f47451f5dbe9ef5b19ee Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 3 May 2025 01:46:22 +0700 Subject: [PATCH 1/2] =?UTF-8?q?Revert=20"Update=20fixture=20for=20=5F=5Fto?= =?UTF-8?q?String()=20when=20parent=20mixed=20return,=20to=20always=20a?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 246c7a70e6c648b7032657fbba28b5699762c38a. --- .../Fixture/skip_parent_mixed_return.php.inc | 13 ++++++++ .../Fixture/with_parent_mixed_return.php.inc | 33 ------------------- 2 files changed, 13 insertions(+), 33 deletions(-) create mode 100644 rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStringReturnTypeOnToStringRector/Fixture/skip_parent_mixed_return.php.inc delete mode 100644 rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStringReturnTypeOnToStringRector/Fixture/with_parent_mixed_return.php.inc diff --git a/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStringReturnTypeOnToStringRector/Fixture/skip_parent_mixed_return.php.inc b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStringReturnTypeOnToStringRector/Fixture/skip_parent_mixed_return.php.inc new file mode 100644 index 00000000..c9f5c2f0 --- /dev/null +++ b/rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStringReturnTypeOnToStringRector/Fixture/skip_parent_mixed_return.php.inc @@ -0,0 +1,13 @@ + ------ - From 7a2d344b975940211cc5e0126ccae0967aa5616e Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 3 May 2025 01:48:38 +0700 Subject: [PATCH 2/2] update branch --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fa9eb0ee..ff487242 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "phpstan/phpstan": "^2.1.8", "phpstan/phpstan-webmozart-assert": "^2.0", "phpunit/phpunit": "^11.4", - "rector/rector-src": "dev-main", + "rector/rector-src": "dev-fix-to-string", "symplify/easy-coding-standard": "^12.3", "symplify/rule-doc-generator": "^12.2", "symplify/vendor-patches": "^11.3",