Completed
Push — develop ( 323919...323bfc )
by Neomerx
15:34 queued 11:51
created
src/Validation/JsonApi/Rules/IsReadableViaApiRule.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Rules;
4 4
 
@@ -75,12 +75,11 @@  discard block
 block discarded – undo
75 75
         /** @var CrudInterface $api */
76 76
         $api = $apiFactory->createApi($apiClass);
77 77
 
78
-        $data   = $api->withIndexFilter((string)$value)->indexIdentities();
78
+        $data   = $api->withIndexFilter((string) $value)->indexIdentities();
79 79
         $result = !empty($data);
80 80
 
81 81
         return $result === true ?
82
-            static::createSuccessReply($value) :
83
-            static::createErrorReply(
82
+            static::createSuccessReply($value) : static::createErrorReply(
84 83
                 $context,
85 84
                 $value,
86 85
                 ErrorCodes::EXIST_IN_DATABASE_SINGLE,
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/ToManyRelationshipTypeCheckerRule.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Rules;
4 4
 
@@ -74,8 +74,7 @@  discard block
 block discarded – undo
74 74
         }
75 75
 
76 76
         $reply = $foundInvalidType === null ?
77
-            static::createSuccessReply($indexes) :
78
-            static::createErrorReply(
77
+            static::createSuccessReply($indexes) : static::createErrorReply(
79 78
                 $context,
80 79
                 $foundInvalidType,
81 80
                 ErrorCodes::INVALID_RELATIONSHIP_TYPE,
Please login to merge, or discard this patch.
src/Validation/JsonApi/Rules/AreReadableViaApiRule.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\JsonApi\Rules;
4 4
 
@@ -85,8 +85,7 @@  discard block
 block discarded – undo
85 85
         }
86 86
 
87 87
         return $result === true ?
88
-            static::createSuccessReply($values) :
89
-            static::createErrorReply(
88
+            static::createSuccessReply($values) : static::createErrorReply(
90 89
                 $context,
91 90
                 $values,
92 91
                 ErrorCodes::EXIST_IN_DATABASE_MULTIPLE,
Please login to merge, or discard this patch.
src/Validation/Rules/ApiRulesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\Rules;
4 4
 
Please login to merge, or discard this patch.
src/Validation/Rules/RelationshipRulesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Validation\Rules;
4 4
 
Please login to merge, or discard this patch.
src/L10n/Messages.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\L10n;
4 4
 
Please login to merge, or discard this patch.
src/Exceptions/InvalidArgumentException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Exceptions;
4 4
 
Please login to merge, or discard this patch.
src/Exceptions/InvalidSchemaFactoryException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Exceptions;
4 4
 
Please login to merge, or discard this patch.
src/Exceptions/InvalidQueryParametersException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare (strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Limoncello\Flute\Exceptions;
4 4
 
Please login to merge, or discard this patch.