Skip to content

Commit ca606cb

Browse files
authored
Merge f043306 into 0eaccf7
2 parents 0eaccf7 + f043306 commit ca606cb

19 files changed

+146
-146
lines changed

tests/Doctrine/Tests/Annotations/AbstractReaderTest.php

Lines changed: 36 additions & 36 deletions
Large diffs are not rendered by default.

tests/Doctrine/Tests/Annotations/Annotation/TargetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TargetTest extends TestCase
1515
/**
1616
* @group DDC-3006
1717
*/
18-
public function testValidMixedTargets()
18+
public function testValidMixedTargets() : void
1919
{
2020
$target = new Target(['value' => ['ALL']]);
2121
self::assertEquals(Target::TARGET_ALL, $target->targets);

tests/Doctrine/Tests/Annotations/AnnotationReaderTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ protected function getReader(DocParser $parser = null)
2222
return new AnnotationReader($parser);
2323
}
2424

25-
public function testMethodAnnotationFromTrait()
25+
public function testMethodAnnotationFromTrait() : void
2626
{
2727
$reader = $this->getReader();
2828
$ref = new \ReflectionClass(Fixtures\ClassUsesTrait::class);
@@ -34,7 +34,7 @@ public function testMethodAnnotationFromTrait()
3434
self::assertInstanceOf(Fixtures\Annotation\Autoload::class, $annotations[0]);
3535
}
3636

37-
public function testMethodAnnotationFromOverwrittenTrait()
37+
public function testMethodAnnotationFromOverwrittenTrait() : void
3838
{
3939
$reader = $this->getReader();
4040
$ref = new \ReflectionClass(Fixtures\ClassOverwritesTrait::class);
@@ -43,7 +43,7 @@ public function testMethodAnnotationFromOverwrittenTrait()
4343
self::assertInstanceOf(Bar2\Autoload::class, $annotations[0]);
4444
}
4545

46-
public function testPropertyAnnotationFromTrait()
46+
public function testPropertyAnnotationFromTrait() : void
4747
{
4848
$reader = $this->getReader();
4949
$ref = new \ReflectionClass(Fixtures\ClassUsesTrait::class);
@@ -55,7 +55,7 @@ public function testPropertyAnnotationFromTrait()
5555
self::assertInstanceOf(Fixtures\Annotation\Autoload::class, $annotations[0]);
5656
}
5757

58-
public function testOmitNotRegisteredAnnotation()
58+
public function testOmitNotRegisteredAnnotation() : void
5959
{
6060
$parser = new DocParser();
6161
$parser->setIgnoreNotImportedAnnotations(true);
@@ -72,7 +72,7 @@ public function testOmitNotRegisteredAnnotation()
7272
*
7373
* @runInSeparateProcess
7474
*/
75-
public function testClassAnnotationIsIgnored()
75+
public function testClassAnnotationIsIgnored() : void
7676
{
7777
$reader = $this->getReader();
7878
$ref = new \ReflectionClass(AnnotatedAtClassLevel::class);
@@ -87,7 +87,7 @@ public function testClassAnnotationIsIgnored()
8787
*
8888
* @runInSeparateProcess
8989
*/
90-
public function testMethodAnnotationIsIgnored()
90+
public function testMethodAnnotationIsIgnored() : void
9191
{
9292
$reader = $this->getReader();
9393
$ref = new \ReflectionClass(AnnotatedAtMethodLevel::class);
@@ -102,7 +102,7 @@ public function testMethodAnnotationIsIgnored()
102102
*
103103
* @runInSeparateProcess
104104
*/
105-
public function testPropertyAnnotationIsIgnored()
105+
public function testPropertyAnnotationIsIgnored() : void
106106
{
107107
$reader = $this->getReader();
108108
$ref = new \ReflectionClass(AnnotatedAtPropertyLevel::class);
@@ -112,7 +112,7 @@ public function testPropertyAnnotationIsIgnored()
112112
self::assertEmpty($reader->getPropertyAnnotations($ref->getProperty('property')));
113113
}
114114

115-
public function testClassWithFullPathUseStatement()
115+
public function testClassWithFullPathUseStatement() : void
116116
{
117117
if (class_exists(SingleUseAnnotation::class, false)) {
118118
throw new \LogicException(

0 commit comments

Comments
 (0)