Passed
Push — develop ( 35f684...01ef3d )
by Andrew
33:06 queued 27:47
created
src/services/ServicesTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
         // Constants aren't allowed in traits until PHP >= 8.2
40 40
         $majorVersion = '3';
41 41
         // Dev server container name & port are based on the major version of this plugin
42
-        $devPort = 3000 + (int)$majorVersion;
43
-        $versionName = 'v' . $majorVersion;
42
+        $devPort = 3000 + (int) $majorVersion;
43
+        $versionName = 'v'.$majorVersion;
44 44
         // Merge in the passed config, so it our config can be overridden by Plugins::pluginConfigs['vite']
45 45
         // ref: https://github.com/craftcms/cms/issues/1989
46 46
         $config = ArrayHelper::merge([
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
                     'assetClass' => RetourAsset::class,
54 54
                     'checkDevServer' => true,
55 55
                     'class' => VitePluginService::class,
56
-                    'devServerInternal' => 'http://craft-retour-' . $versionName . '-buildchain-dev:' . $devPort,
57
-                    'devServerPublic' => 'http://localhost:' . $devPort,
56
+                    'devServerInternal' => 'http://craft-retour-'.$versionName.'-buildchain-dev:'.$devPort,
57
+                    'devServerPublic' => 'http://localhost:'.$devPort,
58 58
                     'errorEntry' => 'src/js/Retour.js',
59 59
                     'useDevServer' => true,
60 60
                 ],
Please login to merge, or discard this patch.