@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | protected function execute(InputInterface $input, OutputInterface $output) |
| 24 | 24 | { |
| 25 | - $cacheDir = !empty($input->getArgument('cache_dir')) ? $input->getArgument('cache_dir') : __DIR__.'/../../_cache'; |
|
| 25 | + $cacheDir = !empty($input->getArgument('cache_dir')) ? $input->getArgument('cache_dir') : __DIR__ . '/../../_cache'; |
|
| 26 | 26 | |
| 27 | 27 | DIC::destroyCacheDir($cacheDir); |
| 28 | 28 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | self::$values = []; |
| 39 | 39 | self::$sha = sha1_file($filename); |
| 40 | 40 | |
| 41 | - $cacheFile = self::getCacheDir(). DIRECTORY_SEPARATOR .self::$sha.'.php'; |
|
| 41 | + $cacheFile = self::getCacheDir() . DIRECTORY_SEPARATOR . self::$sha . '.php'; |
|
| 42 | 42 | |
| 43 | 43 | if (false === file_exists($cacheFile)) { |
| 44 | 44 | if (false === is_dir(self::getCacheDir()) and false === mkdir(self::getCacheDir(), 0755, true)) { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | private static function getCacheDir() |
| 72 | 72 | { |
| 73 | - return (!empty(self::$cacheDir)) ? self::$cacheDir : __DIR__.'/../_cache'; |
|
| 73 | + return (!empty(self::$cacheDir)) ? self::$cacheDir : __DIR__ . '/../_cache'; |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | private static function checkForCache() |
| 91 | 91 | { |
| 92 | - if(empty(self::$cache)){ |
|
| 92 | + if (empty(self::$cache)) { |
|
| 93 | 93 | throw new ConfigException('No config file was provided. You MUST use before initFromFile() method.'); |
| 94 | 94 | } |
| 95 | 95 | } |