Passed
Push — main ( 9f091b...38ffde )
by Breno
01:37
created
src/RuleSet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /** @inheritDoc */
55 55
     public function validate(mixed $input, array $context = []): ErrorReporting
56 56
     {
57
-        if (! $this->shouldValidate($input)) {
57
+        if (!$this->shouldValidate($input)) {
58 58
             return ErrorReporting::success();
59 59
         }
60 60
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
     private function stopSign(Rule $rule, Result $result): int
80 80
     {
81
-        if (! $rule instanceof Stoppable) {
81
+        if (!$rule instanceof Stoppable) {
82 82
             return Stoppable::DONT_STOP;
83 83
         }
84 84
 
Please login to merge, or discard this patch.
src/StopOnFailure.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
     protected function setStopSign(int $stopSign): void
21 21
     {
22
-        if (! in_array($stopSign, [Stoppable::DONT_STOP, Stoppable::ALL, Stoppable::SAME_FIELD])) {
22
+        if (!in_array($stopSign, [Stoppable::DONT_STOP, Stoppable::ALL, Stoppable::SAME_FIELD])) {
23 23
             throw new InvalidArgumentException(sprintf('Invalid stop sign (%s)', $stopSign));
24 24
         }
25 25
 
Please login to merge, or discard this patch.
src/Rules/UseRuleSet.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
     use BelongsToField, StopOnFailure, Priority;
21 21
 
22 22
     public function __construct(
23
-        private object|string $objectOrClass,
23
+        private object | string $objectOrClass,
24 24
         private string $property,
25 25
         int $stopOnFailure = Stoppable::DONT_STOP,
26 26
         int $priority = Prioritable::LOWEST_PRIORITY
Please login to merge, or discard this patch.