Completed
Pull Request — master (#44)
by Francesco
05:15
created
src/Paraunit/Parser/ParserCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
         uasort(
27 27
             $taggedServices,
28
-            function ($a, $b) {
28
+            function($a, $b) {
29 29
                 return $a[0]['priority'] > $b[0]['priority'];
30 30
             }
31 31
         );
Please login to merge, or discard this patch.
src/Paraunit/Process/ProcessFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function createProcess($testFilePath)
40 40
     {
41
-        if (! $this->phpunitConfigFile instanceof PHPUnitConfigFile) {
41
+        if ( ! $this->phpunitConfigFile instanceof PHPUnitConfigFile) {
42 42
             throw new \Exception('PHPUnit config missing');
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/FailuresPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     private function printFailuresOutput(TestResultContainer $testResultContainer, OutputInterface $output)
37 37
     {
38
-        if (! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) {
38
+        if ( ! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) {
39 39
             return;
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/ProcessPrinter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
     {
38 38
         $process = $processEvent->getProcess();
39 39
 
40
-        if (! $processEvent->has('output_interface')) {
40
+        if ( ! $processEvent->has('output_interface')) {
41 41
             throw new \BadMethodCallException('missing output_interface');
42 42
         }
43 43
 
44 44
         $this->output = $processEvent->get('output_interface');
45 45
 
46
-        if (! $this->output instanceof OutputInterface) {
46
+        if ( ! $this->output instanceof OutputInterface) {
47 47
             throw new \BadMethodCallException('output_interface, unexpected type: ' . get_class($this->output));
48 48
         }
49 49
 
Please login to merge, or discard this patch.
src/Paraunit/Printer/FilesRecapPrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     private function printFileRecap(TestResultContainer $testResultContainer, OutputInterface $output)
34 34
     {
35
-        if (! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) {
35
+        if ( ! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) {
36 36
             return;
37 37
         }
38 38
 
Please login to merge, or discard this patch.
src/Paraunit/File/Cleaner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public static function cleanUpDir($dir)
33 33
     {
34
-        if (! file_exists($dir)) {
34
+        if ( ! file_exists($dir)) {
35 35
             return false;
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Paraunit/File/TempDirectory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     private static function mkdirIfNotExists($path)
61 61
     {
62
-        if (! file_exists($path)) {
62
+        if ( ! file_exists($path)) {
63 63
             mkdir($path);
64 64
         }
65 65
     }
Please login to merge, or discard this patch.
src/Paraunit/TestResult/TestResultFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             );
38 38
         }
39 39
 
40
-        if (! property_exists($log, 'message')) {
40
+        if ( ! property_exists($log, 'message')) {
41 41
             return new MuteTestResult();
42 42
         }
43 43
 
Please login to merge, or discard this patch.
src/Paraunit/Runner/Runner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             new EngineEvent($outputInterface, array('start' => $start,))
76 76
         );
77 77
 
78
-        while (! empty($this->processStack) || ! empty($this->processRunning)) {
78
+        while ( ! empty($this->processStack) || ! empty($this->processRunning)) {
79 79
 
80 80
             if ($process = $this->runProcess($debug)) {
81 81
                 $this->eventDispatcher->dispatch(ProcessEvent::PROCESS_STARTED, new ProcessEvent($process));
Please login to merge, or discard this patch.