PhpSpreadsheet/tests/data/Calculation/MathTrig
oleibman 68158c8120
Phpstan Differences from Php7 to Php8, Again (#2665)
These changes have already been implemented twice, and been regressed twice. I'll try once more (with a different approach), then give up ...

As configured, Phpstan running under Php7 reports no errors. However, running under Php8, it reports 100 (!) errors. The vast majority of these are due to two reasons:
- renaming parameters in Php builtin functions in preparation for named parameters.
- using the new class GdImage rather than type resource as the argument type for many image-based functions.

Regardless of the cause, this will be a problem sooner or later. This PR is an attempt to get ahead of that problem. For source members, it mostly adds annotations or updates doc-blocks. Only 2 members have changes to executable code, and these are very minor - BitWise and Writer/Xlsx. For test members, all baseline errors are deleted and the code is fixed. Php7 and Php8 both report no errors with this configuration.
2022-03-11 23:28:30 -08:00
..
ABS.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
ACOS.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ACOSH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ACOT.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ACOTH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ARABIC.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
ASIN.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ASINH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ATAN.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ATAN2.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
ATANH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
BASE.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
CEILING.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
CEILINGMATH.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
CEILINGPRECISE.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
COMBIN.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
COMBINA.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
COS.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
COSH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
COT.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
COTH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
CSC.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
CSCH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
DEGREES.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
EVEN.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
EXP.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
FACT.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
FACTDOUBLE.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
FACTGNUMERIC.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
FLOOR.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
FLOORMATH.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
FLOORPRECISE.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
GCD.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
INT.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
LCM.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
LN.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
LOG.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
LOG10.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
MDETERM.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
MINVERSE.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
MMULT.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
MOD.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
MROUND.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
MULTINOMIAL.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
ODD.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
POWER.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
PRODUCT.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
QUOTIENT.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
RADIANS.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
RANDBETWEEN.php Continue MathTrig Breakup - Penultimate? (#1973) 2021-04-02 14:35:34 +02:00
ROMAN.php Support 'Forms' for ROMAN Function (#1828) 2021-02-13 21:23:58 +01:00
ROUND.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
ROUNDDOWN.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
ROUNDUP.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00
SEC.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
SECH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
SEQUENCE.php Implementation of the SEQUENCE() Excel365 function (#2536) 2022-01-29 14:32:40 +01:00
SERIESSUM.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
SIGN.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
SIN.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
SINH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
SQRT.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
SQRTPI.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
SUBTOTAL.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
SUBTOTALHIDDEN.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
SUM.php Fix for Issue 2042 (SUM Partially Broken) (#2045) 2021-05-03 18:31:01 +02:00
SUMIF.php Phpstan Differences from Php7 to Php8, Again (#2665) 2022-03-11 23:28:30 -08:00
SUMIFS.php Additional conditionals from math trig (#1885) 2021-02-28 10:24:33 +01:00
SUMLITERALS.php Fix for Issue 2042 (SUM Partially Broken) (#2045) 2021-05-03 18:31:01 +02:00
SUMPRODUCT.php Continue MathTrig Breakup - Problem Children (#1954) 2021-03-26 17:35:30 +09:00
SUMSQ.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
SUMX2MY2.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
SUMX2PY2.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
SUMXMY2.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
TAN.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
TANH.php Continue MathTrig Breakup - Trig Functions (#1905) 2021-03-13 12:06:30 +01:00
TRUNC.php ROUND Accepts null, false, and true as First Parameter (#1837) 2021-02-13 21:00:08 +01:00