@@ -40,13 +40,13 @@ |
||
| 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 | |
@@ -7,7 +7,7 @@ |
||
| 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(); |
@@ -55,7 +55,7 @@ |
||
| 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; |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | if ($recordType == 'BURI') { |
| 49 | - $a=''; |
|
| 49 | + $a = ''; |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | switch ($recordType) { |
@@ -111,7 +111,7 @@ |
||
| 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 | } |
@@ -41,7 +41,7 @@ |
||
| 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->month = $this->getMonth(); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | public function setDate($date) { |
| 36 | 36 | $this->date = $date; |
| 37 | - $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2); |
|
| 37 | + $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function getDateFormatted() { |
@@ -41,7 +41,7 @@ |
||
| 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->month = $this->getMonth(); |
@@ -41,7 +41,7 @@ |
||
| 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->month = $this->getMonth(); |