PhpSpreadsheet/tests/PhpSpreadsheetTests
oleibman 0ce8509a8c
Continue MathTrig Breakup - Trig Functions (#1905)
* Continue MathTrig Breakup - Trig Functions

Continuing the process of breaking MathTrip.php up into smaller classes.
This round takes care of the trig and hyperbolic functions, plus a few others.
- COS, COSH, ACOS, ACOSH
- COT, COTH, ACOT, ACOTH
- CSC, CSCH
- SEC, SECH
- SIN, SINH, ASIN, ASINH
- TAN, TANH, ATAN, ATANH, ATAN2
- EVEN
- ODD
- SIGN

There are no bug fixes in this PR, except that boolean arguments are now
accepted for all these functions, as they are for Excel.
Taking a cue from what has been done in Engineering, the parameter validation
now happens in a routine which issues Exceptions for invalid values;
this simplifies the code in the functions themselves.

Consistent with earlier changes of this nature, the versions in the
MathTrig class remain, with a doc block indicating deprecation,
and a stub call to the new routines.

I think several more iterations will be needed to break up MathTrig completely.
2021-03-13 12:06:30 +01:00
..
Calculation Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
Cell Start refactoring the Lookup and Reference functions (#1912) 2021-03-10 21:18:33 +01: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 Initial experiments using the new Database query logic with Conditional Statistical Functions (#1880) 2021-02-27 18:26:12 +01:00
Reader Fix for Issue #1887 - Lose Track of Selected Cells After Save (#1908) 2021-03-10 21:23:08 +01:00
Shared Minor scrutinizer improvements (#1906) 2021-03-07 14:22:03 +01:00
Style Statistical refactoring - Confidence() and Trend() (#1898) 2021-03-04 21:45:56 +01:00
Worksheet Bugfix #1858; Apply stricter scoping rules to named range/cell access (#1866) 2021-02-19 22:03:50 +01:00
Writer Fix for Issue #1887 - Lose Track of Selected Cells After Save (#1908) 2021-03-10 21:23:08 +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