PhpSpreadsheet/tests/data/Calculation
oleibman 68158c8120
Phpstan Differences from Php7 to Php8, Again (#2665)
These changes have already been implemented twice, and been regressed twice. I'll try once more (with a different approach), then give up ...

As configured, Phpstan running under Php7 reports no errors. However, running under Php8, it reports 100 (!) errors. The vast majority of these are due to two reasons:
- renaming parameters in Php builtin functions in preparation for named parameters.
- using the new class GdImage rather than type resource as the argument type for many image-based functions.

Regardless of the cause, this will be a problem sooner or later. This PR is an attempt to get ahead of that problem. For source members, it mostly adds annotations or updates doc-blocks. Only 2 members have changes to executable code, and these are very minor - BitWise and Writer/Xlsx. For test members, all baseline errors are deleted and the code is fixed. Php7 and Php8 both report no errors with this configuration.
2022-03-11 23:28:30 -08:00
..
DateTime Calculation engine empty arguments (#2143) 2021-06-10 08:49:53 +02:00
DefinedNames Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
Engineering Extract information functions (#2605) 2022-02-19 13:53:17 +01:00
Financial Extract information functions (#2605) 2022-02-19 13:53:17 +01:00
Functions Escape double quotes in a string value unless it's an empty string value 2022-03-05 12:44:44 +01:00
Information Array-enable the ISFORMULA() function (#2610) 2022-02-20 19:32:13 +01:00
Logical Convert all relevant Logical functions to support array arguments (#2600) 2022-02-18 02:56:23 +01:00
LookupRef Start work on array-enabling the Lookup and Reference functions (#2602) 2022-02-19 18:36:50 +01:00
MathTrig Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
Statistical Extract information functions (#2605) 2022-02-19 13:53:17 +01:00
TextData TextData - Minor Changes, Test Coverage (#2151) 2021-06-15 08:37:17 +02:00
Web Initial implementation of the URLENCODE() web function (#2031) 2021-04-28 17:10:36 +02:00
BinaryComparisonOperations.php Extract some methods from the Calculation Engine into dedicated classes (#2537) 2022-02-04 16:02:29 +01:00
Calculation.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
FunctionsAsString.php MATCH with a static array should return the position of the found value based on the values submitted. 2020-04-26 22:09:31 +09:00
Translations.php Resolve `translateSeparator()` method to handle separators (row and column) for array functions as well as for function argument separators; and cleanly handle nesting levels 2022-02-27 13:01:09 +01:00