Passed
Push — develop ( 6426b3...59fb5f )
by Andrew
09:28 queued 04:49
created
src/services/ServicesTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
         // Constants aren't allowed in traits until PHP >= 8.2
37 37
         $majorVersion = '3';
38 38
         // Dev server container name & port are based on the major version of this plugin
39
-        $devPort = 3000 + (int)$majorVersion;
40
-        $versionName = 'v' . $majorVersion;
39
+        $devPort = 3000 + (int) $majorVersion;
40
+        $versionName = 'v'.$majorVersion;
41 41
         // Merge in the passed config, so it our config can be overridden by Plugins::pluginConfigs['vite']
42 42
         // ref: https://github.com/craftcms/cms/issues/1989
43 43
         $config = ArrayHelper::merge([
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
                     'class' => VitePluginService::class,
49 49
                     'assetClass' => TranscoderAsset::class,
50 50
                     'useDevServer' => true,
51
-                    'devServerInternal' => 'http://craft-transcoder-' . $versionName . '-buildchain-dev:' . $devPort,
52
-                    'devServerPublic' => 'http://localhost:' . $devPort,
51
+                    'devServerInternal' => 'http://craft-transcoder-'.$versionName.'-buildchain-dev:'.$devPort,
52
+                    'devServerPublic' => 'http://localhost:'.$devPort,
53 53
                     'errorEntry' => 'src/js/app.ts',
54 54
                     'checkDevServer' => true,
55 55
                 ],
Please login to merge, or discard this patch.