Skip to content

Commit 4496294

Browse files
authored
Merge pull request #88 from spatie/analysis-nNKbkA
Apply fixes from StyleCI
2 parents 35ce6ae + d189004 commit 4496294

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/MatchesSnapshots.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function markTestIncompleteIfSnapshotsHaveChanged()
3636
return;
3737
}
3838

39-
$formattedMessages = implode(PHP_EOL, array_map(fn(string $message) => "- {$message}", $this->snapshotChanges));
39+
$formattedMessages = implode(PHP_EOL, array_map(fn (string $message) => "- {$message}", $this->snapshotChanges));
4040

4141
$this->markTestIncomplete($formattedMessages);
4242
}

tests/Unit/Drivers/JsonDriverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function it_can_serialize_a_json_string_to_pretty_json()
1414
$driver = new JsonDriver();
1515

1616
$expected = implode(PHP_EOL, [
17-
'{',
17+
'{',
1818
' "foo": "bar"',
1919
'}',
2020
'',

tests/Unit/Drivers/YamlDriverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function it_can_serialize_a_yaml_array()
3030
'foo: bar',
3131
'baz: qux',
3232
'',
33-
]);
33+
]);
3434

3535
$this->assertEquals($expected, $driver->serialize([
3636
'foo' => 'bar',

0 commit comments

Comments
 (0)