Minor cosmetic changes

This commit is contained in:
MarkBaker 2022-09-21 15:37:51 +02:00
parent 6e93505cf5
commit b9ded919fc
2 changed files with 1 additions and 12 deletions

View File

@ -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
@ -2927,7 +2917,7 @@ parameters:
-
message: "#^Cannot access offset 1 on array\\|false\\.$#"
count: 2
count: 1
path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php
-

View File

@ -4864,7 +4864,6 @@ class Calculation
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) {