Passed
Branch master (6a7148)
by Curtis
01:48
created
library/PhpGedcom/Parser/Indi/Name.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
         $record = $parser->getCurrentLineRecord();
31 31
         $depth = (int)$record[0];
32 32
         if(isset($record[2])){
33
-          $name = new \PhpGedcom\Record\Indi\Name();
34
-          $name->setName(trim($record[2]));
33
+            $name = new \PhpGedcom\Record\Indi\Name();
34
+            $name->setName(trim($record[2]));
35 35
         }
36 36
         else{
37
-           $parser->skipToNextLevel($depth);
38
-           return null;
37
+            $parser->skipToNextLevel($depth);
38
+            return null;
39 39
         }
40 40
 
41 41
 
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Indi/Birt.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
     {
25 25
         $record = $parser->getCurrentLineRecord();
26 26
         if(isset($record[2]))
27
-          $even->setFamc(trim($record[2]));
27
+            $even->setFamc(trim($record[2]));
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Indi/Lds.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
         $record = $parser->getCurrentLineRecord();
31 31
         $depth = (int)$record[0];
32 32
         if(isset($record[1])){
33
-          $className = '\\PhpGedcom\\Record\\Indi\\' . ucfirst(strtolower(trim($record[1])));
34
-          $lds = new $className();
33
+            $className = '\\PhpGedcom\\Record\\Indi\\' . ucfirst(strtolower(trim($record[1])));
34
+            $lds = new $className();
35 35
         }
36 36
         else{
37
-           $parser->skipToNextLevel($depth);
38
-           return null;
37
+            $parser->skipToNextLevel($depth);
38
+            return null;
39 39
         }
40 40
 
41 41
 
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Indi/Chr.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $record = $parser->getCurrentLineRecord();
26 26
         if(isset($record[2])){
27
-          $even->setFamc(trim($record[2]));
27
+            $even->setFamc(trim($record[2]));
28 28
         }
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/ObjeRef/File.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $file = new \PhpGedcom\Record\ObjeRef\File();
31 31
         $record = $parser->getCurrentLineRecord();
32
-		$depth = (int) $record[0];
32
+        $depth = (int) $record[0];
33 33
         if(isset($record[2])) {
34 34
             $file->setFile($record[2]);
35 35
         }else {
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/ObjeRef/File/Form.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $form = new \PhpGedcom\Record\ObjeRef\File\Form();
31 31
         $record = $parser->getCurrentLineRecord();
32
-		$depth = (int) $record[0];
32
+        $depth = (int) $record[0];
33 33
         if(isset($record[2])) {
34 34
             $form->setForm($record[2]);
35 35
         } else {
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Note.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
         $record = $parser->getCurrentLineRecord(4);
31 31
         $depth = (int)$record[0];
32 32
         if(isset($record[1])){
33
-          $identifier = $parser->normalizeIdentifier($record[1]);
33
+            $identifier = $parser->normalizeIdentifier($record[1]);
34 34
         }
35 35
         else{
36
-           $parser->skipToNextLevel($depth);
37
-           return null;
36
+            $parser->skipToNextLevel($depth);
37
+            return null;
38 38
         }
39 39
 
40 40
         $note = new \PhpGedcom\Record\Note();
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Plac.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
         $record = $parser->getCurrentLineRecord();
31 31
         $depth = (int)$record[0];
32 32
         if(isset($record[2])){
33
-          $_plac = trim($record[2]);
33
+            $_plac = trim($record[2]);
34 34
         }
35 35
         else{
36
-           $parser->skipToNextLevel($depth);
37
-           return null;
36
+            $parser->skipToNextLevel($depth);
37
+            return null;
38 38
         }
39 39
 
40 40
         $plac = new \PhpGedcom\Record\Plac();
Please login to merge, or discard this patch.
library/PhpGedcom/Parser/Refn.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
         $record = $parser->getCurrentLineRecord();
31 31
         $depth = (int)$record[0];
32 32
         if(isset($record[2])){
33
-          $refn = new \PhpGedcom\Record\Refn();
34
-          $refn->setRefn(trim($record[2]));
33
+            $refn = new \PhpGedcom\Record\Refn();
34
+            $refn->setRefn(trim($record[2]));
35 35
         }
36 36
         else{
37
-           $parser->skipToNextLevel($depth);
38
-           return null;
37
+            $parser->skipToNextLevel($depth);
38
+            return null;
39 39
         }
40 40
 
41 41
 
Please login to merge, or discard this patch.