Passed
Push — spaghetti ( dd673c...d276c8 )
by simpletoimplement
02:07
created
src/XLSXParser/Styles.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Spaghetti\XLSXParser;
4 4
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
     private function matchDateFormat(XMLReader $xml): int
88 88
     {
89
-        return preg_match(pattern: '{^(\[\$[[:alpha:]]*-[0-9A-F]*\])*[hmsdy]}i', subject: $xml->getAttribute(name: 'formatCode'), ) ? self::FORMAT_DATE : self::FORMAT_DEFAULT;
89
+        return preg_match(pattern: '{^(\[\$[[:alpha:]]*-[0-9A-F]*\])*[hmsdy]}i', subject: $xml->getAttribute(name: 'formatCode'),) ? self::FORMAT_DATE : self::FORMAT_DEFAULT;
90 90
     }
91 91
 
92 92
     private function getValue(int $fmtId): int
Please login to merge, or discard this patch.
src/XLSXParser/RowIterator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Spaghetti\XLSXParser;
4 4
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         return $this->valid;
77 77
     }
78 78
 
79
-    private function processEnd(?Row &$row, ?int &$currentKey): bool
79
+    private function processEnd(?Row&$row, ?int &$currentKey): bool
80 80
     {
81 81
         $currentValue = $row->getData();
82 82
         if (count(value: $currentValue)) {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return false;
91 91
     }
92 92
 
93
-    private function process(?int &$columnIndex, ?int &$currentKey, ?Row &$row, ?string &$type, ?string &$style): void
93
+    private function process(?int &$columnIndex, ?int &$currentKey, ?Row&$row, ?string &$type, ?string &$style): void
94 94
     {
95 95
         switch ($this->xml->name) {
96 96
             case 'row':
Please login to merge, or discard this patch.