Skip to content

Commit 6e1f3b9

Browse files
committed
More Phpstan
Having Trend:calculate return BestFit rather than mixed eliminates many Phpstan messages in baseline.neon.
1 parent 596af4e commit 6e1f3b9

File tree

1 file changed

+0
-84
lines changed

1 file changed

+0
-84
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,90 +1434,6 @@ parameters:
14341434
count: 1
14351435
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
14361436

1437-
-
1438-
message: '#^Cannot call method getCorrelation\(\) on mixed\.$#'
1439-
identifier: method.nonObject
1440-
count: 1
1441-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1442-
1443-
-
1444-
message: '#^Cannot call method getCovariance\(\) on mixed\.$#'
1445-
identifier: method.nonObject
1446-
count: 1
1447-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1448-
1449-
-
1450-
message: '#^Cannot call method getDFResiduals\(\) on mixed\.$#'
1451-
identifier: method.nonObject
1452-
count: 2
1453-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1454-
1455-
-
1456-
message: '#^Cannot call method getF\(\) on mixed\.$#'
1457-
identifier: method.nonObject
1458-
count: 2
1459-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1460-
1461-
-
1462-
message: '#^Cannot call method getGoodnessOfFit\(\) on mixed\.$#'
1463-
identifier: method.nonObject
1464-
count: 3
1465-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1466-
1467-
-
1468-
message: '#^Cannot call method getIntersect\(\) on mixed\.$#'
1469-
identifier: method.nonObject
1470-
count: 5
1471-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1472-
1473-
-
1474-
message: '#^Cannot call method getIntersectSE\(\) on mixed\.$#'
1475-
identifier: method.nonObject
1476-
count: 2
1477-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1478-
1479-
-
1480-
message: '#^Cannot call method getSSRegression\(\) on mixed\.$#'
1481-
identifier: method.nonObject
1482-
count: 2
1483-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1484-
1485-
-
1486-
message: '#^Cannot call method getSSResiduals\(\) on mixed\.$#'
1487-
identifier: method.nonObject
1488-
count: 2
1489-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1490-
1491-
-
1492-
message: '#^Cannot call method getSlope\(\) on mixed\.$#'
1493-
identifier: method.nonObject
1494-
count: 5
1495-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1496-
1497-
-
1498-
message: '#^Cannot call method getSlopeSE\(\) on mixed\.$#'
1499-
identifier: method.nonObject
1500-
count: 2
1501-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1502-
1503-
-
1504-
message: '#^Cannot call method getStdevOfResiduals\(\) on mixed\.$#'
1505-
identifier: method.nonObject
1506-
count: 3
1507-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1508-
1509-
-
1510-
message: '#^Cannot call method getValueOfYForX\(\) on mixed\.$#'
1511-
identifier: method.nonObject
1512-
count: 3
1513-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1514-
1515-
-
1516-
message: '#^Cannot call method getXValues\(\) on mixed\.$#'
1517-
identifier: method.nonObject
1518-
count: 2
1519-
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
1520-
15211437
-
15221438
message: '#^Parameter \#1 \$yValues of static method PhpOffice\\PhpSpreadsheet\\Calculation\\Statistical\\Trends\:\:validateTrendArrays\(\) expects array, mixed given\.$#'
15231439
identifier: argument.type

0 commit comments

Comments
 (0)