Passed
Branch master (6a7148)
by Curtis
01:48
created
library/PhpGedcom/Parser/Fam.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@
 block discarded – undo
43 43
         $depth = (int)$record[0];
44 44
         if(isset($record[1])){
45 45
           $identifier = $parser->normalizeIdentifier($record[1]);
46
-        }
47
-        else{
46
+        } else{
48 47
            $parser->skipToNextLevel($depth);
49 48
            return null;
50 49
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Head/Sour.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         if(isset($record[2])){
33 33
           $source = new \PhpGedcom\Record\Head\Sour();
34 34
           $source->setSour(trim($record[2]));
35
-        }
36
-        else{
35
+        } else{
37 36
            $parser->skipToNextLevel($depth);
38 37
            return null;
39 38
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Head/Sour/Data.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         if(isset($record[2])){
33 33
           $data = new \PhpGedcom\Record\Head\Sour\Data();
34 34
           $data->setData(trim($record[2]));
35
-        }
36
-        else{
35
+        } else{
37 36
            $parser->skipToNextLevel($depth);
38 37
            return null;
39 38
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Head/Sour/Corp.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         if(isset($record[2])){
33 33
           $corp = new \PhpGedcom\Record\Head\Sour\Corp();
34 34
           $corp->setCorp(trim($record[2]));
35
-        }
36
-        else{
35
+        } else{
37 36
            $parser->skipToNextLevel($depth);
38 37
            return null;
39 38
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Head/Char.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         if(isset($record[2])){
33 33
           $char = new \PhpGedcom\Record\Head\Char();
34 34
           $char->setChar(trim($record[2]));
35
-        }
36
-        else{
35
+        } else{
37 36
            $parser->skipToNextLevel($depth);
38 37
            return null;
39 38
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Head/Date.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@
 block discarded – undo
32 32
         if(isset($record[2])){
33 33
           $date = new \PhpGedcom\Record\Head\Date();
34 34
           $date->setDate(trim($record[2]));
35
-        }
36
-        else{
35
+        } else{
37 36
            $parser->skipToNextLevel($depth);
38 37
            return null;
39 38
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Caln.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@
 block discarded – undo
31 31
         $depth = (int)$record[0];
32 32
         if(isset($record[2])){
33 33
           $identifier = $parser->normalizeIdentifier($record[2]);
34
-        }
35
-        else{
34
+        } else{
36 35
            $parser->skipToNextLevel($depth);
37 36
            return null;
38 37
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Obje.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,7 @@
 block discarded – undo
31 31
         $depth = (int) $record[0];
32 32
         if(isset($record[1])){
33 33
           $identifier = $parser->normalizeIdentifier($record[1]);
34
-        }
35
-        else{
34
+        } else{
36 35
            $parser->skipToNextLevel($depth);
37 36
            return null;
38 37
         }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Head.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
         $depth = (int)$record[0];
34 34
         if(isset($record[1])){
35 35
           $identifier = $parser->normalizeIdentifier($record[1]);
36
-        }
37
-        else{
36
+        } else{
38 37
            $parser->skipToNextLevel($depth);
39 38
            return null;
40 39
         }
Please login to merge, or discard this patch.