Completed
Branch master (7e6995)
by Michael
04:41
created
src/PHPCodeBrowser/Tests/SourceHandlerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 HERE
137 137
         ,
138 138
         ];
139
-        $issueXML   = new IssueXML();
139
+        $issueXML = new IssueXML();
140 140
         foreach ($xmlStrings as $xmlString) {
141 141
             $xml                  = new \DOMDocument('1.0', 'UTF-8');
142 142
             $xml->validateOnParse = true;
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
             '/a/dir/source.php',
222 222
             '/a/nother/dir/src.php',
223 223
         ];
224
-        $actualFiles   = $this->sourceHandler->getFilesWithIssues();
224
+        $actualFiles = $this->sourceHandler->getFilesWithIssues();
225 225
         $this->assertEquals($expectedFiles, $actualFiles);
226 226
     }
227 227
 
Please login to merge, or discard this patch.
src/PHPCodeBrowser/View/ViewReview.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -369,8 +369,7 @@
 block discarded – undo
369 369
             switch ($tmp = (isset($outputIssues[$lineNumber])
370 370
                 ? count($outputIssues[$lineNumber])
371 371
                 : 0)) {
372
-                case 0:
373
-                    break;
372
+                case 0 : break;
374 373
                 case 1:
375 374
                     $lineClasses[] = $outputIssues[$lineNumber][0]->foundBy;
376 375
                     break;
Please login to merge, or discard this patch.
src/PHPCodeBrowser/View/ViewAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@
 block discarded – undo
237 237
             // Go back until the file is somewhere below curDir
238 238
             while (strpos($dir, $curDir) !== 0) {
239 239
                 // chop off one subDir from $curDir
240
-                $curDir  = substr(
240
+                $curDir = substr(
241 241
                     $curDir,
242 242
                     0,
243 243
                     strrpos($curDir, DIRECTORY_SEPARATOR, -2) + 1
Please login to merge, or discard this patch.
src/PHPCodeBrowser/Plugins/ErrorCPD.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
             'file[@path="'.$filename.'"]',
101 101
             $parentNode
102 102
         );
103
-        $lineCount  = (int) $parentNode->getAttribute('lines');
103
+        $lineCount = (int) $parentNode->getAttribute('lines');
104 104
 
105 105
         $result = [];
106 106
         foreach ($files as $file) {
Please login to merge, or discard this patch.