Completed
Push — theme-bundle ( 69304b...bce4cb )
by Kamil
18:15
created
Bundle/ThemeBundle/Templating/Cache/Warmer/TemplatePathsCacheWarmer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,11 +68,11 @@
 block discarded – undo
68 68
             /** @var TemplateReferenceInterface $template */
69 69
             foreach ($templates as $template) {
70 70
 
71
-                $templatesLocations[$template->getLogicalName() . "|" . $theme->getSlug()] = $this->resourceLocator->locateResource($template->getPath(), $theme);
71
+                $templatesLocations[$template->getLogicalName()."|".$theme->getSlug()] = $this->resourceLocator->locateResource($template->getPath(), $theme);
72 72
             }
73 73
         }
74 74
 
75
-        $this->writeCacheFile($cacheDir . '/templates_themes.php', sprintf('<?php return %s;', var_export($templatesLocations, true)));
75
+        $this->writeCacheFile($cacheDir.'/templates_themes.php', sprintf('<?php return %s;', var_export($templatesLocations, true)));
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Asset/Package/PathPackageSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $themeContext->getTheme()->shouldBeCalled()->willReturn(null);
52 52
         $versionStrategy->applyVersion($path)->shouldBeCalled()->willReturn($path);
53 53
 
54
-        $this->getUrl($path)->shouldReturn('/' . $path);
54
+        $this->getUrl($path)->shouldReturn('/'.$path);
55 55
     }
56 56
 
57 57
     function it_returns_modified_url_if_there_is_active_theme(
@@ -68,6 +68,6 @@  discard block
 block discarded – undo
68 68
         $pathResolver->resolve($path, $theme)->shouldBeCalled()->willReturn($themeAssetPath);
69 69
         $versionStrategy->applyVersion($themeAssetPath)->shouldBeCalled()->willReturn($themeAssetPath);
70 70
 
71
-        $this->getUrl($path)->shouldReturn('/' . $themeAssetPath);
71
+        $this->getUrl($path)->shouldReturn('/'.$themeAssetPath);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.