Completed
Push — output_parsers_refactor ( 755930...b5c5df )
by Alessandro
07:17
created
src/Paraunit/Parser/JSONLogParser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Paraunit\Parser;
4 4
 
5 5
 use Paraunit\Exception\JSONLogNotFoundException;
6
-use Paraunit\Exception\RecoverableTestErrorException;
7 6
 use Paraunit\Lifecycle\ProcessEvent;
8 7
 use Paraunit\Process\ParaunitProcessAbstract;
9 8
 use Paraunit\Process\ProcessResultInterface;
Please login to merge, or discard this patch.
src/Paraunit/Printer/OutputContainer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return \string[]
42
+     * @return integer[]
43 43
      */
44 44
     public function getFileNames()
45 45
     {
Please login to merge, or discard this patch.
src/Paraunit/Printer/FinalPrinter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
         $this->output->writeln('');
50 50
         $this->output->write('Executed: ');
51
-        $this->output->write(count($completedProcesses).' test classes, ');
51
+        $this->output->write(count($completedProcesses) . ' test classes, ');
52 52
 
53 53
         $testsCount = 0;
54 54
         /** @var ParaunitProcessAbstract $process */
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             $testsCount += count($process->getTestResults());
57 57
         }
58 58
 
59
-        $this->output->writeln($testsCount.' tests');
59
+        $this->output->writeln($testsCount . ' tests');
60 60
 
61 61
         $this->printAllFailuresOutput();
62 62
         $this->printAllFilesRecap();
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $i = 1;
88 88
 
89 89
             foreach ($buffer as $filename => $messages) {
90
-                foreach($messages as $message) {
90
+                foreach ($messages as $message) {
91 91
                     $this->output->writeln('');
92 92
                     $this->output->writeln(
93 93
                         sprintf('<%s>%d)</%s> %s', $tag, $i++, $tag, $message)
Please login to merge, or discard this patch.
src/Paraunit/Parser/AbstractParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             return true;
80 80
         }
81 81
 
82
-        if ( ! property_exists($log, 'message')) {
82
+        if (!property_exists($log, 'message')) {
83 83
             return false;
84 84
         }
85 85
 
Please login to merge, or discard this patch.