PhpSpreadsheet/tests/PhpSpreadsheetTests/Writer/Xlsx
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
..
ConditionalTest.php Read conditional styling for cell (#2491) 2022-01-22 19:18:26 +01:00
DrawingsTest.php Add two cell anchor drawing (#2532) 2022-03-09 19:21:47 -08:00
FloatsRetainedTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
Issue589Test.php Don't corrupt file when using chart with fill color 2021-11-23 23:34:48 +09:00
Issue2082Test.php Xlsx Writer Formula with Bool Result of False 2021-05-11 13:48:38 +02:00
Issue2266Test.php Deleting Sheet with Local Defined Name (#2284) 2021-09-15 12:14:13 -07:00
Issue2368Test.php Support Data Validations in More Versions of Excel (#2377) 2021-11-14 10:06:46 -08:00
LocaleFloatsTest.php New Looming Problems with PHP8.1 (#2231) 2021-08-03 21:37:53 -07:00
StartsWithHashTest.php Now That SettingsTest Is Well-Behaved 2021-06-30 13:15:20 -07:00
Unparsed2396Test.php Name Clashes Between Parsed and Unparsed Drawings (#2423) 2021-12-09 23:37:15 -08:00
UnparsedDataCloneTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
UnparsedDataTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
VisibilityTest.php Unit testing for row/column/worksheet visibility for Xls and Xlsx files (#2059) 2021-05-03 23:46:40 +02:00
WmfTest.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00