From f0972c7fc76bf749f624806b222671f7b93ba028 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Wed, 24 Jul 2024 23:31:17 +0200 Subject: [PATCH] add failing iterator fixture --- .../Fixture/iterator_flip.php.inc | 19 +++++++++++++++++++ .../ParamReturnAndVarTagMalformsFixerTest.php | 3 --- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/Fixture/iterator_flip.php.inc diff --git a/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/Fixture/iterator_flip.php.inc b/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/Fixture/iterator_flip.php.inc new file mode 100644 index 00000000..be381142 --- /dev/null +++ b/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/Fixture/iterator_flip.php.inc @@ -0,0 +1,19 @@ + */ + return $value; +} + +?> +----- + $value */ + return $value; +} + +?> diff --git a/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/ParamReturnAndVarTagMalformsFixerTest.php b/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/ParamReturnAndVarTagMalformsFixerTest.php index baa16e6f..393d4531 100644 --- a/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/ParamReturnAndVarTagMalformsFixerTest.php +++ b/tests/Fixer/Commenting/ParamReturnAndVarTagMalformsFixer/ParamReturnAndVarTagMalformsFixerTest.php @@ -8,9 +8,6 @@ use PHPUnit\Framework\Attributes\DataProvider; use Symplify\EasyCodingStandard\Testing\PHPUnit\AbstractCheckerTestCase; -/** - * @mimic https://github.com/rectorphp/rector/pull/807/files - */ final class ParamReturnAndVarTagMalformsFixerTest extends AbstractCheckerTestCase { #[DataProvider('provideData')]