Skip to content

Commit 640f23d

Browse files
committed
fixed codestyle
1 parent 8b758e8 commit 640f23d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Playwright.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ public function _before(TestInterface $test): void
7373
$this->testId = uniqid();
7474
$this->currentTest = null;
7575
$this->testHasFailed = false;
76-
$this->sendCommand('before', [
76+
$this->sendCommand(
77+
'before',
78+
[
7779
'id' => $this->testId,
7880
'title' => $test->getMetadata()->getName(),
7981
],
@@ -97,11 +99,10 @@ public function _after(TestInterface $test): void
9799
], 'hook');
98100

99101
if ($this->currentTest) {
100-
101102
$this->debugSection('Test', $this->currentTest);
102103

103104
if (isset($this->currentTest['artifacts'])) {
104-
foreach ($this->currentTest['artifacts'] as $artifact => $file) {
105+
foreach ($this->currentTest['artifacts'] as $artifact => $file) {
105106
$test->getMetadata()->addReport($artifact, $file);
106107
}
107108
}

0 commit comments

Comments
 (0)