Passed
Push — master ( 8a9d4e...d37094 )
by
unknown
03:01
created
src/Rule/NotEqual.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  * are checked byte by byte. When validating numbers, make sure to change {@see NotEqual::$type} to
20 20
  * {@see NotEqual::TYPE_NUMBER} to enable numeric validation.
21 21
  */
22
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
22
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
23 23
 final class NotEqual extends Compare
24 24
 {
25 25
     public function __construct(
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
             message: $this->message,
68 68
             type: $this->type,
69 69
             operator: $this->strict ? '!==' : '!=',
70
-            skipOnEmpty: $skipOnEmpty,
71
-            skipOnError: $this->skipOnError,
72
-            when: $this->when,
70
+            skipOnEmpty : $skipOnEmpty,
71
+            skipOnError : $this->skipOnError,
72
+            when : $this->when,
73 73
         );
74 74
     }
75 75
 
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 SerializableRuleInterface, 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 SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
26 26
 {
27 27
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Rule/CompareTo.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
  * are compared byte by byte. When comparing numbers, make sure to change {@see CompareTo::$type} to
20 20
  * {@see CompareTo::TYPE_NUMBER} to enable numeric comparison.
21 21
  */
22
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
22
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
23 23
 final class CompareTo extends Compare
24 24
 {
25 25
     public function getName(): string
Please login to merge, or discard this patch.
src/Rule/LessThanOrEqual.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
  * are checked byte by byte. When validating numbers, make sure to change {@see LessThanOrEqual::$type} to
20 20
  * {@see LessThanOrEqual::TYPE_NUMBER} to enable numeric validation.
21 21
  */
22
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
22
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
23 23
 final class LessThanOrEqual extends Compare
24 24
 {
25 25
     public function __construct(
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
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  *
21 21
  * @see IsTrueHandler
22 22
  */
23
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
23
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
24 24
 final class IsTrue implements SerializableRuleInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
25 25
 {
26 26
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.
src/Helper/ObjectParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
 
31 31
     public function __construct(
32 32
         private object $object,
33
-        private int $propertyVisibility = ReflectionProperty::IS_PRIVATE |
34
-        ReflectionProperty::IS_PROTECTED |
33
+        private int $propertyVisibility = ReflectionProperty::IS_PRIVATE|
34
+        ReflectionProperty::IS_PROTECTED|
35 35
         ReflectionProperty::IS_PUBLIC,
36 36
         private bool $skipStaticProperties = false,
37 37
         bool $useCache = true
Please login to merge, or discard this patch.
src/DataSet/ObjectDataSet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 
24 24
     public function __construct(
25 25
         private object $object,
26
-        int $propertyVisibility = ReflectionProperty::IS_PRIVATE |
27
-        ReflectionProperty::IS_PROTECTED |
26
+        int $propertyVisibility = ReflectionProperty::IS_PRIVATE|
27
+        ReflectionProperty::IS_PROTECTED|
28 28
         ReflectionProperty::IS_PUBLIC,
29 29
         bool $useCache = true
30 30
     ) {
Please login to merge, or discard this patch.
config/common.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
     RuleHandlerResolverInterface::class => SimpleRuleHandlerContainer::class,
24 24
     'yii.validator.categorySource' => [
25
-        'definition' => static function (IdMessageReader $idMessageReader) use ($params): CategorySource {
25
+        'definition' => static function(IdMessageReader $idMessageReader) use ($params): CategorySource {
26 26
             return new CategorySource(
27 27
                 $params['yiisoft/validator']['translation.category'],
28 28
                 $idMessageReader,
Please login to merge, or discard this patch.