@@ -38,10 +38,10 @@ discard block |
||
38 | 38 | $container->setAlias('task.lock.storage', $configuration->getLockingStorageId($config['locking']['storage'])); |
39 | 39 | |
40 | 40 | foreach (array_keys($config['locking']['storages']) as $key) { |
41 | - $container->setParameter('task.lock.storages.' . $key, $config['locking']['storages'][$key]); |
|
41 | + $container->setParameter('task.lock.storages.'.$key, $config['locking']['storages'][$key]); |
|
42 | 42 | } |
43 | 43 | |
44 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
44 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
45 | 45 | $loader->load(sprintf('storage/%s.xml', $config['storage'])); |
46 | 46 | $loader->load('task_event_listener.xml'); |
47 | 47 | $loader->load('scheduler.xml'); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | public function getConfiguration(array $config, ContainerBuilder $container) |
120 | 120 | { |
121 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
121 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
122 | 122 | $loader->load('locking/storages.xml'); |
123 | 123 | |
124 | 124 | return new Configuration($this->getLockingStorageAliases($container)); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | ->arrayNode('file') |
73 | 73 | ->addDefaultsIfNotSet() |
74 | 74 | ->children() |
75 | - ->scalarNode('directory')->defaultValue(sys_get_temp_dir() . '/task')->end() |
|
75 | + ->scalarNode('directory')->defaultValue(sys_get_temp_dir().'/task')->end() |
|
76 | 76 | ->end() |
77 | 77 | ->end() |
78 | 78 | ->end() |