Skip to content

Commit 4bb5cbc

Browse files
committed
🎨 Format
1 parent 784fae3 commit 4bb5cbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/Integration/Routing/RoutingTestCase.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ class RoutingTestCase extends MockeryTestCase
1414
use SupportsScopedFixtures;
1515

1616
private $originalFunctionsContent;
17+
1718
private $functionsFile = '/roots/app/public/content/themes/sage/functions.php';
19+
1820
private $routesFile = '/roots/app/public/content/themes/sage/routes/web.php';
1921

2022
protected function setUp(): void
@@ -42,10 +44,10 @@ protected function setUp(): void
4244
// Backup original functions.php and add routing
4345
$this->originalFunctionsContent = file_get_contents($this->functionsFile);
4446

45-
if (!str_contains($this->originalFunctionsContent, 'withRouting')) {
47+
if (! str_contains($this->originalFunctionsContent, 'withRouting')) {
4648
$newContent = str_replace(
4749
'->boot();',
48-
'->withRouting(web: __DIR__ . \'/routes/web.php\')' . "\n ->boot();",
50+
'->withRouting(web: __DIR__ . \'/routes/web.php\')'."\n ->boot();",
4951
$this->originalFunctionsContent
5052
);
5153
file_put_contents($this->functionsFile, $newContent);

0 commit comments

Comments
 (0)