tests: strip useless phpdoc

This commit is contained in:
Dylan K. Taylor 2020-10-26 15:59:17 +00:00
parent 0b550b346b
commit 500fd2d842
6 changed files with 0 additions and 12 deletions

View File

@ -110,8 +110,6 @@ class BlockTest extends TestCase{
/** /**
* @dataProvider blockGetProvider * @dataProvider blockGetProvider
* @param int $id
* @param int $meta
*/ */
public function testBlockGet(int $id, int $meta) : void{ public function testBlockGet(int $id, int $meta) : void{
$block = BlockFactory::get($id, $meta); $block = BlockFactory::get($id, $meta);

View File

@ -79,9 +79,6 @@ class ItemTest extends TestCase{
/** /**
* @dataProvider itemFromStringProvider * @dataProvider itemFromStringProvider
* @param string $string
* @param int $id
* @param int $meta
*/ */
public function testFromStringSingle(string $string, int $id, int $meta) : void{ public function testFromStringSingle(string $string, int $id, int $meta) : void{
$item = ItemFactory::fromStringSingle($string); $item = ItemFactory::fromStringSingle($string);

View File

@ -82,8 +82,6 @@ class RegionLoaderTest extends TestCase{
/** /**
* @dataProvider outOfBoundsCoordsProvider * @dataProvider outOfBoundsCoordsProvider
* @param int $x
* @param int $z
* *
* @throws ChunkException * @throws ChunkException
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
@ -109,8 +107,6 @@ class RegionLoaderTest extends TestCase{
/** /**
* @dataProvider outOfBoundsCoordsProvider * @dataProvider outOfBoundsCoordsProvider
* @param int $x
* @param int $z
* *
* @throws \InvalidArgumentException * @throws \InvalidArgumentException
* @throws \pocketmine\level\format\io\exception\CorruptedChunkException * @throws \pocketmine\level\format\io\exception\CorruptedChunkException

View File

@ -57,7 +57,6 @@ class StupidJsonDecodeTest extends TestCase{
/** /**
* @dataProvider stupidJsonDecodeProvider * @dataProvider stupidJsonDecodeProvider
* *
* @param string $brokenJson
* @param mixed $expect * @param mixed $expect
* *
* @throws \ReflectionException * @throws \ReflectionException

View File

@ -61,7 +61,6 @@ class ConfigTest extends TestCase{
/** /**
* @dataProvider fixYamlIndexesProvider * @dataProvider fixYamlIndexesProvider
* *
* @param string $test
* @param mixed[] $expected * @param mixed[] $expected
*/ */
public function testFixYamlIndexes(string $test, array $expected) : void{ public function testFixYamlIndexes(string $test, array $expected) : void{

View File

@ -51,7 +51,6 @@ class UtilsTest extends TestCase{
} }
/** /**
* @param string $docComment
* @dataProvider parseDocCommentNewlineProvider * @dataProvider parseDocCommentNewlineProvider
*/ */
public function testParseDocCommentNewlines(string $docComment) : void{ public function testParseDocCommentNewlines(string $docComment) : void{