Passed
Pull Request — master (#409)
by Sergei
02:53
created
src/Rule/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  *
20 20
  * @psalm-import-type WhenType from WhenInterface
21 21
  */
22
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
22
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
23 23
 final class Json implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
24 24
 {
25 25
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Each.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
  *
24 24
  * @psalm-import-type WhenType from WhenInterface
25 25
  */
26
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
26
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
27 27
 final class Each implements
28 28
     RuleWithOptionsInterface,
29 29
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/Count.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
  *
24 24
  * @psalm-import-type WhenType from WhenInterface
25 25
  */
26
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
26
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
27 27
 final class Count implements
28 28
     RuleWithOptionsInterface,
29 29
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/Nested.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
  *
39 39
  * @psalm-import-type WhenType from WhenInterface
40 40
  */
41
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
41
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
42 42
 final class Nested implements
43 43
     RuleWithOptionsInterface,
44 44
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/Url.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
  *
26 26
  * @psalm-import-type WhenType from WhenInterface
27 27
  */
28
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
28
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
29 29
 final class Url implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
30 30
 {
31 31
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/In.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  *
22 22
  * @psalm-import-type WhenType from WhenInterface
23 23
  */
24
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
24
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
25 25
 final class In implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
26 26
 {
27 27
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/IsTrue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  *
22 22
  * @psalm-import-type WhenType from WhenInterface
23 23
  */
24
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
24
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
25 25
 final class IsTrue implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
26 26
 {
27 27
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/NotEqual.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @psalm-import-type WhenType from WhenInterface
23 23
  */
24
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
24
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
25 25
 final class NotEqual extends Compare
26 26
 {
27 27
     public function __construct(
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
             message: $this->message,
70 70
             type: $this->type,
71 71
             operator: $this->strict ? '!==' : '!=',
72
-            skipOnEmpty: $skipOnEmpty,
73
-            skipOnError: $this->skipOnError,
74
-            when: $this->when,
72
+            skipOnEmpty : $skipOnEmpty,
73
+            skipOnError : $this->skipOnError,
74
+            when : $this->when,
75 75
         );
76 76
     }
77 77
 
Please login to merge, or discard this patch.
src/Rule/Required.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  * @psalm-type EmptyCriteriaType = callable(mixed,bool):bool
20 20
  * @psalm-import-type WhenType from WhenInterface
21 21
  */
22
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
22
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
23 23
 final class Required implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface
24 24
 {
25 25
     use SkipOnErrorTrait;
Please login to merge, or discard this patch.