Skip to content

Commit 44c0ac7

Browse files
TomasVotrubajaapio
authored andcommitted
[cs] remove unused imports, short array and order imports on tests
1 parent 6e5fc0c commit 44c0ac7

File tree

6 files changed

+4
-14
lines changed

6 files changed

+4
-14
lines changed

tests/integration/ReconstitutingADocBlockTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212

1313
namespace phpDocumentor\Reflection;
1414

15-
use phpDocumentor\Reflection\DocBlock\Description;
16-
use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
17-
use phpDocumentor\Reflection\DocBlock\Tag;
18-
use phpDocumentor\Reflection\DocBlock\Tags\See;
1915

2016
/**
2117
* @coversNothing

tests/integration/UsingTagsTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
namespace phpDocumentor\Reflection;
1414

1515
use phpDocumentor\Reflection\DocBlock\Description;
16-
use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
1716
use phpDocumentor\Reflection\DocBlock\Tag;
18-
use phpDocumentor\Reflection\DocBlock\Tags\See;
1917

2018
/**
2119
* @coversNothing

tests/unit/DocBlock/SerializerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
namespace phpDocumentor\Reflection\DocBlock;
1414

15-
use Mockery as m;
1615
use phpDocumentor\Reflection\DocBlock;
1716

1817
/**

tests/unit/DocBlock/Tags/Formatter/AlignFormatterTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ class AlignFormatterTest extends \PHPUnit_Framework_TestCase
3636
*/
3737
public function testFormatterCallsToStringAndReturnsAStandardRepresentation()
3838
{
39-
$tags = array(
39+
$tags = [
4040
new Param('foobar', new String_()),
4141
new Version('1.2.0'),
4242
new Link('http://www.example.com', new Description('Examples'))
43-
);
43+
];
4444
$fixture = new AlignFormatter($tags);
4545

46-
$expected = array(
46+
$expected = [
4747
'@param string $foobar',
4848
'@version 1.2.0',
4949
'@link http://www.example.com Examples'
50-
);
50+
];
5151

5252
foreach ($tags as $key => $tag) {
5353
$this->assertSame(

tests/unit/DocBlock/Tags/Formatter/PassthroughFormatterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
namespace phpDocumentor\Reflection\DocBlock\Tags\Formatter;
1414

15-
use Mockery as m;
1615
use phpDocumentor\Reflection\DocBlock\Description;
1716
use phpDocumentor\Reflection\DocBlock\Tags\Generic;
1817

tests/unit/DocBlock/Tags/SourceTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
use Mockery as m;
1616
use phpDocumentor\Reflection\DocBlock\Description;
1717
use phpDocumentor\Reflection\DocBlock\DescriptionFactory;
18-
use phpDocumentor\Reflection\TypeResolver;
1918
use phpDocumentor\Reflection\Types\Context;
20-
use phpDocumentor\Reflection\Types\String_;
2119

2220
/**
2321
* @coversDefaultClass \phpDocumentor\Reflection\DocBlock\Tags\Source

0 commit comments

Comments
 (0)