From 484a38bf6276567f6810338d2974b43533da199d Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Wed, 9 Aug 2023 16:37:21 +0200 Subject: [PATCH] [DX] Cleanup covered multline doc printer test (#4740) --- .../PhpDocInfo/PhpDocInfoPrinter/MultilineTest.php | 5 ----- .../Source/Multiline/assert_serialize_single_line.txt | 5 ----- .../PhpDocInfoPrinter/Source/Multiline/multiline4.txt | 4 ---- .../PhpDocInfoPrinter/Source/Multiline/multiline5.txt | 4 ---- 4 files changed, 18 deletions(-) delete mode 100644 packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/assert_serialize_single_line.txt delete mode 100644 packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline4.txt delete mode 100644 packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline5.txt diff --git a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/MultilineTest.php b/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/MultilineTest.php index 5266967f41f..480f4e06ace 100644 --- a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/MultilineTest.php +++ b/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/MultilineTest.php @@ -35,8 +35,6 @@ public static function provideData(): Iterator yield [__DIR__ . '/Source/Multiline/multiline1.txt', new Nop()]; yield [__DIR__ . '/Source/Multiline/multiline2.txt', new Nop()]; yield [__DIR__ . '/Source/Multiline/multiline3.txt', new Nop()]; - yield [__DIR__ . '/Source/Multiline/multiline4.txt', new Nop()]; - yield [__DIR__ . '/Source/Multiline/multiline5.txt', new Nop()]; } /** @@ -56,9 +54,6 @@ public static function provideDataForProperty(): Iterator $property = self::createPublicPropertyUnderClass('anotherProperty'); yield [__DIR__ . '/Source/Multiline/assert_serialize.txt', $property]; - $property = self::createPublicPropertyUnderClass('anotherSerializeSingleLine'); - yield [__DIR__ . '/Source/Multiline/assert_serialize_single_line.txt', $property]; - $property = self::createPublicPropertyUnderClass('someProperty'); yield [__DIR__ . '/Source/Multiline/multiline6.txt', $property]; diff --git a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/assert_serialize_single_line.txt b/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/assert_serialize_single_line.txt deleted file mode 100644 index 3912c81150b..00000000000 --- a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/assert_serialize_single_line.txt +++ /dev/null @@ -1,5 +0,0 @@ -/** - * @Assert\Type( - * "bool" - * ) - */ diff --git a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline4.txt b/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline4.txt deleted file mode 100644 index aeacd733009..00000000000 --- a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline4.txt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @return string|null Also if we do the check in the self::execute method, - * allow for null to make PHPStan pass - */ diff --git a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline5.txt b/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline5.txt deleted file mode 100644 index b8472cd2093..00000000000 --- a/packages-tests/BetterPhpDocParser/PhpDocInfo/PhpDocInfoPrinter/Source/Multiline/multiline5.txt +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @deprecated Also if we do the check in the self::execute method, - * allow for null to make PHPStan pass - */