Skip to content

Commit 826dc40

Browse files
committed
style: apply latest changes of binary_operator_spaces fixer
1 parent 2f6f61a commit 826dc40

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/system/Validation/RulesTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,8 @@ public static function provideRequiredWithAndOtherRules(): iterable
823823
[true, ['mustBeADate' => []]],
824824
// `otherField` and `mustBeADate` exist
825825
[true, ['mustBeADate' => '', 'otherField' => '']],
826-
[true, ['mustBeADate' => '2023-06-12', 'otherField' => 'exists']],
827-
[true, ['mustBeADate' => '2023-06-12', 'otherField' => '']],
826+
[true, ['mustBeADate' => '2023-06-12', 'otherField' => 'exists']],
827+
[true, ['mustBeADate' => '2023-06-12', 'otherField' => '']],
828828
[false, ['mustBeADate' => '', 'otherField' => 'exists']],
829829
[false, ['mustBeADate' => [], 'otherField' => 'exists']],
830830
[false, ['mustBeADate' => null, 'otherField' => 'exists']],
@@ -854,7 +854,7 @@ public static function provideRequiredWithAndOtherRuleWithValueZero(): iterable
854854
{
855855
yield from [
856856
[true, ['married' => '0', 'partner_name' => '']],
857-
[true, ['married' => '1', 'partner_name' => 'Foo']],
857+
[true, ['married' => '1', 'partner_name' => 'Foo']],
858858
[false, ['married' => '1', 'partner_name' => '']],
859859
];
860860
}

tests/system/Validation/ValidationTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,13 +605,13 @@ public function testSetRuleWithCustomErrors(): void
605605
$this->validation->setRule(
606606
'foo',
607607
'Foo',
608-
['foo' => 'is_numeric'],
608+
['foo' => 'is_numeric'],
609609
['is_numeric' => 'Nope. Not a number.'],
610610
);
611611
$this->validation->setRule(
612612
'bar',
613613
'Bar',
614-
['bar' => 'is_numeric'],
614+
['bar' => 'is_numeric'],
615615
['is_numeric' => 'Nope. Not a number.'],
616616
);
617617
$result = $this->validation->run($data);
@@ -1497,13 +1497,13 @@ public static function provideIfExistRuleWithAsterisk(): iterable
14971497
yield 'dot-on-end-fail' => [
14981498
false,
14991499
['status.*' => 'if_exist|in_list[status_1,status_2]'],
1500-
['status' => ['bad-status']],
1500+
['status' => ['bad-status']],
15011501
];
15021502

15031503
yield 'dot-on-end-pass' => [
15041504
true,
15051505
['status.*' => 'if_exist|in_list[status_1,status_2]'],
1506-
['status' => ['status_1']],
1506+
['status' => ['status_1']],
15071507
];
15081508

15091509
yield 'dot-on-middle-fail' => [

0 commit comments

Comments
 (0)