Completed
Push — master ( 16fa4d...62b0fd )
by Davide
26:15 queued 11:17
created
src/Parser/Serialize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     protected function parse($data = null, $filename = null)
44 44
     {
45 45
         $serializedData = @unserialize($data);
46
-        if($serializedData === false){
46
+        if ($serializedData === false) {
47 47
 
48 48
             throw new ParseException(error_get_last());
49 49
         }
Please login to merge, or discard this patch.
src/Parser/Properties.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         return $this->parse($config);
36 36
     }
37 37
 
38
+    /**
39
+     * @param string $txtProperties
40
+     */
38 41
     private function parse($txtProperties)
39 42
     {
40 43
         $result = [];
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Noodlehaus\Parser;
4 4
 
5
-use Noodlehaus\Exception\ParseException;
6
-
7 5
 /**
8 6
  * Properties parser.
9 7
  *
Please login to merge, or discard this patch.