Passed
Push — master ( 189a2d...83471e )
by Caen
03:39 queued 14s
created
config/torchlight.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
- /*
3
+    /*
4 4
 |--------------------------------------------------------------------------
5 5
 | Torchlight
6 6
 |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
packages/realtime-compiler/src/Concerns/InteractsWithLaravel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
     protected function bootApplication(): void
30 30
     {
31
-        if (! isset($this->laravel)) {
31
+        if (!isset($this->laravel)) {
32 32
             $this->createApplication();
33 33
         }
34 34
 
Please login to merge, or discard this patch.
packages/testing/src/DuskTestCase.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     protected function setUp(): void
22 22
     {
23 23
         // \LaravelZero\Framework\Testing\TestCase instead \Illuminate\Foundation\Testing\TestCase
24
-        if (! $this->app) {
24
+        if (!$this->app) {
25 25
             $this->refreshApplication();
26 26
         }
27 27
 
@@ -50,14 +50,14 @@  discard block
 block discarded – undo
50 50
 
51 51
         Browser::$storeSourceAt = base_path('tests/Browser/source');
52 52
 
53
-        Browser::$userResolver = function () {
53
+        Browser::$userResolver = function() {
54 54
             return $this->user();
55 55
         };
56 56
 
57
-        Browser::macro('storeSourceAsHtml', function ($name) {
57
+        Browser::macro('storeSourceAsHtml', function($name) {
58 58
             $source = $this->driver->getPageSource();
59 59
 
60
-            if (! empty($source)) {
60
+            if (!empty($source)) {
61 61
                 file_put_contents(
62 62
                     sprintf('%s/%s.html', rtrim(static::$storeSourceAt, '/'), $name), $source
63 63
                 );
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public static function prepare()
108 108
     {
109
-        if (! static::runningInSail()) {
109
+        if (!static::runningInSail()) {
110 110
             static::startChromeDriver();
111 111
         }
112 112
     }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     {
121 121
         $options = (new ChromeOptions)->addArguments(collect([
122 122
             $this->shouldStartMaximized() ? '--start-maximized' : '--window-size=1920,1080',
123
-        ])->unless($this->hasHeadlessDisabled(), function ($items) {
123
+        ])->unless($this->hasHeadlessDisabled(), function($items) {
124 124
             return $items->merge([
125 125
                 '--disable-gpu',
126 126
                 '--headless',
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Hyperlinks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
      */
178 178
     public function hasSiteUrl(): bool
179 179
     {
180
-        return ! blank(config('site.url'));
180
+        return !blank(config('site.url'));
181 181
     }
182 182
 
183 183
     /**
Please login to merge, or discard this patch.
packages/framework/src/Facades/Includes.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $path = static::path($filename);
26 26
 
27
-        if (! file_exists($path)) {
27
+        if (!file_exists($path)) {
28 28
             return $default;
29 29
         }
30 30
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $path = static::path(basename($filename, '.md').'.md');
38 38
 
39
-        if (! file_exists($path)) {
39
+        if (!file_exists($path)) {
40 40
             return $default === null ? null : Markdown::render($default);
41 41
         }
42 42
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $path = static::path(basename($filename, '.blade.php').'.blade.php');
50 50
 
51
-        if (! file_exists($path)) {
51
+        if (!file_exists($path)) {
52 52
             return $default === null ? null : Blade::render($default);
53 53
         }
54 54
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     protected static function needsDirectory(string $directory): void
59 59
     {
60
-        if (! file_exists($directory)) {
60
+        if (!file_exists($directory)) {
61 61
             mkdir($directory, recursive: true);
62 62
         }
63 63
     }
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Concerns/HandlesFoundationCollections.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 
150 150
     protected function needsToBeBooted(): void
151 151
     {
152
-        if (! $this->booted) {
152
+        if (!$this->booted) {
153 153
             $this->boot();
154 154
         }
155 155
     }
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         /*
18 18
          * Enable auto-discovery.
19 19
          */
20
-        $this->app->singleton(PackageManifest::class, function () {
20
+        $this->app->singleton(PackageManifest::class, function() {
21 21
             return new PackageManifest(
22 22
                 new Filesystem,
23 23
                 $this->basePath(),
Please login to merge, or discard this patch.
packages/framework/src/Foundation/PageCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function getPages(?string $pageClass = null): self
27 27
     {
28
-        return ! $pageClass ? $this : $this->filter(function (HydePage $page) use ($pageClass): bool {
28
+        return !$pageClass ? $this : $this->filter(function(HydePage $page) use ($pageClass) : bool {
29 29
             return $page instanceof $pageClass;
30 30
         });
31 31
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     protected function discoverPagesFor(string $pageClass): void
55 55
     {
56
-        $this->parsePagesFor($pageClass)->each(function ($page) {
56
+        $this->parsePagesFor($pageClass)->each(function($page) {
57 57
             $this->discover($page);
58 58
         });
59 59
     }
Please login to merge, or discard this patch.
packages/framework/src/Markdown/Processing/ShortcodeProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     public function processInput(): static
51 51
     {
52
-        $this->output = implode("\n", array_map(function ($line) {
52
+        $this->output = implode("\n", array_map(function($line) {
53 53
             return $this->expandShortcode($line);
54 54
         }, explode("\n", $this->input)));
55 55
 
Please login to merge, or discard this patch.