Test Failed
Pull Request — master (#1190)
by butschster
10:27
created
src/Tokenizer/src/ScopedEnumsInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
      *
17 17
      * @return \ReflectionEnum[]
18 18
      */
19
-    public function getScopedEnums(string $scope, object|string|null $target = null): array;
19
+    public function getScopedEnums(string $scope, object | string | null $target = null): array;
20 20
 }
Please login to merge, or discard this patch.
src/Tokenizer/src/ScopedEnumLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 {
9 9
     public function __construct(
10 10
         private readonly Tokenizer $tokenizer
11
-    ) {
11
+    ){
12 12
     }
13 13
 
14
-    public function getScopedEnums(string $scope, object|string|null $target = null): array
14
+    public function getScopedEnums(string $scope, object | string | null $target = null): array
15 15
     {
16 16
         return $this->tokenizer->scopedEnumLocator($scope)->getEnums($target);
17 17
     }
Please login to merge, or discard this patch.
src/Tokenizer/src/Listener/ListenerInvoker.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function invoke(TokenizationListenerInterface $listener, iterable $classes): void
18 18
     {
19
-        foreach ($classes as $class) {
19
+        foreach ($classes as $class){
20 20
             $listener->listen($class);
21 21
         }
22 22
     }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,8 @@
 block discarded – undo
16 16
      */
17 17
     public function invoke(TokenizationListenerInterface $listener, iterable $classes): void
18 18
     {
19
-        foreach ($classes as $class) {
19
+        foreach ($classes as $class)
20
+        {
20 21
             $listener->listen($class);
21 22
         }
22 23
     }
Please login to merge, or discard this patch.
src/Tokenizer/src/InterfacesInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,5 +21,5 @@
 block discarded – undo
21 21
      *                                  results.
22 22
      * @return array<class-string, ReflectionClass>
23 23
      */
24
-    public function getInterfaces(string|null $target = null): array;
24
+    public function getInterfaces(string | null $target = null): array;
25 25
 }
Please login to merge, or discard this patch.
src/Tokenizer/src/Listener/InterfaceLocatorByTarget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function __construct(
19 19
         private readonly InterfacesInterface $interfaces,
20 20
         private readonly ScopedInterfacesInterface $scopedInterfaces,
21
-    ) {
21
+    ){
22 22
     }
23 23
 
24 24
     /**
Please login to merge, or discard this patch.
src/Tokenizer/src/ScopedInterfacesInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
      *                            results.
18 18
      * @return \ReflectionClass[]
19 19
      */
20
-    public function getScopedInterfaces(string $scope, string|null $target = null): array;
20
+    public function getScopedInterfaces(string $scope, string | null $target = null): array;
21 21
 }
Please login to merge, or discard this patch.
src/Tokenizer/src/ScopedInterfaceLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 {
9 9
     public function __construct(
10 10
         private readonly Tokenizer $tokenizer
11
-    ) {
11
+    ){
12 12
     }
13 13
 
14
-    public function getScopedInterfaces(string $scope, string|null $target = null): array
14
+    public function getScopedInterfaces(string $scope, string | null $target = null): array
15 15
     {
16 16
         return $this->tokenizer->scopedInterfaceLocator($scope)->getInterfaces($target);
17 17
     }
Please login to merge, or discard this patch.
src/Tokenizer/src/InterfaceLocatorInjector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
     public function __construct(
18 18
         private readonly Tokenizer $tokenizer
19
-    ) {
19
+    ){
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
src/Tokenizer/src/Listener/CachedInterfacesLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         private readonly InterfaceLocatorByTarget $locator,
19 19
         ListenerInvoker $invoker,
20 20
         bool $readCache = true,
21
-    ) {
21
+    ){
22 22
         parent::__construct($reader, $memory, $invoker, $readCache);
23 23
     }
24 24
 
Please login to merge, or discard this patch.