@@ -42,7 +42,7 @@ |
||
42 | 42 | $container->setParameter(sprintf('zibios_wrike.%s', $key), $value); |
43 | 43 | } |
44 | 44 | |
45 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
45 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
46 | 46 | $loader->load('services.xml'); |
47 | 47 | |
48 | 48 | $this->addPermanentTokenAppDefinitions($config, $container); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $rootNode |
46 | 46 | ->beforeNormalization() |
47 | 47 | ->always( |
48 | - function ($v) { |
|
48 | + function($v) { |
|
49 | 49 | return (array) $v; |
50 | 50 | } |
51 | 51 | ) |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | ->children() |
87 | 87 | ->arrayNode('permanent_tokens') |
88 | 88 | ->validate() |
89 | - ->ifTrue(function ($v) { |
|
89 | + ->ifTrue(function($v) { |
|
90 | 90 | return ( |
91 | 91 | array_key_exists('default_token', $v) && |
92 | 92 | ( |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | ->children() |
110 | 110 | ->arrayNode('tokens') |
111 | 111 | ->validate() |
112 | - ->ifTrue(function ($v) { |
|
112 | + ->ifTrue(function($v) { |
|
113 | 113 | /* @var array $v*/ |
114 | 114 | foreach ($v as $key => $value) { |
115 | 115 | if (is_string($key) && strlen($key) > 0) { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | protected function loadFixture(ContainerBuilder $container, $fixture) |
27 | 27 | { |
28 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/xml')); |
|
29 | - $loader->load($fixture.'.xml'); |
|
28 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/xml')); |
|
29 | + $loader->load($fixture . '.xml'); |
|
30 | 30 | } |
31 | 31 | } |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | protected function loadFixture(ContainerBuilder $container, $fixture) |
27 | 27 | { |
28 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/yml')); |
|
29 | - $loader->load($fixture.'.yml'); |
|
28 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/yml')); |
|
29 | + $loader->load($fixture . '.yml'); |
|
30 | 30 | } |
31 | 31 | } |