Passed
Push — master ( 3a5308...09664c )
by Vincent
02:32 queued 12s
created
src/Constraint/ContainsAtLeastOneConstraint.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
 namespace VGirol\JsonApiAssert\Constraint;
5 5
 
Please login to merge, or discard this patch.
src/Constraint/ContainsOnlyAllowedMembersConstraint.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
 namespace VGirol\JsonApiAssert\Constraint;
5 5
 
Please login to merge, or discard this patch.
src/Assert.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
 namespace VGirol\JsonApiAssert;
5 5
 
Please login to merge, or discard this patch.
src/Asserts/Structure/AssertStructure.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@
 block discarded – undo
73 73
      * "data", "errors", "meta", "jsonapi", "links", "included" (@see assertContainsOnlyAllowedMembers).
74 74
      * 4) if the json document does not contain a top-level "data" member, the "included" member must not
75 75
      * be present either.
76
-
77 76
      * @param array $json
78 77
      *
79 78
      * @return void
Please login to merge, or discard this patch.
_archives/InvalidArgumentException.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
 namespace VGirol\JsonApiAssert;
5 5
 
Please login to merge, or discard this patch.
src/Constraint/PaginationLinksEqualConstraint.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                  *
81 81
                  * @return bool
82 82
                  */
83
-                function ($value) {
83
+                function($value) {
84 84
                     return $value === false;
85 85
                 }
86 86
             )
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
              *
98 98
              * @return bool
99 99
              */
100
-            function ($value) {
100
+            function($value) {
101 101
                 return $value !== false;
102 102
             }
103 103
         );
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
              *
114 114
              * @return bool
115 115
              */
116
-            function ($value) {
116
+            function($value) {
117 117
                 return $value !== true;
118 118
             }
119 119
         );
Please login to merge, or discard this patch.
src/Constraint/AbstractConstraint.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
 namespace VGirol\JsonApiAssert\Constraint;
5 5
 
Please login to merge, or discard this patch.
src/Constraint/MemberNameConstraint.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
 namespace VGirol\JsonApiAssert\Constraint;
5 5
 
Please login to merge, or discard this patch.
src/Constraint/ConstraintContract.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
 namespace VGirol\JsonApiAssert\Constraint;
5 5
 
Please login to merge, or discard this patch.