Failed Conditions
Pull Request — master (#24)
by Adrien
03:04
created
src/Utility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @param class-string|object $object
17 17
      */
18
-    public static function getShortClassName(object|string $object): string
18
+    public static function getShortClassName(object | string $object): string
19 19
     {
20 20
         $reflect = new ReflectionClass($object);
21 21
 
Please login to merge, or discard this patch.
tests/Acl/DebugAclTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         self::assertSame(
168 168
             [
169 169
                 'privilege' => 'non-existing-privilege',
170
-                'allowed' => true,  // True because allowed via the `null` wildcard
170
+                'allowed' => true, // True because allowed via the `null` wildcard
171 171
                 'allowIf' => [],
172 172
                 'denyIf' => [],
173 173
             ],
Please login to merge, or discard this patch.
src/Api/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * @return ExecutionResult|ExecutionResult[]
53 53
      */
54
-    public function execute(ServerRequestInterface $request): array|ExecutionResult
54
+    public function execute(ServerRequestInterface $request): array | ExecutionResult
55 55
     {
56 56
         if (!$request->getParsedBody()) {
57 57
             /** @var array $parsedBody */
Please login to merge, or discard this patch.
src/Model/User.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
     /**
22 22
      * Returns the user role.
23 23
      */
24
-    public function getRole(): MultipleRoles|string;
24
+    public function getRole(): MultipleRoles | string;
25 25
 }
Please login to merge, or discard this patch.
src/Testing/Api/AbstractServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * @param ExecutionResult|ExecutionResult[] $result
110 110
      */
111
-    private function resultToArray(array|ExecutionResult $result): array
111
+    private function resultToArray(array | ExecutionResult $result): array
112 112
     {
113 113
         if (is_array($result)) {
114 114
             foreach ($result as &$one) {
Please login to merge, or discard this patch.
src/ORM/Query/NativeIn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  */
23 23
 class NativeIn extends FunctionNode
24 24
 {
25
-    private string|Node $field;
25
+    private string | Node $field;
26 26
 
27 27
     private Literal $nativeQuery;
28 28
 
Please login to merge, or discard this patch.
src/Api/Enum/PhpEnumType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  */
13 13
 final class PhpEnumType extends \GraphQL\Type\Definition\PhpEnumType
14 14
 {
15
-    protected function extractDescription(ReflectionClassConstant|ReflectionClass $reflection): ?string
15
+    protected function extractDescription(ReflectionClassConstant | ReflectionClass $reflection): ?string
16 16
     {
17 17
         if ($reflection instanceof ReflectionClassConstant) {
18 18
             $value = $reflection->getValue();
Please login to merge, or discard this patch.
src/DBAL/Types/EnumType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return $sql;
26 26
     }
27 27
 
28
-    public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null|string|BackedEnum
28
+    public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null | string | BackedEnum
29 29
     {
30 30
         if ($value === null || '' === $value) {
31 31
             return null;
Please login to merge, or discard this patch.
src/DBAL/Logging/Statement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         parent::__construct($statement);
24 24
     }
25 25
 
26
-    public function bindValue(int|string $param, mixed $value, ParameterType $type): void
26
+    public function bindValue(int | string $param, mixed $value, ParameterType $type): void
27 27
     {
28 28
         $this->params[$param] = $value;
29 29
 
Please login to merge, or discard this patch.