Passed
Pull Request — master (#1299)
by Tarmo
07:08
created
src/Validator/Constraints/Timezone.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Validator/Constraints/Timezone.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/Locale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Validator/Constraints/Locale.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/LocaleValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Validator/Constraints/LocaleValidator.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/Language.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Validator/Constraints/Language.php
5 5
  *
Please login to merge, or discard this patch.
src/Utils/JSON.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Utils/JSON.php
5 5
  *
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $options ??= 0;
44 44
         $depth ??= 512;
45 45
 
46
-        $output = json_encode($input, JSON_THROW_ON_ERROR | $options, $depth);
46
+        $output = json_encode($input, JSON_THROW_ON_ERROR|$options, $depth);
47 47
 
48 48
         return (string)$output;
49 49
     }
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
         $depth ??= 512;
71 71
         $options ??= 0;
72 72
 
73
-        return json_decode($json, $assoc, $depth, JSON_THROW_ON_ERROR | $options);
73
+        return json_decode($json, $assoc, $depth, JSON_THROW_ON_ERROR|$options);
74 74
     }
75 75
 }
Please login to merge, or discard this patch.
src/Rest/ControllerCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Rest/ControllerCollection.php
5 5
  *
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function filter(string $className): Closure
52 52
     {
53
-        return static fn (ControllerInterface $restController): bool => $restController instanceof $className;
53
+        return static fn(ControllerInterface $restController): bool => $restController instanceof $className;
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
src/Controller/Profile/RolesController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Controller/Profile/RolesController.php
5 5
  *
Please login to merge, or discard this patch.
src/Controller/Profile/GroupsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Controller/Profile/GroupsController.php
5 5
  *
Please login to merge, or discard this patch.
src/Controller/Profile/IndexController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Controller/Profile/IndexController.php
5 5
  *
Please login to merge, or discard this patch.