@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | public function addBundleToScan($bundle) |
49 | 49 | { |
50 | 50 | $path = $this->kernel->getBundle($bundle)->getPath(); |
51 | - $path .= DIRECTORY_SEPARATOR . 'Resources'; |
|
52 | - $path .= DIRECTORY_SEPARATOR . 'config'; |
|
53 | - $path .= DIRECTORY_SEPARATOR . 'doctrine'; |
|
51 | + $path .= DIRECTORY_SEPARATOR.'Resources'; |
|
52 | + $path .= DIRECTORY_SEPARATOR.'config'; |
|
53 | + $path .= DIRECTORY_SEPARATOR.'doctrine'; |
|
54 | 54 | $this->addPathToScan($path); |
55 | 55 | |
56 | 56 | return $this; |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | */ |
110 | 110 | protected function getSessionId($id) |
111 | 111 | { |
112 | - return 'session-cache_' . $id; |
|
112 | + return 'session-cache_'.$id; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function __construct($id, $locale, $domain) |
13 | 13 | { |
14 | - $message = 'Translation "' . $id . '" not found for domain "' . $domain . '", locale "' . $locale . '".'; |
|
14 | + $message = 'Translation "'.$id.'" not found for domain "'.$domain.'", locale "'.$locale.'".'; |
|
15 | 15 | parent::__construct($message); |
16 | 16 | } |
17 | 17 | } |
@@ -10,6 +10,6 @@ |
||
10 | 10 | */ |
11 | 11 | public function __construct($em, $error) |
12 | 12 | { |
13 | - parent::__construct('[EntityManager : ' . $em . '] ' . $error); |
|
13 | + parent::__construct('[EntityManager : '.$em.'] '.$error); |
|
14 | 14 | } |
15 | 15 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $content = file_get_contents($cache->getPath()); |
46 | 46 | $use = 'use Symfony\\Component\\Translation\\MessageCatalogue;'; |
47 | 47 | if (strpos($content, $use) !== 7) { |
48 | - throw new \Exception('Invalid MessageCatalogue cache format in file "' . $cache->getPath() . '".'); |
|
48 | + throw new \Exception('Invalid MessageCatalogue cache format in file "'.$cache->getPath().'".'); |
|
49 | 49 | } |
50 | 50 | $newUse = 'use steevanb\\DevBundle\\Translation\\MessageCatalogue;'; |
51 | 51 | $newContent = substr_replace($content, $newUse, 7, strlen($use)); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | public function load(array $configs, ContainerBuilder $container) |
19 | 19 | { |
20 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
20 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
21 | 21 | $loader->load('services.yml'); |
22 | 22 | |
23 | 23 | $configuration = new Configuration(); |