PhpSpreadsheet/tests/PhpSpreadsheetTests/Style
oleibman bd2e7b64a6
Handle Booleans in Conditional Styles (#2654)
You can set up a conditional style to, say, apply to cells equal to boolean values. For such conditions, the Excel XML specifies `TRUE` or `FALSE`. It is noteworthy that false matches empty cells as well as FALSE, but not 0; similarly TRUE does not match 1. The Xlsx Writer just casts these values to string, which will not work properly. The Xlsx Reader treats the values as strings, so it won't work properly either. This PR corrects both. Also the doc blocks in Style/Conditional allow bool in some places, but not in others; these are corrected but no executable code is changed there.
2022-03-09 18:30:57 -08:00
..
ConditionalFormatting Read conditional styling for cell (#2491) 2022-01-22 19:18:26 +01:00
AlignmentTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
BorderRangeTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
BorderTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
ColorIndexTest.php Reading Xlsx With Supplied Palette (#2595) 2022-02-23 22:09:22 -08:00
ColorTest.php Namespacing Phase 2 - Styles (#2471) 2022-02-11 06:42:04 -08:00
ConditionalBoolTest.php Handle Booleans in Conditional Styles (#2654) 2022-03-09 18:30:57 -08:00
ConditionalTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
ExportArrayTest.php Fill Pattern Start and End Colors (#2444) 2021-12-18 08:53:23 -08:00
FillTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
FontTest.php fix: Set font size to 10 when given 0 2021-05-29 11:17:25 +02:00
NumberFormatBuiltinTest.php Add exportArray Method for Styles (#1580) 2020-10-26 20:56:24 +01:00
NumberFormatRoundTest.php Rounding in NumberFormatter (#2399) 2021-11-26 09:05:35 -08:00
NumberFormatTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
StyleTest.php Optimize applyFromArray by caching existing styles (#1785) 2021-10-31 00:55:00 +09:00