@@ -44,14 +44,14 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | public static function registerAutoloadDirectory($directory) |
| 46 | 46 | { |
| 47 | - if (!class_exists('Doctrine\Common\ClassLoader', false)) { |
|
| 48 | - require_once $directory . "/Doctrine/Common/ClassLoader.php"; |
|
| 47 | + if ( ! class_exists('Doctrine\Common\ClassLoader', false)) { |
|
| 48 | + require_once $directory."/Doctrine/Common/ClassLoader.php"; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | $loader = new ClassLoader("Doctrine", $directory); |
| 52 | 52 | $loader->register(); |
| 53 | 53 | |
| 54 | - $loader = new ClassLoader("Symfony\Component", $directory . "/Doctrine"); |
|
| 54 | + $loader = new ClassLoader("Symfony\Component", $directory."/Doctrine"); |
|
| 55 | 55 | $loader->register(); |
| 56 | 56 | } |
| 57 | 57 | |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | return $config; |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | - private static function createCacheConfiguration(bool $isDevMode, string $proxyDir, ?Cache $cache) : Cache |
|
| 139 | + private static function createCacheConfiguration(bool $isDevMode, string $proxyDir, ?Cache $cache) : Cache |
|
| 140 | 140 | { |
| 141 | 141 | $cache = self::createCacheInstance($isDevMode, $cache); |
| 142 | 142 | |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | $namespace .= ':'; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | - $cache->setNamespace($namespace . 'dc2_' . md5($proxyDir) . '_'); // to avoid collisions |
|
| 153 | + $cache->setNamespace($namespace.'dc2_'.md5($proxyDir).'_'); // to avoid collisions |
|
| 154 | 154 | |
| 155 | 155 | return $cache; |
| 156 | 156 | } |