PhpSpreadsheet/tests/PhpSpreadsheetTests/Writer
oleibman ca90379dc4
2 Minor Phpstan-related Fixes (#3030)
For one of the Phpstan upgrades, some message text had changed so drastically that the only practical solution at the time was to move the messages from phpstan-baseline.neon to phpstan.neon.dist. This was not ideal, but it allowed us time to move on and study the errors, which I have now done. At one point, Parser is expecting a variable to be an array, and that was not clear from the code. If not an array, the code will error out (which was Phpstan's concern); I have changed it to throw an exception instead. This satisfies Phpstan, and I can get the message out of neon.dist (without needing to restore it to baseline). Unsurprisingly, the exception was never thrown in the existing test suite, although I added a couple of tests to exercise that code.

In Helper/Dimension, Phpstan flagged a statement inappropriately. I suppressed the message using an annotation and filed a bug report https://github.com/phpstan/phpstan/issues/7563. A fix for the problem was merged yesterday, which is good, but it puts us in a tenuous position. The annotation is needed now, but, when the fix is inevitably pushed to the version we use, the no-longer-needed annotation will trigger a different message. Recode so that neither the current nor the future versions will issue a message, eliminating the annotation in the process.
2022-08-27 23:15:16 -07:00
..
Csv Csv Handling of Booleans (and an 8.1 Deprecation) (#2232) 2021-08-04 07:00:17 -07:00
Dompdf Fix Some Pdf Problems (#2960) 2022-07-29 06:14:28 -07:00
Html Html Writer - Do Not Generate background-color When Fill is None (#3016) 2022-08-24 18:00:37 -07:00
Mpdf Correct Namespaces in 11 Tests (#3020) 2022-08-20 19:58:43 -07:00
Ods Add support for writing Worksheet Visibility for Ods 2022-05-23 13:38:08 +02:00
Xls 2 Minor Phpstan-related Fixes (#3030) 2022-08-27 23:15:16 -07:00
Xlsx Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
PreCalcTest.php Ods Writer support for setting column width/row height (including Autosizing) 2022-04-17 11:34:39 +02:00
RetainSelectedCellsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00