Completed
Pull Request — master (#32)
by
unknown
05:51
created
src/Writer/Standard.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,11 +51,11 @@  discard block
 block discarded – undo
51 51
         $mergeResult->sort();
52 52
 
53 53
         foreach ($mergeResult as $key => $value) {
54
-            if (! isset($value['base'])) {
54
+            if (!isset($value['base'])) {
55 55
                 $this->writeAddedTest($key);
56 56
                 continue;
57 57
             }
58
-            if (! isset($value['current'])) {
58
+            if (!isset($value['current'])) {
59 59
                 $this->writeRemovedTest($key);
60 60
                 continue;
61 61
             }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
     private function addVerboseInformationToChangedTest($current)
114 114
     {
115
-        if (! $current['message']) {
115
+        if (!$current['message']) {
116 116
             return;
117 117
         }
118 118
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
     private function addVeryVerboseInformationToChangedTest($current)
131 131
     {
132
-        if (! $current['info']) {
132
+        if (!$current['info']) {
133 133
             return;
134 134
         }
135 135
 
Please login to merge, or discard this patch.
src/JUnitParser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function getLastLibXmlError()
40 40
     {
41 41
         $error = libxml_get_last_error();
42
-        if (! $error instanceof \LibXMLError) {
42
+        if (!$error instanceof \LibXMLError) {
43 43
             return false;
44 44
         }
45 45
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function parseFile($filename)
56 56
     {
57
-        if (! is_readable($filename)) {
57
+        if (!is_readable($filename)) {
58 58
             throw new \UnexpectedValueException(sprintf(
59 59
                 'File %s is not readable',
60 60
                 basename($filename)
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         $items = $xpath->query('//testcase');
78 78
         foreach ($items as $item) {
79 79
             $class = $item->getAttribute('class');
80
-            if (! $class) {
80
+            if (!$class) {
81 81
                 $class = explode('::', $item->parentNode->getAttribute('name'))[0];
82 82
             }
83 83
 
@@ -98,14 +98,14 @@  discard block
 block discarded – undo
98 98
             switch ($type) {
99 99
                 case 'error':
100 100
                 case 'failure':
101
-                    if (! $element->hasAttributes()) {
101
+                    if (!$element->hasAttributes()) {
102 102
                         break;
103 103
                     }
104 104
                     $message = $element->attributes->getNamedItem('message');
105 105
                     if ($message instanceof \DOMAttr) {
106 106
                         $message = $message->value;
107 107
                     }
108
-                    $ftype   = $element->attributes->getNamedItem('type');
108
+                    $ftype = $element->attributes->getNamedItem('type');
109 109
                     if ($ftype instanceof \DOMAttr) {
110 110
                         $ftype = $ftype->value;
111 111
                     }
Please login to merge, or discard this patch.
src/Command/DiffCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,11 +78,11 @@
 block discarded – undo
78 78
         $array = $this->merge($array1, $array2);
79 79
 
80 80
         foreach ($array as $key => $value) {
81
-            if (! isset($value['base'])) {
81
+            if (!isset($value['base'])) {
82 82
                 $output->writeln('<bg=green;fg=black>+</> ' . $key);
83 83
                 continue;
84 84
             }
85
-            if (! isset($value['current'])) {
85
+            if (!isset($value['current'])) {
86 86
                 $output->writeln('<bg=red;fg=yellow>-</> ' . $key);
87 87
                 continue;
88 88
             }
Please login to merge, or discard this patch.