Passed
Pull Request — master (#402)
by
unknown
03:08
created
src/Rule/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 /**
19 19
  * Validates that the value is a valid json.
20 20
  */
21
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
21
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
22 22
 final class Json implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
23 23
 {
24 24
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Ip.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
  * It also may change the value if normalization of IPv6 expansion is enabled.
27 27
  */
28
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
28
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
29 29
 final class Ip implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
30 30
 {
31 31
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Subset.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
 use Yiisoft\Validator\ValidationContext;
16 16
 use Yiisoft\Validator\WhenInterface;
17 17
 
18
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
18
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
19 19
 final class Subset implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
20 20
 {
21 21
     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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 /**
23 23
  * Validates an array by checking each of its elements against a set of rules.
24 24
  */
25
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
25
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
26 26
 final class Each implements
27 27
     RuleWithOptionsInterface,
28 28
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/AtLeast.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 AtLeast implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
24 24
 {
25 25
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/StopOnError.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
  * Can be used for validation of nested structures.
23 23
  */
24
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
24
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
25 25
 final class StopOnError implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
26 26
 {
27 27
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Callback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Yiisoft\Validator\ValidationContext;
19 19
 use Yiisoft\Validator\WhenInterface;
20 20
 
21
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
21
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
22 22
 final class Callback implements
23 23
     RuleWithOptionsInterface,
24 24
     SkipOnErrorInterface,
Please login to merge, or discard this patch.
src/Rule/Boolean.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 /**
19 19
  * Checks if the value is a boolean value or a value corresponding to it.
20 20
  */
21
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
21
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
22 22
 final class Boolean implements RuleWithOptionsInterface, SkipOnEmptyInterface, SkipOnErrorInterface, WhenInterface
23 23
 {
24 24
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/Composite.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
  * Allows to combine and validate multiple rules.
23 23
  */
24
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
24
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
25 25
 class Composite implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
26 26
 {
27 27
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.