Passed
Pull Request — main (#5166)
by Bernard
07:26
created
app/SurnameTradition/PortugueseSurnameTradition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      *
73 73
      * @return array<int,string>
74 74
      */
75
-    public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array
75
+    public function newChildNames(Individual | null $father, Individual | null $mother, string $sex): array
76 76
     {
77 77
         if (preg_match(self::REGEX_SURNS, $this->extractName($father), $match_father) === 1) {
78 78
             $father_surname = $match_father['SURN2'];
Please login to merge, or discard this patch.
app/SurnameTradition/IcelandicSurnameTradition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      *
72 72
      * @return array<int,string>
73 73
      */
74
-    public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array
74
+    public function newChildNames(Individual | null $father, Individual | null $mother, string $sex): array
75 75
     {
76 76
         if (preg_match(self::REGEX_GIVN, $this->extractName($father), $match) === 1) {
77 77
             switch ($sex) {
Please login to merge, or discard this patch.
app/SurnameTradition/MatrilinealSurnameTradition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @return array<int,string>
61 61
      */
62
-    public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array
62
+    public function newChildNames(Individual | null $father, Individual | null $mother, string $sex): array
63 63
     {
64 64
         if (preg_match(self::REGEX_SPFX_SURN, $this->extractName($mother), $match) === 1) {
65 65
             $name = $match['NAME'];
Please login to merge, or discard this patch.
app/SurnameTradition/PatrilinealSurnameTradition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @return array<int,string>
61 61
      */
62
-    public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array
62
+    public function newChildNames(Individual | null $father, Individual | null $mother, string $sex): array
63 63
     {
64 64
         if (preg_match(self::REGEX_SPFX_SURN, $this->extractName($father), $match) === 1) {
65 65
             $name = $match['NAME'];
Please login to merge, or discard this patch.
app/CommonMark/CensusTableStartParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
  */
31 31
 class CensusTableStartParser implements BlockStartParserInterface
32 32
 {
33
-    public function tryStart(Cursor $cursor, MarkdownParserStateInterface $parserState): BlockStart|null
33
+    public function tryStart(Cursor $cursor, MarkdownParserStateInterface $parserState): BlockStart | null
34 34
     {
35 35
         if ($cursor->getLine() === CensusTableExtension::CA_PREFIX) {
36 36
             return BlockStart::of(new CensusTableContinueParser())
Please login to merge, or discard this patch.
app/CommonMark/CensusTableContinueParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      *
67 67
      * @return BlockContinue|null
68 68
      */
69
-    public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): BlockContinue|null
69
+    public function tryContinue(Cursor $cursor, BlockContinueParserInterface $activeBlockParser): BlockContinue | null
70 70
     {
71 71
         $line = $cursor->getLine();
72 72
 
Please login to merge, or discard this patch.
app/GedcomFilters/GedcomEncodingFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@
 block discarded – undo
34 34
 {
35 35
     private string $data = '';
36 36
 
37
-    private EncodingInterface|null $src_encoding = null;
37
+    private EncodingInterface | null $src_encoding = null;
38 38
 
39
-    private EncodingInterface|null $dst_encoding = null;
39
+    private EncodingInterface | null $dst_encoding = null;
40 40
 
41 41
     /**
42 42
      * Initialization
Please login to merge, or discard this patch.
app/Report/ReportParserGenerate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1899,7 +1899,7 @@
 block discarded – undo
1899 1899
                             ->groupBy(['xref']);
1900 1900
                     })
1901 1901
                     ->get()
1902
-                    ->map(fn (object $row): GedcomRecord|null => Registry::gedcomRecordFactory()->make($row->xref, $this->tree, $row->new_gedcom ?: $row->old_gedcom))
1902
+                    ->map(fn (object $row): GedcomRecord | null => Registry::gedcomRecordFactory()->make($row->xref, $this->tree, $row->new_gedcom ?: $row->old_gedcom))
1903 1903
                     ->filter()
1904 1904
                     ->all();
1905 1905
                 break;
Please login to merge, or discard this patch.
app/Module/PedigreeMapModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      *
142 142
      * @return Menu|null
143 143
      */
144
-    public function chartBoxMenu(Individual $individual): Menu|null
144
+    public function chartBoxMenu(Individual $individual): Menu | null
145 145
     {
146 146
         return $this->chartMenu($individual);
147 147
     }
Please login to merge, or discard this patch.