Skip to content

Commit 45d820d

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent eeecbed commit 45d820d

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

src/Lighthouse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function run(): LighthouseResult
220220
$arguments = $this->lighthouseScriptArguments();
221221

222222
$command = [
223-
(new ExecutableFinder())->find('node', 'node', [
223+
(new ExecutableFinder)->find('node', 'node', [
224224
'/usr/local/bin',
225225
'/opt/homebrew/bin',
226226
]),

src/LighthouseResult.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
class LighthouseResult
1111
{
12-
public function __construct(protected array $rawResults = [])
13-
{
14-
}
12+
public function __construct(protected array $rawResults = []) {}
1513

1614
public function setJsonReport(array $jsonReport): self
1715
{

tests/LighthouseResultTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
});
180180

181181
it('can accept the json and html results', function () {
182-
$newLightHouseResult = (new LighthouseResult())
182+
$newLightHouseResult = (new LighthouseResult)
183183
->setHtmlReport($this->lighthouseResult->html())
184184
->setJsonReport($this->lighthouseResult->get());
185185

tests/LighthouseTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@
214214
expect($this->lighthouse->lighthouseScriptArguments('lighthouseConfig.settings.budgets'))->toEqual($budgets);
215215
});
216216

217-
218217
it('passes maxWaitForLoad to lighthouse script arguments', function () {
219218
$lighthouse = Lighthouse::url('https://example.com')
220219
->maxWaitForLoad(5000);

0 commit comments

Comments
 (0)