Passed
Push — master ( 117826...422322 )
by Craig
06:26
created
src/system/ThemeModule/EventListener/AddWebPackAssetsListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,13 +84,13 @@
 block discarded – undo
84 84
         $webPackCssFiles = $this->lookupCollection->getEntrypointLookup($this->entryPoint)
85 85
             ->getCssFiles($this->entryName);
86 86
         $cssFiles = array_flip($webPackCssFiles);
87
-        array_walk($cssFiles, function (&$weight) { $weight += AssetBag::WEIGHT_WEBPACK_OFFSET; });
87
+        array_walk($cssFiles, function(&$weight) { $weight += AssetBag::WEIGHT_WEBPACK_OFFSET; });
88 88
         $this->cssAssetBag->add($cssFiles);
89 89
 
90 90
         $webPackJsFiles = $this->lookupCollection->getEntrypointLookup($this->entryPoint)
91 91
             ->getJavaScriptFiles($this->entryName);
92 92
         $jsFiles = array_flip($webPackJsFiles);
93
-        array_walk($jsFiles, function (&$weight) { $weight += AssetBag::WEIGHT_WEBPACK_OFFSET; });
93
+        array_walk($jsFiles, function(&$weight) { $weight += AssetBag::WEIGHT_WEBPACK_OFFSET; });
94 94
         $this->jsAssetBag->add($jsFiles);
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
src/Zikula/CoreInstallerBundle/Helper/ParameterHelper.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,8 @@
 block discarded – undo
170 170
                 continue;
171 171
             }
172 172
             $C = u($contents);
173
-            if (!$C->containsAny($publicPath)) { // check if replaced previously
173
+            if (!$C->containsAny($publicPath)) {
174
+// check if replaced previously
174 175
                 $success = file_put_contents($this->projectDir . $path, $C->replaceMatches($search[0], $search[1])->toString());
175 176
                 if (false === $success) {
176 177
                     throw new CannotWriteFileException(sprintf('Could not write to path %s, please check your file permissions.', $path));
Please login to merge, or discard this patch.