Passed
Push — master ( 9fbb0c...66a263 )
by Caen
03:55 queued 13s
created
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/testing/src/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         parent::setUp();
27 27
 
28
-        if (! static::$booted) {
28
+        if (!static::$booted) {
29 29
             $this->resetApplication();
30 30
 
31 31
             static::$booted = true;
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/Support/Models/ValidationResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     public function failed(): bool
75 75
     {
76
-        return ! $this->passed;
76
+        return !$this->passed;
77 77
     }
78 78
 
79 79
     public function statusCode(): int
Please login to merge, or discard this patch.
packages/framework/src/Framework/Actions/BladeMatterParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
         $string = trim($string);
142 142
 
143 143
         // Check if string is an array
144
-        if (! static::isValueArrayString($string)) {
144
+        if (!static::isValueArrayString($string)) {
145 145
             throw new RuntimeException('Failed parsing BladeMatter array. Input string must follow array syntax.');
146 146
         }
147 147
 
Please login to merge, or discard this patch.
framework/src/Framework/Concerns/Internal/SetsUpMarkdownConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,14 +65,14 @@
 block discarded – undo
65 65
 
66 66
     protected function registerPreProcessor(string $class, bool $when = true): void
67 67
     {
68
-        if (! in_array($class, $this->preprocessors) && $when) {
68
+        if (!in_array($class, $this->preprocessors) && $when) {
69 69
             $this->preprocessors[] = $class;
70 70
         }
71 71
     }
72 72
 
73 73
     protected function registerPostProcessor(string $class, bool $when = true): void
74 74
     {
75
-        if (! in_array($class, $this->postprocessors) && $when) {
75
+        if (!in_array($class, $this->postprocessors) && $when) {
76 76
             $this->postprocessors[] = $class;
77 77
         }
78 78
     }
Please login to merge, or discard this patch.
framework/src/Framework/Features/XmlGenerators/BaseXmlGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     protected function escape(string $string): string
46 46
     {
47
-        return htmlspecialchars($string, ENT_XML1 | ENT_COMPAT, 'UTF-8');
47
+        return htmlspecialchars($string, ENT_XML1|ENT_COMPAT, 'UTF-8');
48 48
     }
49 49
 
50 50
     protected function addChild(SimpleXMLElement $element, string $name, string $value): SimpleXMLElement
Please login to merge, or discard this patch.
packages/framework/src/Framework/Concerns/InteractsWithFrontMatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,6 @@
 block discarded – undo
42 42
      */
43 43
     public function has(string $key): bool
44 44
     {
45
-        return ! blank($this->data($key));
45
+        return !blank($this->data($key));
46 46
     }
47 47
 }
Please login to merge, or discard this patch.