Test Failed
Push — spaghetti ( eb7118...5d999a )
by simpletoimplement
14:24
created
src/XLSXParser/Exception/InvalidArchiveException.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\Exception;
4 4
 
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 {
17 17
     public function __construct(int $code, ?Throwable $previous = null)
18 18
     {
19
-        parent::__construct(message: 'Error opening file: ' . $this->getErrorMessage(errorCode: $code), previous: $previous);
19
+        parent::__construct(message : 'Error opening file: ' . $this->getErrorMessage(errorCode : $code), previous : $previous);
20 20
     }
21 21
 
22 22
     private function getErrorMessage(int $errorCode): string
Please login to merge, or discard this patch.
src/XLSXParser/Exception/InvalidIndexException.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\Exception;
4 4
 
@@ -11,6 +11,6 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __construct(string $name, ?Throwable $previous = null)
13 13
     {
14
-        parent::__construct(message: sprintf('Invalid name: "%s"', $name), previous: $previous);
14
+        parent::__construct(message : sprintf('Invalid name: "%s"', $name), previous : $previous);
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/XLSXParser/Exception/InvalidXLSXFileException.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\Exception;
4 4
 
@@ -11,6 +11,6 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function __construct(string $path, ?Throwable $previous = null)
13 13
     {
14
-        parent::__construct(message: sprintf('Not a XLSX file: %s', $path), previous: $previous);
14
+        parent::__construct(message : sprintf('Not a XLSX file: %s', $path), previous : $previous);
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/XLSXParser/XLSX.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
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function getRows(int $index): Iterator
34 34
     {
35
-        return new RowIterator(valueTransformer: $this->getValueTransformer(), path: $this->archive->extract(filePath: array_values(array: $this->getWorksheetPaths())[$index]), );
35
+        return new RowIterator(valueTransformer: $this->getValueTransformer(), path: $this->archive->extract(filePath: array_values(array: $this->getWorksheetPaths())[$index]),);
36 36
     }
37 37
 
38 38
     public function getIndex(string $name): int
Please login to merge, or discard this patch.