Test Failed
Push — master ( 3f892b...ca4849 )
by Curtis
03:14 queued 02:42
created
src/Writer.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@
 block discarded – undo
40 40
     {
41 41
         $head = $gedcom->getHead();
42 42
         $subn = $gedcom->getSubn();
43
-        $subms = $gedcom->getSubm();    // array()
44
-        $sours = $gedcom->getSour();    // array()
45
-        $indis = $gedcom->getIndi();    // array()
46
-        $fams = $gedcom->getFam();      // array()
47
-        $notes = $gedcom->getNote();    // array()
48
-        $repos = $gedcom->getRepo();    // array()
49
-        $objes = $gedcom->getObje();    // array()
43
+        $subms = $gedcom->getSubm(); // array()
44
+        $sours = $gedcom->getSour(); // array()
45
+        $indis = $gedcom->getIndi(); // array()
46
+        $fams = $gedcom->getFam(); // array()
47
+        $notes = $gedcom->getNote(); // array()
48
+        $repos = $gedcom->getRepo(); // array()
49
+        $objes = $gedcom->getObje(); // array()
50 50
 
51 51
         $output = '0 FORMAT '.$format."\n";
52 52
 
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 use Rector\Set\ValueObject\SetList;
8 8
 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
9 9
 
10
-return static function (ContainerConfigurator $containerConfigurator): void {
10
+return static function(ContainerConfigurator $containerConfigurator): void {
11 11
     $containerConfigurator->import(SetList::PHP_80);
12 12
     // get parameters
13 13
     $parameters = $containerConfigurator->parameters();
Please login to merge, or discard this patch.
src/Writer/Indi.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -119,21 +119,21 @@  discard block
 block discarded – undo
119 119
         $birthday = $indi->getBirthday();
120 120
         if (!empty($birthday)) {
121 121
             $output .= $level.' BIRT '."\n";
122
-            $output .= ($level+1).' DATE '.$birthday."\n";
122
+            $output .= ($level + 1).' DATE '.$birthday."\n";
123 123
         }
124 124
 
125 125
         // $deathday
126 126
         $deathday = $indi->getDeathday();
127 127
         if (!empty($deathday)) {
128 128
             $output .= $level.' DEAT '."\n";
129
-            $output .= ($level+1).' DATE '.$deathday."\n";
129
+            $output .= ($level + 1).' DATE '.$deathday."\n";
130 130
         }
131 131
 
132 132
         // $burialday
133 133
         $burialday = $indi->getBurialday();
134 134
         if (!empty($burialday)) {
135 135
             $output .= $level.' BURI '."\n";
136
-            $output .= ($level+1).' DATE '.$burialday."\n";
136
+            $output .= ($level + 1).' DATE '.$burialday."\n";
137 137
         }
138 138
 
139 139
         // $rin
@@ -229,8 +229,8 @@  discard block
 block discarded – undo
229 229
         $chan = $indi->getChan();
230 230
         if (!empty($chan)) {
231 231
             $output .= $level.' CHAN '."\n";
232
-            $output .= ($level+1).' DATE '.$chan[0]."\n";
233
-            $output .= ($level+1).' TIME '.$chan[1]."\n";
232
+            $output .= ($level + 1).' DATE '.$chan[0]."\n";
233
+            $output .= ($level + 1).' TIME '.$chan[1]."\n";
234 234
         }
235 235
 
236 236
         // Bapl
Please login to merge, or discard this patch.
src/Parser/Chan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             $parser->forward();
56 56
         }
57 57
 
58
-        $date = $chan->getYear() .'-'. $chan->getMonth() .'-'. $chan->getDay();
58
+        $date = $chan->getYear().'-'.$chan->getMonth().'-'.$chan->getDay();
59 59
         $chan->setDatetime($date);
60 60
 
61 61
         return $chan;
Please login to merge, or discard this patch.
src/Parser/Indi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             }
47 47
 
48 48
             if ($recordType == 'BURI') {
49
-                $a='';
49
+                $a = '';
50 50
             }
51 51
 
52 52
             switch ($recordType) {
Please login to merge, or discard this patch.
src/Record/Deat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function setDate($date) {
42 42
         $this->date = $date;
43 43
         if ($this->getDay()) {
44
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
44
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
45 45
         }
46 46
         else {
47 47
             $this->year = $date;
Please login to merge, or discard this patch.
src/Record/Chan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     
112 112
     public function setDatetime($date = '')
113 113
     {
114
-        $this->datetime = $date .' '. $this->time;
114
+        $this->datetime = $date.' '.$this->time;
115 115
         
116 116
         return $this;
117 117
     }
Please login to merge, or discard this patch.
src/Record/Buri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function setDate($date) {
40 40
         $this->date = $date;
41 41
         if ($this->getDay()) {
42
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
42
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
43 43
         }
44 44
         else {
45 45
             $this->dateFormatted = null;
Please login to merge, or discard this patch.
src/Record/Birt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function setDate($date) {
40 40
         $this->date = $date;
41 41
         if ($this->getDay()) {
42
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
42
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
43 43
         }
44 44
         else {
45 45
             $this->year = $date;
Please login to merge, or discard this patch.