Passed
Pull Request — master (#409)
by Sergei
02:53
created
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/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.
rector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Rector\Config\RectorConfig;
7 7
 use Rector\Set\ValueObject\LevelSetList;
8 8
 
9
-return static function (RectorConfig $rectorConfig): void {
9
+return static function(RectorConfig $rectorConfig): void {
10 10
     $rectorConfig->paths([
11 11
         __DIR__ . '/src',
12 12
         __DIR__ . '/tests',
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/GreaterThan.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 GreaterThan extends Compare
26 26
 {
27 27
     public function __construct(
Please login to merge, or discard this patch.
src/Rule/Equal.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 Equal 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/Subset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 /**
18 18
  * @psalm-import-type WhenType from WhenInterface
19 19
  */
20
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
20
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
21 21
 final class Subset implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
22 22
 {
23 23
     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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @psalm-import-type WhenType from WhenInterface
24 24
  */
25
-#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)]
25
+#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)]
26 26
 final class StopOnError implements RuleWithOptionsInterface, SkipOnErrorInterface, WhenInterface, SkipOnEmptyInterface
27 27
 {
28 28
     use SkipOnEmptyTrait;
Please login to merge, or discard this patch.