@@ -20,8 +20,8 @@ |
||
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); |
@@ -36,7 +36,7 @@ |
||
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 | } |
@@ -28,7 +28,7 @@ discard block |
||
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 |
||
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)); |