Passed
Push — main ( 801b6a...3683b4 )
by Sammy
01:38
created
src/FileSystem.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,9 @@
 block discarded – undo
27 27
     function __construct(string $rootPath)
28 28
     {
29 29
         $rootPath = realpath($rootPath);
30
-        if (!$rootPath)
31
-            throw new \InvalidArgumentException('INVALID_ROOT_PATH');
30
+        if (!$rootPath) {
31
+                    throw new \InvalidArgumentException('INVALID_ROOT_PATH');
32
+        }
32 33
 
33 34
         $this->rootPath = $rootPath;
34 35
     }
Please login to merge, or discard this patch.
src/Text/INI.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,9 @@
 block discarded – undo
29 29
     {
30 30
         // https://secure.php.net/manual/en/function.parse-ini-file.php
31 31
         $ret = parse_ini_file($filepath, $with_sections, $mode);
32
-        if($ret === false)
33
-            return null;
32
+        if($ret === false) {
33
+                    return null;
34
+        }
34 35
 
35 36
         return $ret;
36 37
     }
Please login to merge, or discard this patch.
src/Text/TextFile.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,9 @@
 block discarded – undo
67 67
     public function __toString()
68 68
     {
69 69
         $ret = file_get_contents($this->path());
70
-        if($ret === false)
71
-            $ret = $this->path();
70
+        if($ret === false) {
71
+                    $ret = $this->path();
72
+        }
72 73
 
73 74
         return $ret;
74 75
     }
Please login to merge, or discard this patch.