Completed
Push — master ( e67f65...ea4e5e )
by Zbigniew
05:15
created
Category
DependencyInjection/ZibiosWrikeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Tests/DependencyInjection/Fixtures/XmlZibiosWrikeExtensionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Tests/DependencyInjection/Fixtures/YamlZibiosWrikeExtensionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.