Passed
Branch master (6a7148)
by Curtis
01:48
created
library/PhpGedcom/Parser/RepoRef.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/Sour.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/Plac/Romn.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
           $_romn = trim($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/Plac/Fone.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
           $_fone = trim($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/SourRef.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
           $sour = new \PhpGedcom\Record\SourRef();
34 34
           $sour->setSour($parser->normalizeIdentifier($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/Sour/Repo/Caln.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 		if (isset($record[2])) {
34 34
             $_caln = $record[2];
35 35
             $caln->setCaln($_caln);
36
-		}else{
36
+		} else{
37 37
             return null;
38 38
         }
39 39
 
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Repo.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/Subm.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/Indi/Attr.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
           $attr = new $className();
35 35
 
36 36
           $attr->setType(trim($record[1]));
37
-        }
38
-        else{
37
+        } else{
39 38
            $parser->skipToNextLevel($depth);
40 39
            return null;
41 40
         }
Please login to merge, or discard this patch.