Completed
Push — master ( 0929c0...fd88a6 )
by Naveen
08:19
created
vendor/phpunit/phpunit/src/Framework/TestSuite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -907,7 +907,7 @@
 block discarded – undo
907 907
         // @test     on TestCase::testMethod()
908 908
         $doc_comment = $method->getDocComment();
909 909
 
910
-        return strpos($doc_comment, '@test')     !== false ||
910
+        return strpos($doc_comment, '@test') !== false ||
911 911
                strpos($doc_comment, '@scenario') !== false;
912 912
     }
913 913
 
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Runner/Filter/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         foreach ($suite->getGroupDetails() as $group => $tests) {
31 31
             if (in_array($group, $groups)) {
32 32
                 $testHashes = array_map(
33
-                    function ($test) {
33
+                    function($test) {
34 34
                         return spl_object_hash($test);
35 35
                     },
36 36
                     $tests
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -31,23 +31,23 @@
 block discarded – undo
31 31
      * @var array
32 32
      */
33 33
     private static $ansiCodes = array(
34
-      'bold'       => 1,
35
-      'fg-black'   => 30,
36
-      'fg-red'     => 31,
37
-      'fg-green'   => 32,
38
-      'fg-yellow'  => 33,
39
-      'fg-blue'    => 34,
40
-      'fg-magenta' => 35,
41
-      'fg-cyan'    => 36,
42
-      'fg-white'   => 37,
43
-      'bg-black'   => 40,
44
-      'bg-red'     => 41,
45
-      'bg-green'   => 42,
46
-      'bg-yellow'  => 43,
47
-      'bg-blue'    => 44,
48
-      'bg-magenta' => 45,
49
-      'bg-cyan'    => 46,
50
-      'bg-white'   => 47
34
+        'bold'       => 1,
35
+        'fg-black'   => 30,
36
+        'fg-red'     => 31,
37
+        'fg-green'   => 32,
38
+        'fg-yellow'  => 33,
39
+        'fg-blue'    => 34,
40
+        'fg-magenta' => 35,
41
+        'fg-cyan'    => 36,
42
+        'fg-white'   => 37,
43
+        'bg-black'   => 40,
44
+        'bg-red'     => 41,
45
+        'bg-green'   => 42,
46
+        'bg-yellow'  => 43,
47
+        'bg-blue'    => 44,
48
+        'bg-magenta' => 45,
49
+        'bg-cyan'    => 46,
50
+        'bg-white'   => 47
51 51
     );
52 52
 
53 53
     /**
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/Configuration.php 2 patches
Indentation   +53 added lines, -53 removed lines patch added patch discarded remove patch
@@ -242,44 +242,44 @@  discard block
 block discarded – undo
242 242
         }
243 243
 
244 244
         return array(
245
-          'blacklist' => array(
245
+            'blacklist' => array(
246 246
             'include' => array(
247
-              'directory' => $this->readFilterDirectories(
248
-                  'filter/blacklist/directory'
249
-              ),
250
-              'file' => $this->readFilterFiles(
251
-                  'filter/blacklist/file'
252
-              )
247
+                'directory' => $this->readFilterDirectories(
248
+                    'filter/blacklist/directory'
249
+                ),
250
+                'file' => $this->readFilterFiles(
251
+                    'filter/blacklist/file'
252
+                )
253 253
             ),
254 254
             'exclude' => array(
255
-              'directory' => $this->readFilterDirectories(
256
-                  'filter/blacklist/exclude/directory'
257
-              ),
258
-              'file' => $this->readFilterFiles(
259
-                  'filter/blacklist/exclude/file'
260
-              )
255
+                'directory' => $this->readFilterDirectories(
256
+                    'filter/blacklist/exclude/directory'
257
+                ),
258
+                'file' => $this->readFilterFiles(
259
+                    'filter/blacklist/exclude/file'
260
+                )
261 261
             )
262
-          ),
263
-          'whitelist' => array(
262
+            ),
263
+            'whitelist' => array(
264 264
             'addUncoveredFilesFromWhitelist'     => $addUncoveredFilesFromWhitelist,
265 265
             'processUncoveredFilesFromWhitelist' => $processUncoveredFilesFromWhitelist,
266 266
             'include'                            => array(
267
-              'directory' => $this->readFilterDirectories(
268
-                  'filter/whitelist/directory'
269
-              ),
270
-              'file' => $this->readFilterFiles(
271
-                  'filter/whitelist/file'
272
-              )
267
+                'directory' => $this->readFilterDirectories(
268
+                    'filter/whitelist/directory'
269
+                ),
270
+                'file' => $this->readFilterFiles(
271
+                    'filter/whitelist/file'
272
+                )
273 273
             ),
274 274
             'exclude' => array(
275
-              'directory' => $this->readFilterDirectories(
276
-                  'filter/whitelist/exclude/directory'
277
-              ),
278
-              'file' => $this->readFilterFiles(
279
-                  'filter/whitelist/exclude/file'
280
-              )
275
+                'directory' => $this->readFilterDirectories(
276
+                    'filter/whitelist/exclude/directory'
277
+                ),
278
+                'file' => $this->readFilterFiles(
279
+                    'filter/whitelist/exclude/file'
280
+                )
281
+            )
281 282
             )
282
-          )
283 283
         );
284 284
     }
285 285
 
@@ -293,8 +293,8 @@  discard block
 block discarded – undo
293 293
     public function getGroupConfiguration()
294 294
     {
295 295
         $groups = array(
296
-          'include' => array(),
297
-          'exclude' => array()
296
+            'include' => array(),
297
+            'exclude' => array()
298 298
         );
299 299
 
300 300
         foreach ($this->xpath->query('groups/include/group') as $group) {
@@ -347,9 +347,9 @@  discard block
 block discarded – undo
347 347
             }
348 348
 
349 349
             $result[] = array(
350
-              'class'     => $class,
351
-              'file'      => $file,
352
-              'arguments' => $arguments
350
+                'class'     => $class,
351
+                'file'      => $file,
352
+                'arguments' => $arguments
353 353
             );
354 354
         }
355 355
 
@@ -434,17 +434,17 @@  discard block
 block discarded – undo
434 434
     public function getPHPConfiguration()
435 435
     {
436 436
         $result = array(
437
-          'include_path' => array(),
438
-          'ini'          => array(),
439
-          'const'        => array(),
440
-          'var'          => array(),
441
-          'env'          => array(),
442
-          'post'         => array(),
443
-          'get'          => array(),
444
-          'cookie'       => array(),
445
-          'server'       => array(),
446
-          'files'        => array(),
447
-          'request'      => array()
437
+            'include_path' => array(),
438
+            'ini'          => array(),
439
+            'const'        => array(),
440
+            'var'          => array(),
441
+            'env'          => array(),
442
+            'post'         => array(),
443
+            'get'          => array(),
444
+            'cookie'       => array(),
445
+            'server'       => array(),
446
+            'files'        => array(),
447
+            'request'      => array()
448 448
         );
449 449
 
450 450
         foreach ($this->xpath->query('php/includePath') as $includePath) {
@@ -840,11 +840,11 @@  discard block
 block discarded – undo
840 840
             }
841 841
 
842 842
             $result[] = array(
843
-              'name'    => $name,
844
-              'browser' => $browser,
845
-              'host'    => $host,
846
-              'port'    => $port,
847
-              'timeout' => $timeout
843
+                'name'    => $name,
844
+                'browser' => $browser,
845
+                'host'    => $host,
846
+                'port'    => $port,
847
+                'timeout' => $timeout
848 848
             );
849 849
         }
850 850
 
@@ -1076,10 +1076,10 @@  discard block
 block discarded – undo
1076 1076
             }
1077 1077
 
1078 1078
             $directories[] = array(
1079
-              'path'   => $this->toAbsolutePath($directoryPath),
1080
-              'prefix' => $prefix,
1081
-              'suffix' => $suffix,
1082
-              'group'  => $group
1079
+                'path'   => $this->toAbsolutePath($directoryPath),
1080
+                'prefix' => $prefix,
1081
+                'suffix' => $suffix,
1082
+                'group'  => $group
1083 1083
             );
1084 1084
         }
1085 1085
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -489,7 +489,7 @@
 block discarded – undo
489 489
     {
490 490
         $configuration = $this->getPHPConfiguration();
491 491
 
492
-        if (! empty($configuration['include_path'])) {
492
+        if (!empty($configuration['include_path'])) {
493 493
             ini_set(
494 494
                 'include_path',
495 495
                 implode(PATH_SEPARATOR, $configuration['include_path']) .
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/ErrorHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public static function handleErrorOnce($severity = E_WARNING)
97 97
     {
98
-        $terminator = function () {
98
+        $terminator = function() {
99 99
             static $expired = false;
100 100
             if (!$expired) {
101 101
                 $expired = true;
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             }
105 105
         };
106 106
 
107
-        set_error_handler(function ($errno, $errstr) use ($severity) {
107
+        set_error_handler(function($errno, $errstr) use ($severity) {
108 108
             if ($errno === $severity) {
109 109
                 return;
110 110
             }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/Getopt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
             $opt_rest = substr($long_opt, $opt_len);
132 132
 
133 133
             if ($opt_rest != '' && $opt[0] != '=' && $i + 1 < $count &&
134
-                $opt == substr($long_options[$i+1], 0, $opt_len)) {
134
+                $opt == substr($long_options[$i + 1], 0, $opt_len)) {
135 135
                 throw new PHPUnit_Framework_Exception(
136 136
                     "option --$opt is ambiguous"
137 137
                 );
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/GlobalState.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -17,25 +17,25 @@
 block discarded – undo
17 17
      * @var array
18 18
      */
19 19
     protected static $superGlobalArrays = array(
20
-      '_ENV',
21
-      '_POST',
22
-      '_GET',
23
-      '_COOKIE',
24
-      '_SERVER',
25
-      '_FILES',
26
-      '_REQUEST'
20
+        '_ENV',
21
+        '_POST',
22
+        '_GET',
23
+        '_COOKIE',
24
+        '_SERVER',
25
+        '_FILES',
26
+        '_REQUEST'
27 27
     );
28 28
 
29 29
     /**
30 30
      * @var array
31 31
      */
32 32
     protected static $superGlobalArraysLong = array(
33
-      'HTTP_ENV_VARS',
34
-      'HTTP_POST_VARS',
35
-      'HTTP_GET_VARS',
36
-      'HTTP_COOKIE_VARS',
37
-      'HTTP_SERVER_VARS',
38
-      'HTTP_POST_FILES'
33
+        'HTTP_ENV_VARS',
34
+        'HTTP_POST_VARS',
35
+        'HTTP_GET_VARS',
36
+        'HTTP_COOKIE_VARS',
37
+        'HTTP_SERVER_VARS',
38
+        'HTTP_POST_FILES'
39 39
     );
40 40
 
41 41
     public static function getIncludedFilesAsString()
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/Log/JSON.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
      */
228 228
     public function write($buffer)
229 229
     {
230
-        array_walk_recursive($buffer, function (&$input) {
230
+        array_walk_recursive($buffer, function(&$input) {
231 231
             if (is_string($input)) {
232 232
                 $input = PHPUnit_Util_String::convertToUtf8($input);
233 233
             }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Util/Log/JUnit.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -133,8 +133,8 @@  discard block
 block discarded – undo
133 133
         }
134 134
 
135 135
         $buffer .= PHPUnit_Framework_TestFailure::exceptionToString($e) .
136
-                   "\n" .
137
-                   PHPUnit_Util_Filter::getFilteredStacktrace($e);
136
+                    "\n" .
137
+                    PHPUnit_Util_Filter::getFilteredStacktrace($e);
138 138
 
139 139
         $error = $this->document->createElement(
140 140
             'error',
@@ -168,8 +168,8 @@  discard block
 block discarded – undo
168 168
         }
169 169
 
170 170
         $buffer .= PHPUnit_Framework_TestFailure::exceptionToString($e) .
171
-                   "\n" .
172
-                   PHPUnit_Util_Filter::getFilteredStacktrace($e);
171
+                    "\n" .
172
+                    PHPUnit_Util_Filter::getFilteredStacktrace($e);
173 173
 
174 174
         $failure = $this->document->createElement(
175 175
             'failure',
Please login to merge, or discard this patch.