Test Failed
Push — master ( e6b57e...dd7c2d )
by Christophe
07:44
created
Twig/GoogleChartsExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
                     );
154 154
                 }
155 155
 
156
-                $callback = function ($item) {
156
+                $callback = function($item) {
157 157
                     if (!is_string($item)) {
158 158
                         throw new GoogleChartsException('A string is expected for HTML element ID.');
159 159
                     }
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      */
179 179
     private function checkChartType($charts)
180 180
     {
181
-        $callback = function ($item) {
181
+        $callback = function($item) {
182 182
             if (!$item instanceof Chart) {
183 183
                 throw new GoogleChartsException('An instance of Chart or an array of Chart is expected.');
184 184
             }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     private function loadLibraries($packages)
197 197
     {
198
-        array_walk($packages, function (&$item) {
198
+        array_walk($packages, function(&$item) {
199 199
             $item = "'".$item."'";
200 200
         });
201 201
 
Please login to merge, or discard this patch.
GoogleCharts/Tools/OptionsFormat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function removeRecursivelyNullValue(&$options)
18 18
     {
19
-        $options = array_filter((array) $options, function ($val) {
19
+        $options = array_filter((array)$options, function($val) {
20 20
             return !is_null($val);
21 21
         });
22 22
 
Please login to merge, or discard this patch.
GoogleCharts/Options/GeoChart/GeoChartOptions.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,6 @@
 block discarded – undo
95 95
      *    - A country, specified by its ISO 3166-1 alpha-2 code, e.g., 'AU' for Australia.
96 96
      *    - A state in the United States, specified by its ISO 3166-2:US code, e.g., 'US-AL' for Alabama. Note that
97 97
      *      the resolution option must be set to either 'provinces' or 'metros'.
98
-
99 98
      *
100 99
      * @var string
101 100
      */
Please login to merge, or discard this patch.
GoogleCharts/Data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             $lastKeyValue = key($row);
74 74
             foreach ($row as $key => $value) {
75 75
                 if ($value instanceof \DateTime) {
76
-                    $js .= 'new Date('.$value->format('Y').', '.($value->format('n') - 1).', '.
76
+                    $js .= 'new Date('.$value->format('Y').', '.($value->format('n')-1).', '.
77 77
                         $value->format('d').', '.$value->format('H').', '.$value->format('i').', '.
78 78
                         $value->format('s').')';
79 79
                 } else {
Please login to merge, or discard this patch.