Completed
Push — master ( 96df1a...267f86 )
by Naveen
09:52
created
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Clover.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@
 block discarded – undo
77 77
 
78 78
                     $methodCount = 0;
79 79
                     for ($i  = $method['startLine'];
80
-                         $i <= $method['endLine'];
81
-                         $i++) {
80
+                            $i <= $method['endLine'];
81
+                            $i++) {
82 82
                         if (isset($coverage[$i]) && ($coverage[$i] !== null)) {
83 83
                             $methodCount = max($methodCount, count($coverage[$i]));
84 84
                         }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
                 $classMethods           = 0;
65 65
 
66 66
                 foreach ($class['methods'] as $methodName => $method) {
67
-                    if ($method['executableLines']  == 0) {
67
+                    if ($method['executableLines'] == 0) {
68 68
                         continue;
69 69
                     }
70 70
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                     }
77 77
 
78 78
                     $methodCount = 0;
79
-                    for ($i  = $method['startLine'];
79
+                    for ($i = $method['startLine'];
80 80
                          $i <= $method['endLine'];
81 81
                          $i++) {
82 82
                         if (isset($coverage[$i]) && ($coverage[$i] !== null)) {
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,8 +207,8 @@
 block discarded – undo
207 207
         while (!$done) {
208 208
             for ($i = 0; $i < $max - 1; $i++) {
209 209
                 if (!isset($paths[$i][0]) ||
210
-                    !isset($paths[$i+1][0]) ||
211
-                    $paths[$i][0] != $paths[$i+1][0]) {
210
+                    !isset($paths[$i + 1][0]) ||
211
+                    $paths[$i][0] != $paths[$i + 1][0]) {
212 212
                     $done = true;
213 213
                     break;
214 214
                 }
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     protected function renderItemTemplate(Text_Template $template, array $data)
77 77
     {
78
-        $numSeparator  = '&nbsp;/&nbsp;';
78
+        $numSeparator = '&nbsp;/&nbsp;';
79 79
 
80 80
         if (isset($data['numClasses']) && $data['numClasses'] > 0) {
81 81
             $classesLevel = $this->getColorLevel($data['testedClassesPercent']);
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
         if ($percent <= $this->lowUpperBound) {
263 263
             return 'danger';
264 264
         } elseif ($percent > $this->lowUpperBound &&
265
-            $percent <  $this->highLowerBound) {
265
+            $percent < $this->highLowerBound) {
266 266
             return 'warning';
267 267
         } else {
268 268
             return 'success';
Please login to merge, or discard this patch.
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/NamespaceCoverageCoversClassPublicTest.php 1 patch
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
- * @coversDefaultClass \Foo\CoveredClass
4
- */
3
+     * @coversDefaultClass \Foo\CoveredClass
4
+     */
5 5
 class NamespaceCoverageCoversClassPublicTest extends PHPUnit_Framework_TestCase
6 6
 {
7 7
     /**
Please login to merge, or discard this patch.
phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php 1 patch
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
- * @coversDefaultClass \Foo\CoveredClass
4
- */
3
+     * @coversDefaultClass \Foo\CoveredClass
4
+     */
5 5
 class NamespaceCoverageCoversClassTest extends PHPUnit_Framework_TestCase
6 6
 {
7 7
     /**
Please login to merge, or discard this patch.