@@ -22,7 +22,7 @@ protected function getReader(DocParser $parser = null)
22
22
return new AnnotationReader ($ parser );
23
23
}
24
24
25
- public function testMethodAnnotationFromTrait ()
25
+ public function testMethodAnnotationFromTrait () : void
26
26
{
27
27
$ reader = $ this ->getReader ();
28
28
$ ref = new \ReflectionClass (Fixtures \ClassUsesTrait::class);
@@ -34,7 +34,7 @@ public function testMethodAnnotationFromTrait()
34
34
self ::assertInstanceOf (Fixtures \Annotation \Autoload::class, $ annotations [0 ]);
35
35
}
36
36
37
- public function testMethodAnnotationFromOverwrittenTrait ()
37
+ public function testMethodAnnotationFromOverwrittenTrait () : void
38
38
{
39
39
$ reader = $ this ->getReader ();
40
40
$ ref = new \ReflectionClass (Fixtures \ClassOverwritesTrait::class);
@@ -43,7 +43,7 @@ public function testMethodAnnotationFromOverwrittenTrait()
43
43
self ::assertInstanceOf (Bar2 \Autoload::class, $ annotations [0 ]);
44
44
}
45
45
46
- public function testPropertyAnnotationFromTrait ()
46
+ public function testPropertyAnnotationFromTrait () : void
47
47
{
48
48
$ reader = $ this ->getReader ();
49
49
$ ref = new \ReflectionClass (Fixtures \ClassUsesTrait::class);
@@ -55,7 +55,7 @@ public function testPropertyAnnotationFromTrait()
55
55
self ::assertInstanceOf (Fixtures \Annotation \Autoload::class, $ annotations [0 ]);
56
56
}
57
57
58
- public function testOmitNotRegisteredAnnotation ()
58
+ public function testOmitNotRegisteredAnnotation () : void
59
59
{
60
60
$ parser = new DocParser ();
61
61
$ parser ->setIgnoreNotImportedAnnotations (true );
@@ -72,7 +72,7 @@ public function testOmitNotRegisteredAnnotation()
72
72
*
73
73
* @runInSeparateProcess
74
74
*/
75
- public function testClassAnnotationIsIgnored ()
75
+ public function testClassAnnotationIsIgnored () : void
76
76
{
77
77
$ reader = $ this ->getReader ();
78
78
$ ref = new \ReflectionClass (AnnotatedAtClassLevel::class);
@@ -87,7 +87,7 @@ public function testClassAnnotationIsIgnored()
87
87
*
88
88
* @runInSeparateProcess
89
89
*/
90
- public function testMethodAnnotationIsIgnored ()
90
+ public function testMethodAnnotationIsIgnored () : void
91
91
{
92
92
$ reader = $ this ->getReader ();
93
93
$ ref = new \ReflectionClass (AnnotatedAtMethodLevel::class);
@@ -102,7 +102,7 @@ public function testMethodAnnotationIsIgnored()
102
102
*
103
103
* @runInSeparateProcess
104
104
*/
105
- public function testPropertyAnnotationIsIgnored ()
105
+ public function testPropertyAnnotationIsIgnored () : void
106
106
{
107
107
$ reader = $ this ->getReader ();
108
108
$ ref = new \ReflectionClass (AnnotatedAtPropertyLevel::class);
@@ -112,7 +112,7 @@ public function testPropertyAnnotationIsIgnored()
112
112
self ::assertEmpty ($ reader ->getPropertyAnnotations ($ ref ->getProperty ('property ' )));
113
113
}
114
114
115
- public function testClassWithFullPathUseStatement ()
115
+ public function testClassWithFullPathUseStatement () : void
116
116
{
117
117
if (class_exists (SingleUseAnnotation::class, false )) {
118
118
throw new \LogicException (
0 commit comments