Completed
Push — output_parsers_refactor ( ea70d9...668933 )
by Alessandro
02:32
created
src/Paraunit/Tests/BaseFunctionalTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function getTestWithSegFault()
114 114
     {
115
-        if ( ! extension_loaded('sigsegv')) {
115
+        if (!extension_loaded('sigsegv')) {
116 116
             $this->markTestIncomplete('The segfault cannot be reproduced in this environment');
117 117
         }
118 118
 
@@ -153,8 +153,8 @@  discard block
 block discarded – undo
153 153
         $it = new \RecursiveDirectoryIterator($dir, \RecursiveDirectoryIterator::SKIP_DOTS);
154 154
         $files = new \RecursiveIteratorIterator($it, \RecursiveIteratorIterator::CHILD_FIRST);
155 155
 
156
-        foreach($files as $file) {
157
-            if ($file->isDir()){
156
+        foreach ($files as $file) {
157
+            if ($file->isDir()) {
158 158
                 rmdir($file->getRealPath());
159 159
             } else {
160 160
                 unlink($file->getRealPath());
Please login to merge, or discard this patch.
src/Paraunit/Configuration/Paraunit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
      */
96 96
     private static function mkdirIfNotExists($path)
97 97
     {
98
-        if ( ! file_exists($path)) {
98
+        if (!file_exists($path)) {
99 99
             mkdir($path);
100 100
         }
101 101
     }
Please login to merge, or discard this patch.