Completed
Pull Request — master (#7)
by nicolas
08:02
created
src/AdbackAnalyticsBundle/Driver/ConfigFileScriptCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
      */
21 21
     public function __construct($cacheDirectory, $debug)
22 22
     {
23
-        $adbackCacheDir = $cacheDirectory . '/adback';
24
-        $file = $adbackCacheDir . '/apiCache.php';
23
+        $adbackCacheDir = $cacheDirectory.'/adback';
24
+        $file = $adbackCacheDir.'/apiCache.php';
25 25
         $fs = new FileSystem();
26 26
         if (!$fs->exists($file)) {
27 27
             $fs->mkdir($adbackCacheDir);
Please login to merge, or discard this patch.
DependencyInjection/DekaleeAdbackAnalyticsExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
37 37
         $loader->load('client.yml');
38 38
         $loader->load('query.yml');
39
-        $loader->load($cacheType . '_script_cache.yml');
39
+        $loader->load($cacheType.'_script_cache.yml');
40 40
         $loader->load('generator.yml');
41 41
         $loader->load('twig.yml');
42 42
     }
Please login to merge, or discard this patch.
src/AdbackAnalyticsBundle/Tests/Unit/Driver/ConfigFileScriptCacheTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function setUp()
29 29
     {
30 30
         $this->fs = new Filesystem();
31
-        $this->cacheDir = __DIR__ . '/cache';
31
+        $this->cacheDir = __DIR__.'/cache';
32 32
         if ($this->fs->exists($this->cacheDir)) {
33 33
             $this->fs->remove($this->cacheDir);
34 34
         }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function testSetGetClear()
51 51
     {
52
-        $cacheFile = $this->cacheDir . '/adback/apiCache.php';
52
+        $cacheFile = $this->cacheDir.'/adback/apiCache.php';
53 53
 
54 54
         $this->cache->setAnalyticsScript('foo');
55 55
         $this->assertTrue($this->fs->exists($cacheFile));
Please login to merge, or discard this patch.