@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | { |
28 | 28 | parent::setUp(); |
29 | 29 | |
30 | - if (! static::$booted) { |
|
30 | + if (!static::$booted) { |
|
31 | 31 | $this->resetApplication(); |
32 | 32 | |
33 | - Hyde::macro('touch', function (string|array $path) { |
|
33 | + Hyde::macro('touch', function(string|array $path) { |
|
34 | 34 | if (is_array($path)) { |
35 | 35 | foreach ($path as $p) { |
36 | 36 | touch(Hyde::path($p)); |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | } |
41 | 41 | }); |
42 | 42 | |
43 | - Hyde::macro('unlink', function (string|array $path) { |
|
43 | + Hyde::macro('unlink', function(string|array $path) { |
|
44 | 44 | if (is_array($path)) { |
45 | 45 | foreach ($path as $p) { |
46 | 46 | unlink(Hyde::path($p)); |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | protected function setUp(): void |
23 | 23 | { |
24 | 24 | // \LaravelZero\Framework\Testing\TestCase instead \Illuminate\Foundation\Testing\TestCase |
25 | - if (! $this->app) { |
|
25 | + if (!$this->app) { |
|
26 | 26 | $this->refreshApplication(); |
27 | 27 | } |
28 | 28 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | Browser::$storeSourceAt = base_path('tests/Browser/source'); |
53 | 53 | |
54 | - Browser::$userResolver = function () { |
|
54 | + Browser::$userResolver = function() { |
|
55 | 55 | return $this->user(); |
56 | 56 | }; |
57 | 57 | } |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | public static function prepare() |
97 | 97 | { |
98 | - if (! static::runningInSail()) { |
|
98 | + if (!static::runningInSail()) { |
|
99 | 99 | static::startChromeDriver(); |
100 | 100 | } |
101 | 101 | } |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | { |
110 | 110 | $options = (new ChromeOptions)->addArguments(collect([ |
111 | 111 | $this->shouldStartMaximized() ? '--start-maximized' : '--window-size=1920,1080', |
112 | - ])->unless($this->hasHeadlessDisabled(), function ($items) { |
|
112 | + ])->unless($this->hasHeadlessDisabled(), function($items) { |
|
113 | 113 | return $items->merge([ |
114 | 114 | '--disable-gpu', |
115 | 115 | '--headless', |