Passed
Push — develop ( e9c211...a22e9f )
by Andrew
04:11
created
src/Vite.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         Event::on(
105 105
             CraftVariable::class,
106 106
             CraftVariable::EVENT_INIT,
107
-            function (Event $event) {
107
+            function(Event $event) {
108 108
                 /** @var CraftVariable $variable */
109 109
                 $variable = $event->sender;
110 110
                 $variable->set('vite', [
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         Event::on(
118 118
             ClearCaches::class,
119 119
             ClearCaches::EVENT_REGISTER_CACHE_OPTIONS,
120
-            function (RegisterCacheOptionsEvent $event) {
120
+            function(RegisterCacheOptionsEvent $event) {
121 121
                 Craft::debug(
122 122
                     'ClearCaches::EVENT_REGISTER_CACHE_OPTIONS',
123 123
                     __METHOD__
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         // delay attaching event handler to the view component after it is fully configured
133 133
         $app = Craft::$app;
134 134
         if ($app->getConfig()->getGeneral()->devMode) {
135
-            $app->on(Application::EVENT_BEFORE_REQUEST, function () use ($app) {
135
+            $app->on(Application::EVENT_BEFORE_REQUEST, function() use ($app) {
136 136
                 $app->getView()->on(View::EVENT_END_BODY, [$this, 'injectErrorEntry']);
137 137
             });
138 138
         }
Please login to merge, or discard this patch.
src/config.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
 
27 27
 return [
28 28
 
29
-   /**
30
-    * @var bool Should the dev server be used?
31
-    */
29
+    /**
30
+     * @var bool Should the dev server be used?
31
+     */
32 32
     'useDevServer' => App::env('DEV_MODE'),
33 33
 
34 34
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * @var string The public URL to use when not using the dev server
52 52
      */
53
-    'serverPublic' => App::env('SITE_URL') . '/dist/',
53
+    'serverPublic' => App::env('SITE_URL').'/dist/',
54 54
 
55 55
     /**
56 56
      * @var string The JavaScript entry from the manifest.json to inject on Twig error pages
Please login to merge, or discard this patch.