Passed
Push — master ( 8d9fba...93c84e )
by Jakub
02:00
created
src/Annotations/IAnnotationsReaderEngine.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  */
11 11
 interface IAnnotationsReaderEngine
12 12
 {
13
-    public function hasAnnotation(string $name, string|object $class, string $method = null): bool;
13
+    public function hasAnnotation(string $name, string | object $class, string $method = null): bool;
14 14
 
15
-    public function getAnnotation(string $name, string|object $class, string $method = null): mixed;
15
+    public function getAnnotation(string $name, string | object $class, string $method = null): mixed;
16 16
 }
Please login to merge, or discard this patch.
tests/Annotations/DummyEngine.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
  */
12 12
 final class DummyEngine implements IAnnotationsReaderEngine
13 13
 {
14
-    public function hasAnnotation(string $name, string|object $class, string $method = null): bool
14
+    public function hasAnnotation(string $name, string | object $class, string $method = null): bool
15 15
     {
16 16
         return true;
17 17
     }
18 18
 
19
-    public function getAnnotation(string $name, string|object $class, string $method = null): mixed
19
+    public function getAnnotation(string $name, string | object $class, string $method = null): mixed
20 20
     {
21 21
         return "abc";
22 22
     }
Please login to merge, or discard this patch.
src/TestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Get name of a test suite
101 101
      */
102
-    protected function getSuiteName(string|object|null $class = null): string
102
+    protected function getSuiteName(string | object | null $class = null): string
103 103
     {
104 104
         $class = $class ?? static::class;
105 105
         $annotation = $this->annotationsReader->getAnnotation(static::ANNOTATION_TEST_SUITE, $class);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Get name for a job
114 114
      */
115
-    protected function getJobName(string|object $class, string $method): string
115
+    protected function getJobName(string | object $class, string $method): string
116 116
     {
117 117
         $annotation = $this->annotationsReader->getAnnotation(static::ANNOTATION_TEST, $class, $method);
118 118
         if ($annotation !== null) {
Please login to merge, or discard this patch.