Skip to content

Commit 156a12c

Browse files
committed
Move Locale Logic in Calculation to Separate Class
Make things more maintainable (I hope).
1 parent 20aac08 commit 156a12c

File tree

5 files changed

+481
-469
lines changed

5 files changed

+481
-469
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,24 +1692,6 @@ parameters:
16921692
count: 2
16931693
path: src/PhpSpreadsheet/Calculation/TextData/Text.php
16941694

1695-
-
1696-
message: '#^Method PhpOffice\\PhpSpreadsheet\\Calculation\\Token\\Stack\:\:last\(\) should return array\|null but returns mixed\.$#'
1697-
identifier: return.type
1698-
count: 1
1699-
path: src/PhpSpreadsheet/Calculation/Token/Stack.php
1700-
1701-
-
1702-
message: '#^Method PhpOffice\\PhpSpreadsheet\\Calculation\\Token\\Stack\:\:pop\(\) should return array\|null but returns mixed\.$#'
1703-
identifier: return.type
1704-
count: 1
1705-
path: src/PhpSpreadsheet/Calculation/Token/Stack.php
1706-
1707-
-
1708-
message: '#^Parameter \#1 \$function of static method PhpOffice\\PhpSpreadsheet\\Calculation\\Calculation\:\:localeFunc\(\) expects string, mixed given\.$#'
1709-
identifier: argument.type
1710-
count: 1
1711-
path: src/PhpSpreadsheet/Calculation/Token/Stack.php
1712-
17131695
-
17141696
message: '#^Part \$formula \(mixed\) of encapsed string cannot be cast to string\.$#'
17151697
identifier: encapsedStringPart.nonString

0 commit comments

Comments
 (0)