PhpSpreadsheet/tests/PhpSpreadsheetTests/Style
oleibman ef997a0c8e
Bug setting Superscript/Subscript to false (#1567)
If font style Superscript is set to true, Subscript is set to false.
Likewise, setting Subscript to true sets Superscript to false.
Both of these are working as they should. However,
setting Superscript to false causes Subscript to be set to true,
and setting Subscript to false causes Superscript to be set to true.
I believe that is an error in both cases. This change fixes it.

There seem to be no existing tests for Font styles.
I added the tests necessary to validate this change.
I will put adding more on my to-do list.
2020-10-05 10:21:40 +09:00
..
BorderRangeTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
BorderTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
ColorTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
FontTest.php Bug setting Superscript/Subscript to false (#1567) 2020-10-05 10:21:40 +09:00
NumberFormatTest.php Restoring State After Static Changes in Tests (#1571) 2020-07-15 13:23:00 +02:00