Completed
Pull Request — master (#93)
by Alessandro
02:47
created
src/Paraunit/Configuration/PHPUnitOption.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Configuration;
5 5
 
Please login to merge, or discard this patch.
src/Paraunit/Configuration/PHPUnitConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Configuration;
5 5
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $configFile .= DIRECTORY_SEPARATOR . self::DEFAULT_FILE_NAME;
93 93
         }
94 94
 
95
-        if (! is_file($configFile) || ! is_readable($configFile)) {
95
+        if ( ! is_file($configFile) || ! is_readable($configFile)) {
96 96
             throw new \InvalidArgumentException('Config file ' . $configFile . ' does not exist or is not readable');
97 97
         }
98 98
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $logListenerNode->appendChild($argumentsNode);
158 158
 
159 159
         $listenersNode = $rootNode->getElementsByTagName('listeners')->item(0);
160
-        if (! $listenersNode) {
160
+        if ( ! $listenersNode) {
161 161
             $listenersNode = $document->createElement('listeners');
162 162
             $rootNode->appendChild($listenersNode);
163 163
         }
Please login to merge, or discard this patch.
src/Paraunit/Parser/JSON/UnknownResultParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Parser\JSON;
5 5
 
Please login to merge, or discard this patch.
src/Paraunit/Parser/JSON/GenericParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Parser\JSON;
5 5
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     protected function logMatches(\stdClass $log): bool
64 64
     {
65
-        if (! property_exists($log, 'status')) {
65
+        if ( ! property_exists($log, 'status')) {
66 66
             return false;
67 67
         }
68 68
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             return true;
75 75
         }
76 76
 
77
-        if (! property_exists($log, 'message')) {
77
+        if ( ! property_exists($log, 'message')) {
78 78
             return false;
79 79
         }
80 80
 
Please login to merge, or discard this patch.
src/Paraunit/Parser/JSON/TestStartParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Parser\JSON;
5 5
 
@@ -84,11 +84,11 @@  discard block
 block discarded – undo
84 84
             return;
85 85
         }
86 86
 
87
-        if (! property_exists($logItem, 'suite')) {
87
+        if ( ! property_exists($logItem, 'suite')) {
88 88
             return;
89 89
         }
90 90
 
91
-        if (! property_exists($logItem, 'test')) {
91
+        if ( ! property_exists($logItem, 'test')) {
92 92
             return;
93 93
         }
94 94
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/SharkPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Printer;
5 5
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/SingleResultFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Printer;
5 5
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $format = $singleResult->getTestResultFormat();
38 38
 
39
-        if (! $format instanceof TestResultWithSymbolFormat) {
39
+        if ( ! $format instanceof TestResultWithSymbolFormat) {
40 40
             return '';
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/FailuresPrinter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Printer;
5 5
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     private function printFailuresOutput(TestResultContainer $testResultContainer, OutputInterface $output)
38 38
     {
39
-        if (! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) {
39
+        if ( ! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) {
40 40
             return;
41 41
         }
42 42
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/FilesRecapPrinter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Paraunit\Printer;
5 5
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     private function printFileRecap(TestResultContainerInterface $testResultContainer, OutputInterface $output)
33 33
     {
34
-        if (! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) {
34
+        if ( ! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) {
35 35
             return;
36 36
         }
37 37
 
Please login to merge, or discard this patch.