Completed
Push — master ( 1de6e2...2a0597 )
by Dmitry
02:18
created
src/AssetBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
             $assetContent = $this->readFiles($assetFiles);
165 165
 
166 166
             // Вычисляем путь до файла куда будет сохранен asset
167
-            $assetSavePath = $this->manifest()->getAssetBasePathFromProjectRoot() . '/' . $assetName;
168
-            $assetWebPath  = $this->manifest()->getAssetBasePath() . '/' . $assetName;
167
+            $assetSavePath = $this->manifest()->getAssetBasePathFromProjectRoot().'/'.$assetName;
168
+            $assetWebPath  = $this->manifest()->getAssetBasePath().'/'.$assetName;
169 169
             
170 170
             // Если необходимо сжать asset`ы
171 171
             if ($this->isCompressorEnabled()) {
@@ -259,9 +259,9 @@  discard block
 block discarded – undo
259 259
     protected function getFreezingAssetFileName($assetName, $assetHash)
260 260
     {
261 261
         $fileInfo = pathinfo($assetName);
262
-        $fileName = $fileInfo['filename'] . '-' . $assetHash . '.' . $fileInfo['extension'];
262
+        $fileName = $fileInfo['filename'].'-'.$assetHash.'.'.$fileInfo['extension'];
263 263
 
264
-        return $this->manifest()->getAssetBasePathFromProjectRoot() . '/' . $fileInfo['dirname'] . '/' . $fileName;
264
+        return $this->manifest()->getAssetBasePathFromProjectRoot().'/'.$fileInfo['dirname'].'/'.$fileName;
265 265
     }
266 266
 
267 267
     /**
Please login to merge, or discard this patch.
src/Command/StartServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     protected function execute(InputInterface $input, OutputInterface $output)
33 33
     {
34 34
 
35
-        $pathToServerWorker = realpath(__DIR__ . '/../../bin/');
35
+        $pathToServerWorker = realpath(__DIR__.'/../../bin/');
36 36
         $serverProcess      = $this->startWebServer($input, $output, $pathToServerWorker);
37 37
 
38 38
         while ($serverProcess->isRunning()) {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     private function startWebServer(InputInterface $input, OutputInterface $output, $targetDirectory)
53 53
     {
54
-        $manifestPath = getcwd() . '/' . $input->getArgument('manifest');
54
+        $manifestPath = getcwd().'/'.$input->getArgument('manifest');
55 55
         
56 56
         $manifest = new \Dmitrynaum\SAM\Component\Manifest($manifestPath);
57 57
         $address  = $manifest->getServerAddress();
Please login to merge, or discard this patch.