PhpSpreadsheet/tests/PhpSpreadsheetTests
oleibman a24ca09bd4
Support 'Forms' for ROMAN Function (#1828)
* Support 'Forms' for ROMAN Function

This seems like an exceptionally silly thing for MS to have implemented
(Wikipedia on Roman Numerals: "There is no indication this is anything
other than an invention by the programmer").
Nevertheless, we can, and therefore probably should, implement it.

Not that I can implement it by an algorithm - Excel describes the various extra
styles as "more concise", "more concise", "more concise", and "simplified".
Nevertheless, since the universe of potential calls is relatively small,
it can be implemented as a table of values where the new forms would return
a different value than "classic". This table is relatively large, so I have
put it its own member to avoid overhead when the function is needed.

* Move ROMAN To Its Own Class

See discussion in PR #1837

* PHP 8.1 Deprecations

PHP8.1 Unit tests failed. 1 line fixes are available for
- Shared/Font
- Shared/XMLWriter
- Style/Color
- Writer/HTML

The problem is that an error is also reported for a strcmp at
line 272 of Cell/Cell. Not only does that line not invoke strcmp,
there is no strcmp in all of Cell/Cell, so I don't know what to make
of the error message. Oh well, let's fix what can be fixed.

Still dealing with the mysterious PHP8.1 unit test failure in Cell\Cell,
which seems to have something to do with strcmp. The only uses of
strcmp that I can find in src/ are in Calculation. I can't find any
use of it in test/ or samples/. So, if this doesn't fix the problem,
I may have to give up.
2021-02-13 21:23:58 +01:00
..
Calculation Support 'Forms' for ROMAN Function (#1828) 2021-02-13 21:23:58 +01:00
Cell Restoring State After Static Changes in Tests (#1571) 2020-07-15 13:23:00 +02:00
Chart Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
Collection Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
Custom Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
Functional Stacked Alignment - Use Class Constant Rather than Literal (#1716) 2021-02-03 23:53:04 +01:00
Helper Drop Travis 2020-11-26 11:10:52 +09:00
Reader Fix/chart axis titles (#1760) 2021-01-31 19:13:50 +01:00
Shared Stacked Alignment - Use Class Constant Rather than Literal (#1716) 2021-02-03 23:53:04 +01:00
Style Apply Column and Row Styles to Existing Cells (#1721) 2020-12-10 18:19:56 +01:00
Worksheet Apply Column and Row Styles to Existing Cells (#1721) 2020-12-10 18:19:56 +01:00
Writer Fix/1674 (#1688) 2021-01-31 18:26:50 +01:00
DefinedNameFormulaTest.php Improve Coverage in src/PhpSpreadsheet 2020-11-27 06:50:01 -08:00
DefinedNameTest.php Changes for Scrutinizer 2020-11-27 07:16:23 -08:00
DocumentGeneratorTest.php Improve Coverage in src/PhpSpreadsheet 2020-11-27 06:50:01 -08:00
IOFactoryTest.php Changes for Scrutinizer 2020-11-27 07:16:23 -08:00
NamedFormulaTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
NamedRangeTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
ReferenceHelperTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
SettingsTest.php fixed php8 deprecation warning for libxml_disable_entity_loader() (#1625) 2020-10-08 15:02:14 +02:00
SpreadsheetTest.php Fix for 1735 (Incorrect activeSheetIndex after RemoveSheetByIndex) (#1743) 2020-12-10 18:01:08 +01:00