Completed
Push — master ( fd88a6...8479c6 )
by Naveen
15:14 queued 06:42
created
phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -548,7 +548,7 @@
 block discarded – undo
548 548
         }
549 549
 
550 550
         if ($fileEndsWithNewLine) {
551
-            unset($result[count($result)-1]);
551
+            unset($result[count($result) - 1]);
552 552
         }
553 553
 
554 554
         return $result;
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -673,7 +673,7 @@
 block discarded – undo
673 673
 
674 674
         return sprintf(
675 675
             '%01.2F',
676
-            pow($ccn, 2) * pow(1 - $coverage/100, 3) + $ccn
676
+            pow($ccn, 2) * pow(1 - $coverage / 100, 3) + $ccn
677 677
         );
678 678
     }
679 679
 }
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Text.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 $report->getNumTestedMethods(),
69 69
                 $report->getNumMethods()
70 70
             );
71
-            $colors['lines']   = $this->getCoverageColor(
71
+            $colors['lines'] = $this->getCoverageColor(
72 72
                 $report->getNumExecutedLines(),
73 73
                 $report->getNumExecutableLines()
74 74
             );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                 continue;
143 143
             }
144 144
 
145
-            $classes  = $item->getClassesAndTraits();
145
+            $classes = $item->getClassesAndTraits();
146 146
 
147 147
             foreach ($classes as $className => $class) {
148 148
                 $classStatements        = 0;
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 
200 200
                 $output .= PHP_EOL . $fullQualifiedPath . PHP_EOL
201 201
                     . '  ' . $methodColor . 'Methods: ' . $this->printCoverageCounts($classInfo['methodsCovered'], $classInfo['methodCount'], 2) . $resetColor . ' '
202
-                    . '  ' . $linesColor  . 'Lines: ' . $this->printCoverageCounts($classInfo['statementsCovered'], $classInfo['statementCount'], 3) . $resetColor
202
+                    . '  ' . $linesColor . 'Lines: ' . $this->printCoverageCounts($classInfo['statementsCovered'], $classInfo['statementCount'], 3) . $resetColor
203 203
                 ;
204 204
             }
205 205
         }
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Tests.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
     private $contextNode;
17 17
 
18 18
     private $codeMap = array(
19
-        0 => 'PASSED',     // PHPUnit_Runner_BaseTestRunner::STATUS_PASSED
20
-        1 => 'SKIPPED',    // PHPUnit_Runner_BaseTestRunner::STATUS_SKIPPED
19
+        0 => 'PASSED', // PHPUnit_Runner_BaseTestRunner::STATUS_PASSED
20
+        1 => 'SKIPPED', // PHPUnit_Runner_BaseTestRunner::STATUS_SKIPPED
21 21
         2 => 'INCOMPLETE', // PHPUnit_Runner_BaseTestRunner::STATUS_INCOMPLETE
22
-        3 => 'FAILURE',    // PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE
23
-        4 => 'ERROR',      // PHPUnit_Runner_BaseTestRunner::STATUS_ERROR
22
+        3 => 'FAILURE', // PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE
23
+        4 => 'ERROR', // PHPUnit_Runner_BaseTestRunner::STATUS_ERROR
24 24
         5 => 'RISKY'       // PHPUnit_Runner_BaseTestRunner::STATUS_RISKY
25 25
     );
26 26
 
Please login to merge, or discard this patch.
php-code-coverage/tests/_files/source_with_class_and_anonymous_function.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
         array_walk(
10 10
             $filter,
11
-            function (&$val, $key) {
11
+            function(&$val, $key) {
12 12
                 $val = preg_replace('|[^0-9]|', '', $val);
13 13
             }
14 14
         );
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/tests/_files/source_without_namespace.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Represents foo.
4
- */
3
+     * Represents foo.
4
+     */
5 5
 class Foo
6 6
 {
7 7
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  */
12 12
 function &foo($bar)
13 13
 {
14
-    $baz = function () {};
14
+    $baz = function() {};
15 15
     $a   = true ? true : false;
16 16
     $b   = "{$a}";
17 17
     $c   = "${b}";
Please login to merge, or discard this patch.
vendor/phpunit/php-file-iterator/src/Facade.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
         $factory  = new File_Iterator_Factory;
36 36
         $iterator = $factory->getFileIterator(
37
-          $paths, $suffixes, $prefixes, $exclude
37
+            $paths, $suffixes, $prefixes, $exclude
38 38
         );
39 39
 
40 40
         $files = array();
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 
59 59
         if ($commonPath) {
60 60
             return array(
61
-              'commonPath' => $this->getCommonPath($files),
62
-              'files'      => $files
61
+                'commonPath' => $this->getCommonPath($files),
62
+                'files'      => $files
63 63
             );
64 64
         } else {
65 65
             return $files;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
 
102 102
         while (!$done) {
103 103
             for ($i = 0; $i < $count; $i++) {
104
-                if ($_files[$i][$j] != $_files[$i+1][$j]) {
104
+                if ($_files[$i][$j] != $_files[$i + 1][$j]) {
105 105
                     $done = TRUE;
106 106
                     break;
107 107
                 }
Please login to merge, or discard this patch.
vendor/phpunit/php-file-iterator/src/Factory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,15 +54,15 @@
 block discarded – undo
54 54
         foreach ($paths as $path) {
55 55
             if (is_dir($path)) {
56 56
                 $iterator->append(
57
-                  new File_Iterator(
57
+                    new File_Iterator(
58 58
                     new RecursiveIteratorIterator(
59
-                      new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::FOLLOW_SYMLINKS)
59
+                        new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::FOLLOW_SYMLINKS)
60 60
                     ),
61 61
                     $suffixes,
62 62
                     $prefixes,
63 63
                     $exclude,
64 64
                     $path
65
-                  )
65
+                    )
66 66
                 );
67 67
             }
68 68
         }
Please login to merge, or discard this patch.
vendor/phpunit/php-text-template/src/Template.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
         else {
70 70
             throw new InvalidArgumentException(
71
-              'Template file could not be loaded.'
71
+                'Template file could not be loaded.'
72 72
             );
73 73
         }
74 74
     }
@@ -120,14 +120,14 @@  discard block
 block discarded – undo
120 120
             $error = error_get_last();
121 121
 
122 122
             throw new RuntimeException(
123
-              sprintf(
123
+                sprintf(
124 124
                 'Could not write to %s: %s',
125 125
                 $target,
126 126
                 substr(
127
-                  $error['message'],
128
-                  strpos($error['message'], ':') + 2
127
+                    $error['message'],
128
+                    strpos($error['message'], ':') + 2
129
+                )
129 130
                 )
130
-              )
131 131
             );
132 132
         }
133 133
     }
Please login to merge, or discard this patch.
Braces   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,13 +60,9 @@
 block discarded – undo
60 60
 
61 61
         if (file_exists($file)) {
62 62
             $this->template = file_get_contents($file);
63
-        }
64
-
65
-        else if (file_exists($distFile)) {
63
+        } else if (file_exists($distFile)) {
66 64
             $this->template = file_get_contents($distFile);
67
-        }
68
-
69
-        else {
65
+        } else {
70 66
             throw new InvalidArgumentException(
71 67
               'Template file could not be loaded.'
72 68
             );
Please login to merge, or discard this patch.