Skip to content

Commit b184c5e

Browse files
committed
Apply fixes from StyleCI
1 parent 791d44c commit b184c5e

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

src/Illuminate/Support/Testing/Fakes/QueueFake.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ public function push($job, $data = '', $queue = null)
359359
}
360360

361361
$this->jobs[is_object($job) ? get_class($job) : $job][] = [
362-
'job' => $this->serializeAndRestore ? $this->serializeAndRestoreJob($job) : $job,
362+
'job' => $this->serializeAndRestore ? $this->serializeAndRestoreJob($job) : $job,
363363
'queue' => $queue,
364364
'data' => $data,
365365
];

tests/Support/SupportArrTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function testDot()
118118
$this->assertSame([
119119
'user.name' => 'Taylor',
120120
'user.age' => 25,
121-
'user.languages.0' =>'PHP',
121+
'user.languages.0' => 'PHP',
122122
'user.languages.1' => 'C#',
123123
], $array);
124124

tests/Validation/ValidationValidatorTest.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,31 +1929,31 @@ public function testValidateInArray()
19291929
public function testValidateHexColor()
19301930
{
19311931
$trans = $this->getIlluminateArrayTranslator();
1932-
$v = new Validator($trans, ['color'=> '#FFF'], ['color'=>'hex_color']);
1932+
$v = new Validator($trans, ['color' => '#FFF'], ['color' => 'hex_color']);
19331933
$this->assertTrue($v->passes());
1934-
$v = new Validator($trans, ['color'=> '#FFFF'], ['color'=>'hex_color']);
1934+
$v = new Validator($trans, ['color' => '#FFFF'], ['color' => 'hex_color']);
19351935
$this->assertTrue($v->passes());
1936-
$v = new Validator($trans, ['color'=> '#FFFFFF'], ['color'=>'hex_color']);
1936+
$v = new Validator($trans, ['color' => '#FFFFFF'], ['color' => 'hex_color']);
19371937
$this->assertTrue($v->passes());
1938-
$v = new Validator($trans, ['color'=> '#FF000080'], ['color'=>'hex_color']);
1938+
$v = new Validator($trans, ['color' => '#FF000080'], ['color' => 'hex_color']);
19391939
$this->assertTrue($v->passes());
1940-
$v = new Validator($trans, ['color'=> '#FF000080'], ['color'=>'hex_color']);
1940+
$v = new Validator($trans, ['color' => '#FF000080'], ['color' => 'hex_color']);
19411941
$this->assertTrue($v->passes());
1942-
$v = new Validator($trans, ['color'=> '#00FF0080'], ['color'=>'hex_color']);
1942+
$v = new Validator($trans, ['color' => '#00FF0080'], ['color' => 'hex_color']);
19431943
$this->assertTrue($v->passes());
1944-
$v = new Validator($trans, ['color'=> '#GGG'], ['color'=>'hex_color']);
1944+
$v = new Validator($trans, ['color' => '#GGG'], ['color' => 'hex_color']);
19451945
$this->assertFalse($v->passes());
1946-
$v = new Validator($trans, ['color'=> '#GGGG'], ['color'=>'hex_color']);
1946+
$v = new Validator($trans, ['color' => '#GGGG'], ['color' => 'hex_color']);
19471947
$this->assertFalse($v->passes());
1948-
$v = new Validator($trans, ['color'=> '#123AB'], ['color'=>'hex_color']);
1948+
$v = new Validator($trans, ['color' => '#123AB'], ['color' => 'hex_color']);
19491949
$this->assertFalse($v->passes());
1950-
$v = new Validator($trans, ['color'=> '#GGGGGG'], ['color'=>'hex_color']);
1950+
$v = new Validator($trans, ['color' => '#GGGGGG'], ['color' => 'hex_color']);
19511951
$this->assertFalse($v->passes());
1952-
$v = new Validator($trans, ['color'=> '#GGGGGGG'], ['color'=>'hex_color']);
1952+
$v = new Validator($trans, ['color' => '#GGGGGGG'], ['color' => 'hex_color']);
19531953
$this->assertFalse($v->passes());
1954-
$v = new Validator($trans, ['color'=> '#FFGG00FF'], ['color'=>'hex_color']);
1954+
$v = new Validator($trans, ['color' => '#FFGG00FF'], ['color' => 'hex_color']);
19551955
$this->assertFalse($v->passes());
1956-
$v = new Validator($trans, ['color'=> '#00FF008X'], ['color'=>'hex_color']);
1956+
$v = new Validator($trans, ['color' => '#00FF008X'], ['color' => 'hex_color']);
19571957
$this->assertFalse($v->passes());
19581958
}
19591959

@@ -8662,10 +8662,10 @@ public function testExcludeBeforeADependentRule()
86628662
$this->getIlluminateArrayTranslator(),
86638663
[
86648664
'profile_id' => null,
8665-
'type' => 'denied',
8665+
'type' => 'denied',
86668666
],
86678667
[
8668-
'type' => ['required', 'string', 'exclude'],
8668+
'type' => ['required', 'string', 'exclude'],
86698669
'profile_id' => ['nullable', 'required_if:type,profile', 'integer'],
86708670
],
86718671
);
@@ -8677,10 +8677,10 @@ public function testExcludeBeforeADependentRule()
86778677
$this->getIlluminateArrayTranslator(),
86788678
[
86798679
'profile_id' => null,
8680-
'type' => 'profile',
8680+
'type' => 'profile',
86818681
],
86828682
[
8683-
'type' => ['required', 'string', 'exclude'],
8683+
'type' => ['required', 'string', 'exclude'],
86848684
'profile_id' => ['nullable', 'required_if:type,profile', 'integer'],
86858685
],
86868686
);

0 commit comments

Comments
 (0)