Passed
Branch v5 (4370ce)
by Andrew
19:45 queued 13:35
created
Category
src/Vite.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         Event::on(
133 133
             CraftVariable::class,
134 134
             CraftVariable::EVENT_INIT,
135
-            function (Event $event) {
135
+            function(Event $event) {
136 136
                 /** @var CraftVariable $variable */
137 137
                 $variable = $event->sender;
138 138
                 $variable->set('vite', [
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         Event::on(
146 146
             ClearCaches::class,
147 147
             ClearCaches::EVENT_REGISTER_CACHE_OPTIONS,
148
-            function (RegisterCacheOptionsEvent $event) {
148
+            function(RegisterCacheOptionsEvent $event) {
149 149
                 Craft::debug(
150 150
                     'ClearCaches::EVENT_REGISTER_CACHE_OPTIONS',
151 151
                     __METHOD__
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         Event::on(
163 163
             View::class,
164 164
             View::EVENT_BEFORE_RENDER_PAGE_TEMPLATE,
165
-            static function (TemplateEvent $event) {
165
+            static function(TemplateEvent $event) {
166 166
                 self::$templateName = $event->template;
167 167
             }
168 168
         );
Please login to merge, or discard this patch.
src/services/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,12 +54,12 @@
 block discarded – undo
54 54
             $name = strstr($name, $dirPrefix);
55 55
             $pos = strpos($name, $dirPrefix);
56 56
             if ($pos !== false) {
57
-                $name = (string)substr_replace($name, '', $pos, strlen($dirPrefix));
57
+                $name = (string) substr_replace($name, '', $pos, strlen($dirPrefix));
58 58
             }
59 59
             $path = FileHelper::createUrl(
60 60
                     $settings->criticalPath,
61 61
                     $name
62
-                ) . $settings->criticalSuffix;
62
+                ).$settings->criticalSuffix;
63 63
 
64 64
             return $this->getCssInlineTags($path, $attributes);
65 65
         }
Please login to merge, or discard this patch.
src/config.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
      * @var string The public URL to use when not using the dev server
46 46
      */
47
-    'serverPublic' => App::env('PRIMARY_SITE_URL') . '/dist/',
47
+    'serverPublic' => App::env('PRIMARY_SITE_URL').'/dist/',
48 48
 
49 49
     /**
50 50
      * @var string|array The JavaScript entry from the manifest.json to inject on Twig error pages
Please login to merge, or discard this patch.
src/models/Settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * @var string|array The JavaScript entry from the manifest.json to inject on Twig error pages
47 47
      *              This can be a string or an array of strings
48 48
      */
49
-    public string|array $errorEntry = '';
49
+    public string | array $errorEntry = '';
50 50
 
51 51
     /**
52 52
      * @var string String to be appended to the cache key
Please login to merge, or discard this patch.