Passed
Push — master ( 5d9325...8a350f )
by Curtis
11:22
created
src/Utils/GedcomGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@
 block discarded – undo
381 381
             $_date = null; // string
382 382
             $_plac = null; // \Gedcom\Record\Indi\Even\Plac
383 383
             $_caus = null; // string
384
-            $_age = null;  // string
384
+            $_age = null; // string
385 385
             $_addr = null; // \Gedcom\Record\Addr
386 386
             $_phon = []; // \Gedcom\Record\Phon
387 387
             $_agnc = null; // string
Please login to merge, or discard this patch.
src/Utils/Importer/Subm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,14 +67,14 @@
 block discarded – undo
67 67
         $_group = 'subm';
68 68
         $_gid = $record->id;
69 69
 
70
-        $note = $subm->getNote();  // array ---
70
+        $note = $subm->getNote(); // array ---
71 71
 
72 72
         if ($note != null && count($note) > 0) {
73 73
             foreach ($note as $item) {
74 74
                 \FamilyTree365\LaravelGedcom\Utils\Importer\NoteRef::read($conn, $item, $_group, $_gid);
75 75
             }
76 76
         }
77
-        $obje = $subm->getObje() ?? null;  // array ---
77
+        $obje = $subm->getObje() ?? null; // array ---
78 78
         if ($obje && count($obje) > 0) {
79 79
             foreach ($obje as $item) {
80 80
                 if ($item) {
Please login to merge, or discard this patch.
src/Utils/Importer/Chan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
         // store chan
20 20
         $key = ['group'=>$group, 'gid'=>$group_id, 'date'=>$date, 'time'=>$time];
21
-        $data = ['group'=>$group, 'gid'=>$group_id,  'date'=>$date, 'time'=>$time];
21
+        $data = ['group'=>$group, 'gid'=>$group_id, 'date'=>$date, 'time'=>$time];
22 22
         $record = MChan::on($conn)->updateOrCreate($key, $data);
23 23
 
24 24
         // store Sources of Note
Please login to merge, or discard this patch.
src/Utils/Importer/Subn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $_group = 'subn';
33 33
         $_gid = $record->id;
34 34
 
35
-        $note = $subn->getNote();  // array ---
35
+        $note = $subn->getNote(); // array ---
36 36
 
37 37
         if ($note != null && count($note) > 0) {
38 38
             foreach ($note as $item) {
Please login to merge, or discard this patch.
src/Utils/GedcomWriter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
         $chan = $_subm->getChan() ?? ['Unknown']; // Record\Chan---
280 280
         $name = $_subm->getName() ?? 'Unknown'; // string
281 281
         if ($_subm->getAddr() != null) { // Record/Addr
282
-         $addr = $_subm->getAddr();
282
+            $addr = $_subm->getAddr();
283 283
             $addr->getAddr() ?? 'Unknown';
284 284
             $addr->getAdr1() ?? 'Unknown';
285 285
             $addr->getAdr2() ?? 'Unknown';
Please login to merge, or discard this patch.
src/Utils/otherFields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
             }
85 85
 
86 86
             // array value
87
-            $fams = $individual->getFams();  // self family, leave it now, note would be included in family
88
-            $famc = $individual->getFamc();  // parent family , leave it now, note and pedi would be included in family
87
+            $fams = $individual->getFams(); // self family, leave it now, note would be included in family
88
+            $famc = $individual->getFamc(); // parent family , leave it now, note and pedi would be included in family
89 89
 
90 90
             // added to database
91 91
             // string value
Please login to merge, or discard this patch.
src/Utils/ParentData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
                 }
75 75
 
76 76
                 // array value
77
-                $fams = $individual->getFams();  // self family, leave it now, note would be included in family
78
-                $famc = $individual->getFamc();  // parent family , leave it now, note and pedi would be included in family
77
+                $fams = $individual->getFams(); // self family, leave it now, note would be included in family
78
+                $famc = $individual->getFamc(); // parent family , leave it now, note and pedi would be included in family
79 79
 
80 80
                 // added to database
81 81
                 // string value
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
             GedcomImporter::class,
14 14
         ]);
15 15
 
16
-        $this->app->bind('FamilyTree365/laravel-gedcom:parser', function () {
16
+        $this->app->bind('FamilyTree365/laravel-gedcom:parser', function() {
17 17
             return new GedcomParser();
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
src/factories/PersonSubmFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function definition()
23 23
     {
24 24
         return [
25
-            'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), 'subm' => $this->faker->word(), , 'created_at', 'updated_at',
25
+            'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), 'subm' => $this->faker->word(),, 'created_at', 'updated_at',
26 26
         ];
27 27
     }
28 28
 }
Please login to merge, or discard this patch.