Completed
Pull Request — master (#4)
by
unknown
03:12
created
DataCollector/DataLayerCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     {
85 85
         $count = 0;
86 86
         foreach ($this->data['events'] as $events) {
87
-            $count+= count($events);
87
+            $count += count($events);
88 88
         }
89 89
         return $count;
90 90
     }
Please login to merge, or discard this patch.
EventDispatcher/Subscriber/CollectorSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         return array(
22 22
             'tc_container' => array('onTcContainer', 0),
23
-            'tc_event'     => array('onTcEvent',     0),
23
+            'tc_event'     => array('onTcEvent', 0),
24 24
         );
25 25
     }
26 26
 
Please login to merge, or discard this patch.
Twig/TagcommanderExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,14 +174,14 @@
 block discarded – undo
174 174
 
175 175
         if ($container['version']) {
176 176
             $container_version = $container['version'];
177
-            $src.= sprintf('?%s', $container_version);
177
+            $src .= sprintf('?%s', $container_version);
178 178
         }
179 179
 
180 180
         $result = sprintf('<script type="text/javascript" src="%s"></script>', $src);
181 181
 
182 182
         if ($container['alternative']) {
183 183
             $container_alternative = $container['alternative'];
184
-            $result.= sprintf(
184
+            $result .= sprintf(
185 185
                 '<noscript><iframe src="%s" width="1" height="1" rel="noindex,nofollow"></iframe></noscript>',
186 186
                 $container_alternative
187 187
             );
Please login to merge, or discard this patch.
Tests/Twig/TagcommanderExtensionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
         $functions = array_reduce(
52 52
             $extension->getFunctions(),
53
-            function ($functions, $twig_function) {
53
+            function($functions, $twig_function) {
54 54
                 $functions[] = $twig_function->getName();
55 55
                 return $functions;
56 56
             }
Please login to merge, or discard this patch.
Tests/DependencyInjection/MeupTagcommanderExtensionTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,8 +107,8 @@
 block discarded – undo
107 107
             )
108 108
         ;
109 109
 
110
-        $this->assertTrue($container->hasDefinition($this->root . '.datalayer'));
111
-        $this->assertTrue($container->hasDefinition($this->root . '.twig_extension'));
112
-        $this->assertTrue($container->hasDefinition($this->root . '.datacollector_subscriber'));
110
+        $this->assertTrue($container->hasDefinition($this->root.'.datalayer'));
111
+        $this->assertTrue($container->hasDefinition($this->root.'.twig_extension'));
112
+        $this->assertTrue($container->hasDefinition($this->root.'.datacollector_subscriber'));
113 113
     }
114 114
 }
Please login to merge, or discard this patch.