From 500fd2d8424ea1697fd6963975fe04cee0987488 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 26 Oct 2020 15:59:17 +0000 Subject: [PATCH] tests: strip useless phpdoc --- tests/phpunit/block/BlockTest.php | 2 -- tests/phpunit/item/ItemTest.php | 3 --- tests/phpunit/level/format/io/region/RegionLoaderTest.php | 4 ---- tests/phpunit/network/mcpe/StupidJsonDecodeTest.php | 1 - tests/phpunit/utils/ConfigTest.php | 1 - tests/phpunit/utils/UtilsTest.php | 1 - 6 files changed, 12 deletions(-) diff --git a/tests/phpunit/block/BlockTest.php b/tests/phpunit/block/BlockTest.php index 5dc6f944d..417e46177 100644 --- a/tests/phpunit/block/BlockTest.php +++ b/tests/phpunit/block/BlockTest.php @@ -110,8 +110,6 @@ class BlockTest extends TestCase{ /** * @dataProvider blockGetProvider - * @param int $id - * @param int $meta */ public function testBlockGet(int $id, int $meta) : void{ $block = BlockFactory::get($id, $meta); diff --git a/tests/phpunit/item/ItemTest.php b/tests/phpunit/item/ItemTest.php index 817840f6c..57a94ea6e 100644 --- a/tests/phpunit/item/ItemTest.php +++ b/tests/phpunit/item/ItemTest.php @@ -79,9 +79,6 @@ class ItemTest extends TestCase{ /** * @dataProvider itemFromStringProvider - * @param string $string - * @param int $id - * @param int $meta */ public function testFromStringSingle(string $string, int $id, int $meta) : void{ $item = ItemFactory::fromStringSingle($string); diff --git a/tests/phpunit/level/format/io/region/RegionLoaderTest.php b/tests/phpunit/level/format/io/region/RegionLoaderTest.php index 87145144c..0640f1858 100644 --- a/tests/phpunit/level/format/io/region/RegionLoaderTest.php +++ b/tests/phpunit/level/format/io/region/RegionLoaderTest.php @@ -82,8 +82,6 @@ class RegionLoaderTest extends TestCase{ /** * @dataProvider outOfBoundsCoordsProvider - * @param int $x - * @param int $z * * @throws ChunkException * @throws \InvalidArgumentException @@ -109,8 +107,6 @@ class RegionLoaderTest extends TestCase{ /** * @dataProvider outOfBoundsCoordsProvider - * @param int $x - * @param int $z * * @throws \InvalidArgumentException * @throws \pocketmine\level\format\io\exception\CorruptedChunkException diff --git a/tests/phpunit/network/mcpe/StupidJsonDecodeTest.php b/tests/phpunit/network/mcpe/StupidJsonDecodeTest.php index c290b65eb..b912c47ad 100644 --- a/tests/phpunit/network/mcpe/StupidJsonDecodeTest.php +++ b/tests/phpunit/network/mcpe/StupidJsonDecodeTest.php @@ -57,7 +57,6 @@ class StupidJsonDecodeTest extends TestCase{ /** * @dataProvider stupidJsonDecodeProvider * - * @param string $brokenJson * @param mixed $expect * * @throws \ReflectionException diff --git a/tests/phpunit/utils/ConfigTest.php b/tests/phpunit/utils/ConfigTest.php index 3e1487358..97d88a788 100644 --- a/tests/phpunit/utils/ConfigTest.php +++ b/tests/phpunit/utils/ConfigTest.php @@ -61,7 +61,6 @@ class ConfigTest extends TestCase{ /** * @dataProvider fixYamlIndexesProvider * - * @param string $test * @param mixed[] $expected */ public function testFixYamlIndexes(string $test, array $expected) : void{ diff --git a/tests/phpunit/utils/UtilsTest.php b/tests/phpunit/utils/UtilsTest.php index 8c49e567a..38357a96c 100644 --- a/tests/phpunit/utils/UtilsTest.php +++ b/tests/phpunit/utils/UtilsTest.php @@ -51,7 +51,6 @@ class UtilsTest extends TestCase{ } /** - * @param string $docComment * @dataProvider parseDocCommentNewlineProvider */ public function testParseDocCommentNewlines(string $docComment) : void{