diff --git a/tests/integration/ReconstitutingADocBlockTest.php b/tests/integration/ReconstitutingADocBlockTest.php index 92ac22e..008b221 100644 --- a/tests/integration/ReconstitutingADocBlockTest.php +++ b/tests/integration/ReconstitutingADocBlockTest.php @@ -12,10 +12,6 @@ namespace phpDocumentor\Reflection; -use phpDocumentor\Reflection\DocBlock\Description; -use phpDocumentor\Reflection\DocBlock\StandardTagFactory; -use phpDocumentor\Reflection\DocBlock\Tag; -use phpDocumentor\Reflection\DocBlock\Tags\See; /** * @coversNothing diff --git a/tests/integration/UsingTagsTest.php b/tests/integration/UsingTagsTest.php index 984811b..2205691 100644 --- a/tests/integration/UsingTagsTest.php +++ b/tests/integration/UsingTagsTest.php @@ -13,9 +13,7 @@ namespace phpDocumentor\Reflection; use phpDocumentor\Reflection\DocBlock\Description; -use phpDocumentor\Reflection\DocBlock\StandardTagFactory; use phpDocumentor\Reflection\DocBlock\Tag; -use phpDocumentor\Reflection\DocBlock\Tags\See; /** * @coversNothing diff --git a/tests/unit/DocBlock/SerializerTest.php b/tests/unit/DocBlock/SerializerTest.php index cb2b400..1bb296b 100644 --- a/tests/unit/DocBlock/SerializerTest.php +++ b/tests/unit/DocBlock/SerializerTest.php @@ -12,7 +12,6 @@ namespace phpDocumentor\Reflection\DocBlock; -use Mockery as m; use phpDocumentor\Reflection\DocBlock; /** diff --git a/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php b/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php index 22a019b..9ab42d1 100644 --- a/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php +++ b/tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php @@ -36,18 +36,18 @@ class AlignFormatterTest extends \PHPUnit_Framework_TestCase */ public function testFormatterCallsToStringAndReturnsAStandardRepresentation() { - $tags = array( + $tags = [ new Param('foobar', new String_()), new Version('1.2.0'), new Link('http://www.example.com', new Description('Examples')) - ); + ]; $fixture = new AlignFormatter($tags); - $expected = array( + $expected = [ '@param string $foobar', '@version 1.2.0', '@link http://www.example.com Examples' - ); + ]; foreach ($tags as $key => $tag) { $this->assertSame( diff --git a/tests/unit/DocBlock/Tags/Formatter/PassthroughFormatterTest.php b/tests/unit/DocBlock/Tags/Formatter/PassthroughFormatterTest.php index 461fb47..3745fe1 100644 --- a/tests/unit/DocBlock/Tags/Formatter/PassthroughFormatterTest.php +++ b/tests/unit/DocBlock/Tags/Formatter/PassthroughFormatterTest.php @@ -12,7 +12,6 @@ namespace phpDocumentor\Reflection\DocBlock\Tags\Formatter; -use Mockery as m; use phpDocumentor\Reflection\DocBlock\Description; use phpDocumentor\Reflection\DocBlock\Tags\Generic; diff --git a/tests/unit/DocBlock/Tags/SourceTest.php b/tests/unit/DocBlock/Tags/SourceTest.php index cbf01f6..f1fea49 100644 --- a/tests/unit/DocBlock/Tags/SourceTest.php +++ b/tests/unit/DocBlock/Tags/SourceTest.php @@ -15,9 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tags; use Mockery as m; use phpDocumentor\Reflection\DocBlock\Description; use phpDocumentor\Reflection\DocBlock\DescriptionFactory; -use phpDocumentor\Reflection\TypeResolver; use phpDocumentor\Reflection\Types\Context; -use phpDocumentor\Reflection\Types\String_; /** * @coversDefaultClass \phpDocumentor\Reflection\DocBlock\Tags\Source