Skip to content

Commit

Permalink
Minor cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkBaker committed Sep 21, 2022
1 parent 6e93505 commit b9ded91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 1 addition & 11 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2755,16 +2755,6 @@ parameters:
count: 1
path: src/PhpSpreadsheet/Writer/Xls.php

-
message: "#^Offset 'length' does not exist on array\\{data\\: non\\-empty\\-string, length\\?\\: int\\<1, max\\>\\}\\|array\\{pack\\?\\: 'V', data\\: non\\-empty\\-string\\}\\.$#"
count: 1
path: src/PhpSpreadsheet/Writer/Xls.php

-
message: "#^Offset 'length' does not exist on array\\{data\\: non\\-empty\\-string\\|false, length\\?\\: int\\<1, max\\>\\}\\|array\\{pack\\?\\: 'V', data\\: 1252\\|786432\\|false\\}\\.$#"
count: 1
path: src/PhpSpreadsheet/Writer/Xls.php

-
message: "#^Offset 'startCoordinates' does not exist on array\\|null\\.$#"
count: 1
Expand Down Expand Up @@ -2927,7 +2917,7 @@ parameters:

-
message: "#^Cannot access offset 1 on array\\|false\\.$#"
count: 2
count: 1
path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php

-
Expand Down
1 change: 0 additions & 1 deletion src/PhpSpreadsheet/Calculation/Calculation.php
Original file line number Diff line number Diff line change
Expand Up @@ -4864,7 +4864,6 @@ private function processTokenStack($tokens, $cellID = null, ?Cell $cell = null)
if (isset($storeKey)) {
$branchStore[$storeKey] = $cellValue;
}

} elseif (preg_match('/^' . self::CALCULATION_REGEXP_FUNCTION . '$/miu', $token ?? '', $matches)) {
// if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on
if ($pCellParent) {
Expand Down

0 comments on commit b9ded91

Please sign in to comment.