Passed
Push — master ( 21719d...7c0196 )
by Caen
03:52 queued 12s
created
packages/testing/src/TestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.
packages/testing/src/DuskTestCase.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.