Completed
Push — master ( ee198e...323919 )
by Neomerx
02:19
created
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.
src/Contracts/Models/ModelStorageInterface.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -3,20 +3,20 @@
 block discarded – undo
3 3
 namespace Limoncello\Flute\Contracts\Models;
4 4
 
5 5
     /**
6
- * Copyright 2015-2019 [email protected]
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
6
+     * Copyright 2015-2019 [email protected]
7
+     *
8
+     * Licensed under the Apache License, Version 2.0 (the "License");
9
+     * you may not use this file except in compliance with the License.
10
+     * You may obtain a copy of the License at
11
+     *
12
+     * http://www.apache.org/licenses/LICENSE-2.0
13
+     *
14
+     * Unless required by applicable law or agreed to in writing, software
15
+     * distributed under the License is distributed on an "AS IS" BASIS,
16
+     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+     * See the License for the specific language governing permissions and
18
+     * limitations under the License.
19
+     */
20 20
 
21 21
 /**
22 22
  * @package Limoncello\Flute
Please login to merge, or discard this 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\Contracts\Models;
4 4
 
Please login to merge, or discard this patch.