diff --git a/composer.json b/composer.json index d0c3a16d..6cd65021 100644 --- a/composer.json +++ b/composer.json @@ -81,6 +81,7 @@ "mpdf/mpdf": "^8.0", "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "^0.12.82", + "phpstan/phpstan-phpunit": "^0.12.18", "phpunit/phpunit": "^8.5", "squizlabs/php_codesniffer": "^3.5", "tecnickcom/tcpdf": "^6.3" diff --git a/composer.lock b/composer.lock index e4060972..3670f857 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "89b62d75519340c289a3a763245f1ca0", + "content-hash": "3be2673a6367d296c616bf9c34b77953", "packages": [ { "name": "ezyang/htmlpurifier", @@ -2023,6 +2023,61 @@ ], "time": "2021-03-19T06:08:17+00:00" }, + { + "name": "phpstan/phpstan-phpunit", + "version": "0.12.18", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan-phpunit.git", + "reference": "ab44aec7cfb5cb267b8bc30a8caea86dd50d1f72" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/ab44aec7cfb5cb267b8bc30a8caea86dd50d1f72", + "reference": "ab44aec7cfb5cb267b8bc30a8caea86dd50d1f72", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "phpstan/phpstan": "^0.12.60" + }, + "conflict": { + "phpunit/phpunit": "<7.0" + }, + "require-dev": { + "phing/phing": "^2.16.3", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpstan-strict-rules": "^0.12.6", + "phpunit/phpunit": "^7.5.20" + }, + "type": "phpstan-extension", + "extra": { + "branch-alias": { + "dev-master": "0.12-dev" + }, + "phpstan": { + "includes": [ + "extension.neon", + "rules.neon" + ] + } + }, + "autoload": { + "psr-4": { + "PHPStan\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPUnit extensions and rules for PHPStan", + "support": { + "issues": "https://github.com/phpstan/phpstan-phpunit/issues", + "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.18" + }, + "time": "2021-03-06T11:51:27+00:00" + }, { "name": "phpunit/php-code-coverage", "version": "7.0.14", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index c80e5931..494b90a8 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -5,26 +5,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Calculation.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:\\$calculationCache type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:\\$branchPruningEnabled has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Calculation.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:\\$operators type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:\\$binaryOperators type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:\\$cellStack has no typehint specified\\.$#" count: 1 @@ -135,21 +120,6 @@ parameters: count: 6 path: src/PhpSpreadsheet/Calculation/Calculation.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:parseFormula\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:checkMatrixOperands\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:getMatrixDimensions\\(\\) has parameter \\$matrix with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:\\$operatorAssociativity has no typehint specified\\.$#" count: 1 @@ -245,11 +215,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Calculation.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:executeArrayComparison\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - message: "#^Parameter \\#1 \\$pValue of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:strCaseReverse\\(\\) expects string, string\\|null given\\.$#" count: 2 @@ -290,31 +255,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Calculation.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:getFunctions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:getImplementedFunctionNames\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:addCellReference\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:addCellReference\\(\\) has parameter \\$functionCall with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:addCellReference\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Calculation.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Calculation\\:\\:getUnusedBranchStoreKey\\(\\) has no return typehint specified\\.$#" count: 1 @@ -395,71 +335,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:getFilteredColumn\\(\\) has parameter \\$criteria with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:getFilteredColumn\\(\\) has parameter \\$database with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:getFilteredColumn\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:buildQuery\\(\\) has parameter \\$criteria with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:buildQuery\\(\\) has parameter \\$criteriaNames with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:buildCondition\\(\\) has parameter \\$criterion with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:executeQuery\\(\\) has parameter \\$criteria with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:executeQuery\\(\\) has parameter \\$database with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:executeQuery\\(\\) has parameter \\$fields with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:executeQuery\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:processCondition\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:processCondition\\(\\) has parameter \\$dataValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Database\\\\DatabaseAbstract\\:\\:processCondition\\(\\) has parameter \\$fields with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTime\\:\\:NETWORKDAYS\\(\\) has parameter \\$dateArgs with no typehint specified\\.$#" count: 1 @@ -485,16 +370,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\DateValue\\:\\:t1ToString\\(\\) has parameter \\$t1 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\DateValue\\:\\:setUpArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php - - message: "#^Parameter \\#1 \\$testVal1 of static method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\Helpers\\:\\:adjustYear\\(\\) expects string, string\\|false given\\.$#" count: 1 @@ -505,11 +380,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\DateValue\\:\\:finalResults\\(\\) has parameter \\$PHPDateArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/DateValue.php - - message: "#^Parameter \\#1 \\$value of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:testStringAsNumeric\\(\\) expects string, float\\|int\\|string given\\.$#" count: 2 @@ -535,11 +405,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/DateTimeExcel/Helpers.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\Helpers\\:\\:returnIn3FormatsArray\\(\\) has parameter \\$dateArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/Helpers.php - - message: "#^Parameter \\#1 \\$excelTimestamp of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Date\\:\\:excelToTimestamp\\(\\) expects float\\|int, bool\\|float given\\.$#" count: 1 @@ -590,11 +455,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\WorkDay\\:\\:incrementing\\(\\) has parameter \\$holidayArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - message: "#^Binary operation \"\\-\" between 7 and int\\|string results in an error\\.$#" count: 1 @@ -605,26 +465,11 @@ parameters: count: 2 path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\WorkDay\\:\\:incrementingArray\\(\\) has parameter \\$holidayArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\WorkDay\\:\\:decrementing\\(\\) has parameter \\$holidayArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - message: "#^Binary operation \"\\-\" between 4 and int\\<5, max\\>\\|string results in an error\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\WorkDay\\:\\:decrementingArray\\(\\) has parameter \\$holidayArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/DateTimeExcel/WorkDay.php - - message: "#^Binary operation \"\\-\" between int\\|string and int\\|string results in an error\\.$#" count: 1 @@ -650,21 +495,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Engineering.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\:\\:getConversionGroups\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\:\\:getConversionGroupUnits\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\:\\:getConversionGroupUnitDetails\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\BesselI\\:\\:validateFloat\\(\\) has parameter \\$value with no typehint specified\\.$#" count: 1 @@ -770,11 +600,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Engineering/Complex.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\BitWise\\:\\:splitNumber\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering/BitWise.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\BitWise\\:\\:validateBitwiseArgument\\(\\) never returns int so it can be removed from the return typehint\\.$#" count: 1 @@ -805,21 +630,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Engineering/ConvertBase.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\ConvertUOM\\:\\:getConversionCategories\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\ConvertUOM\\:\\:getConversionCategoryUnits\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\ConvertUOM\\:\\:getConversionCategoryUnitDetails\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Engineering\\\\ConvertUOM\\:\\:getUOMDetails\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2005,11 +1815,6 @@ parameters: count: 4 path: src/PhpSpreadsheet/Calculation/FormulaParser.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Functions\\:\\:\\$errorCodes type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Functions.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Functions\\:\\:isMatrixValue\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2060,16 +1865,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Functions.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Functions\\:\\:flattenArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Functions.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Functions\\:\\:flattenArrayIndexed\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Functions.php - - message: "#^Cannot call method getCell\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 1 @@ -2085,11 +1880,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Internal\\\\MakeMatrix\\:\\:make\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Internal\\\\WildcardMatch\\:\\:wildcard\\(\\) should return string but returns string\\|null\\.$#" count: 1 @@ -2110,46 +1900,6 @@ parameters: count: 3 path: src/PhpSpreadsheet/Calculation/Logical/Operations.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Logical\\\\Operations\\:\\:countTrueValues\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Logical/Operations.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:COLUMN\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:COLUMNS\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:ROW\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:ROWS\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:INDIRECT\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:INDIRECT\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:OFFSET\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:OFFSET\\(\\) should return array\\|string but returns array\\|int\\|string\\.$#" count: 1 @@ -2165,16 +1915,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:TRANSPOSE\\(\\) has parameter \\$matrixData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\:\\:TRANSPOSE\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef.php - - message: "#^Cannot call method getCell\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 2 @@ -2310,16 +2050,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/HLookup.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Indirect\\:\\:INDIRECT\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Indirect\\:\\:INDIRECT\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Indirect\\:\\:extractRequiredCells\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2330,51 +2060,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Indirect\\:\\:extractWorksheet\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:verifyLookupValues\\(\\) has parameter \\$lookupVector with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:verifyLookupValues\\(\\) has parameter \\$resultVector with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:verifyLookupValues\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:verifyResultVector\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:verifyResultVector\\(\\) has parameter \\$lookupVector with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:verifyResultVector\\(\\) has parameter \\$resultVector with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:rowCount\\(\\) has parameter \\$dataArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Lookup\\:\\:columnCount\\(\\) has parameter \\$dataArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\LookupBase\\:\\:validateIndexLookup\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2395,11 +2090,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/LookupBase.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Matrix\\:\\:transpose\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php - - message: "#^Parameter \\#3 \\$rowNum of static method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Matrix\\:\\:extractRowValue\\(\\) expects int, float\\|int\\<0, max\\>\\|string given\\.$#" count: 1 @@ -2410,21 +2100,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Matrix\\:\\:extractRowValue\\(\\) has parameter \\$matrix with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Matrix\\:\\:extractRowValue\\(\\) has parameter \\$rowKeys with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Offset\\:\\:OFFSET\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Offset\\:\\:extractRequiredCells\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2435,11 +2110,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Offset\\:\\:extractWorksheet\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\Offset\\:\\:adjustEndCellColumnForWidth\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2470,11 +2140,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\RowColumnInformation\\:\\:COLUMN\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php - - message: "#^Parameter \\#1 \\$pString of static method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:columnIndexFromString\\(\\) expects string, string\\|null given\\.$#" count: 3 @@ -2485,16 +2150,6 @@ parameters: count: 2 path: src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\RowColumnInformation\\:\\:COLUMNS\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\RowColumnInformation\\:\\:ROW\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php - - message: "#^Parameter \\#1 \\$low of function range expects float\\|int\\|string, string\\|null given\\.$#" count: 1 @@ -2505,11 +2160,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\LookupRef\\\\RowColumnInformation\\:\\:ROWS\\(\\) has parameter \\$cellAddress with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php - - message: "#^Parameter \\#2 \\$cmp_function of function uasort expects callable\\(mixed, mixed\\)\\: int, array\\('self', 'vlookupSort'\\) given\\.$#" count: 1 @@ -2575,36 +2225,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MDETERM\\(\\) has parameter \\$matrixValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MINVERSE\\(\\) has parameter \\$matrixValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MINVERSE\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MMULT\\(\\) has parameter \\$matrixData1 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MMULT\\(\\) has parameter \\$matrixData2 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MMULT\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\:\\:MOD\\(\\) should return int\\|string but returns float\\|int\\|string\\.$#" count: 1 @@ -2620,16 +2240,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/MathTrig.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\Arabic\\:\\:calculateArabic\\(\\) has parameter \\$roman with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/Arabic.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\Arabic\\:\\:strSplit\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/Arabic.php - - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" count: 1 @@ -2660,31 +2270,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\Lcm\\:\\:processPoweredFactors\\(\\) has parameter \\$allPoweredFactors with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\Lcm\\:\\:processPoweredFactors\\(\\) has parameter \\$myPoweredFactors with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/Lcm.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\MatrixFunctions\\:\\:funcMInverse\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\MatrixFunctions\\:\\:funcMMult\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\MatrixFunctions\\:\\:funcMUnit\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\Roman\\:\\:romanCut\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2745,16 +2330,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\SumSquares\\:\\:getCount\\(\\) has parameter \\$array1 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\MathTrig\\\\SumSquares\\:\\:getCount\\(\\) has parameter \\$array2 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/MathTrig/SumSquares.php - - message: "#^Parameter \\#1 \\$str of function rtrim expects string, int given\\.$#" count: 1 @@ -2765,21 +2340,6 @@ parameters: count: 4 path: src/PhpSpreadsheet/Calculation/Statistical.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\:\\:KURT\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\:\\:LINEST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\:\\:LOGEST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\:\\:MAXIFS\\(\\) should return float but returns float\\|string\\|null\\.$#" count: 1 @@ -2790,11 +2350,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Statistical.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\:\\:SKEW\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Averages\\:\\:filterArguments\\(\\) has no return typehint specified\\.$#" count: 1 @@ -2850,21 +2405,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Percentiles.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Percentiles\\:\\:percentileFilterValues\\(\\) has parameter \\$dataSet with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Percentiles.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Percentiles\\:\\:rankFilterValues\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Percentiles.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Percentiles\\:\\:rankFilterValues\\(\\) has parameter \\$dataSet with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Percentiles.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Permutations\\:\\:validateFloat\\(\\) has parameter \\$value with no typehint specified\\.$#" count: 1 @@ -2895,16 +2440,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:filterTrendValues\\(\\) has parameter \\$array1 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:filterTrendValues\\(\\) has parameter \\$array2 with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:checkTrendArrays\\(\\) has parameter \\$array1 with no typehint specified\\.$#" count: 1 @@ -2915,31 +2450,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:validateTrendArrays\\(\\) has parameter \\$xValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:validateTrendArrays\\(\\) has parameter \\$yValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:GROWTH\\(\\) should return array\\ but returns array\\\\>\\>\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:LINEST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:LOGEST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Trends\\:\\:TREND\\(\\) should return array\\ but returns array\\\\>\\>\\.$#" count: 1 @@ -2955,81 +2470,31 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildConditionSet\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildConditionSetForValueRange\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildConditionSetForValueRange\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildConditions\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildConditions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDatabase\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDatabase\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDatabaseWithValueRange\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDatabaseWithValueRange\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDataSet\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDataSet\\(\\) has parameter \\$database with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:buildDataSet\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:databaseFromRangeAndValue\\(\\) has parameter \\$range with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:databaseFromRangeAndValue\\(\\) has parameter \\$valueRange with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Conditional\\:\\:databaseFromRangeAndValue\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\Statistical\\\\Distributions\\\\Beta\\:\\:validateFloat\\(\\) has parameter \\$value with no typehint specified\\.$#" count: 1 @@ -3810,16 +3275,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Calculation/Token/Stack.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\AdvancedValueBinder\\:\\:setImproperFraction\\(\\) has parameter \\$matches with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/AdvancedValueBinder.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\AdvancedValueBinder\\:\\:setProperFraction\\(\\) has parameter \\$matches with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/AdvancedValueBinder.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\:\\:\\$formulaAttributes has no typehint specified\\.$#" count: 1 @@ -3845,71 +3300,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Cell/Cell.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:splitRange\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - message: "#^Parameter \\#2 \\$str of function explode expects string, array\\\\|string given\\.$#" count: 1 path: src/PhpSpreadsheet/Cell/Coordinate.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:buildRange\\(\\) has parameter \\$pRange with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:rangeBoundaries\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:rangeDimension\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:getRangeBoundaries\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:extractAllCellReferencesInRange\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:processRangeSetOperators\\(\\) has parameter \\$cells with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:processRangeSetOperators\\(\\) has parameter \\$operators with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:processRangeSetOperators\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:sortCellReferenceArray\\(\\) has parameter \\$cellList with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:sortCellReferenceArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:getReferencesForCellBlock\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - message: "#^Parameter \\#4 \\$currentRow of static method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:validateRange\\(\\) expects int, string given\\.$#" count: 1 @@ -3920,16 +3315,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Cell/Coordinate.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:mergeRangesInCollection\\(\\) has parameter \\$pCoordCollection with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:mergeRangesInCollection\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/Coordinate.php - - message: "#^Call to an undefined method object\\:\\:getHashCode\\(\\)\\.$#" count: 1 @@ -3940,26 +3325,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Cell/Coordinate.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\DataType\\:\\:\\$errorCodes type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/DataType.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\DataType\\:\\:getErrorCodes\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Cell/DataType.php - - message: "#^Parameter \\#1 \\$pValue of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:substring\\(\\) expects string, string\\|null given\\.$#" count: 1 path: src/PhpSpreadsheet/Cell/DataType.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Axis\\:\\:getLineStyleProperty\\(\\) has parameter \\$elements with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/Axis.php - - message: "#^Parameter \\#2 \\$alpha of method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Axis\\:\\:setShadowColor\\(\\) expects int, int\\|string given\\.$#" count: 1 @@ -3980,21 +3350,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Chart/Axis.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Axis\\:\\:setShadowProperiesMapValues\\(\\) has parameter \\$properties_map with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/Axis.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Axis\\:\\:getShadowProperty\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/Axis.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Axis\\:\\:getGlowProperty\\(\\) has parameter \\$property with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/Axis.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Chart\\:\\:\\$title \\(PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Title\\) does not accept PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Title\\|null\\.$#" count: 1 @@ -4075,11 +3430,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Chart/Chart.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Chart\\:\\:getBottomRightPosition\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/Chart.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Chart\\:\\:setBottomRightCell\\(\\) has no return typehint specified\\.$#" count: 1 @@ -4140,11 +3490,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Chart/DataSeriesValues.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\DataSeriesValues\\:\\:setDataValues\\(\\) has parameter \\$dataValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/DataSeriesValues.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\DataSeriesValues\\:\\:refresh\\(\\) has parameter \\$flatten with no typehint specified\\.$#" count: 1 @@ -4175,11 +3520,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Chart/GridLines.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\GridLines\\:\\:getLineStyleProperty\\(\\) has parameter \\$elements with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/GridLines.php - - message: "#^Parameter \\#1 \\$color of method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\GridLines\\:\\:setGlowColor\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -4210,16 +3550,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Chart/GridLines.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\GridLines\\:\\:setShadowProperiesMapValues\\(\\) has parameter \\$properties_map with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/GridLines.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Layout\\:\\:__construct\\(\\) has parameter \\$layout with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Chart/Layout.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Legend\\:\\:\\$positionXLref has no typehint specified\\.$#" count: 1 @@ -4595,11 +3925,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Collection/Cells.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Collection\\\\Cells\\:\\:getHighestRowAndColumn\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Collection/Cells.php - - message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#" count: 1 @@ -4635,26 +3960,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Collection/Memory.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Collection\\\\Memory\\:\\:deleteMultiple\\(\\) has parameter \\$keys with no value type specified in iterable type iterable\\.$#" - count: 1 - path: src/PhpSpreadsheet/Collection/Memory.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Collection\\\\Memory\\:\\:getMultiple\\(\\) has parameter \\$keys with no value type specified in iterable type iterable\\.$#" - count: 1 - path: src/PhpSpreadsheet/Collection/Memory.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Collection\\\\Memory\\:\\:getMultiple\\(\\) return type has no value type specified in iterable type iterable\\.$#" - count: 1 - path: src/PhpSpreadsheet/Collection/Memory.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Collection\\\\Memory\\:\\:setMultiple\\(\\) has parameter \\$values with no value type specified in iterable type iterable\\.$#" - count: 1 - path: src/PhpSpreadsheet/Collection/Memory.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\DefinedName\\:\\:\\$worksheet \\(PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\) does not accept PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 2 @@ -4700,21 +4005,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Document/Properties.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\DocumentGenerator\\:\\:getCategories\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/DocumentGenerator.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\DocumentGenerator\\:\\:tableRow\\(\\) has parameter \\$lengths with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/DocumentGenerator.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\DocumentGenerator\\:\\:tableRow\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/DocumentGenerator.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\DocumentGenerator\\:\\:getPhpSpreadsheetFunctionText\\(\\) has parameter \\$functionCall with no typehint specified\\.$#" count: 1 @@ -4865,11 +4155,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Helper/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Helper\\\\Html\\:\\:handleCallback\\(\\) has parameter \\$callbacks with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Helper/Html.php - - message: "#^Parameter \\#1 \\$function of function call_user_func expects callable\\(\\)\\: mixed, array\\(\\$this\\(PhpOffice\\\\PhpSpreadsheet\\\\Helper\\\\Html\\), mixed\\) given\\.$#" count: 1 @@ -4920,11 +4205,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/IOFactory.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\NamedRange\\:\\:getCellsInRange\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/NamedRange.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\BaseReader\\:\\:\\$fileHandle has no typehint specified\\.$#" count: 1 @@ -4940,11 +4220,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Csv.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Csv\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Csv.php - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\|null given\\.$#" count: 1 @@ -5030,11 +4305,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Csv/Delimiter.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Csv\\\\Delimiter\\:\\:countDelimiterValues\\(\\) has parameter \\$delimiterKeys with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Csv/Delimiter.php - - message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|null given\\.$#" count: 1 @@ -5045,11 +4315,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Csv/Delimiter.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:\\$expressions type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:\\$referenceHelper has no typehint specified\\.$#" count: 1 @@ -5065,26 +4330,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:listWorksheetNames\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:\\$mappings has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:gnumericMappings\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - message: "#^Parameter \\#1 \\$timestamp of method PhpOffice\\\\PhpSpreadsheet\\\\Document\\\\Properties\\:\\:setCreated\\(\\) expects int\\|string\\|null, int\\|false given\\.$#" count: 2 @@ -5095,31 +4345,11 @@ parameters: count: 2 path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:docPropertiesMeta\\(\\) has parameter \\$namespacesMeta with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:docProperties\\(\\) has parameter \\$namespacesMeta with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - message: "#^Cannot call method setValueExplicit\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:addBorderDiagonal\\(\\) has parameter \\$styleArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:addBorderStyle\\(\\) has parameter \\$styleArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - message: "#^Offset 'No' does not exist on SimpleXMLElement\\|null\\.$#" count: 2 @@ -5155,16 +4385,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:addStyle\\(\\) has parameter \\$styleArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:addStyle2\\(\\) has parameter \\$styleArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:parseBorderAttributes\\(\\) has no return typehint specified\\.$#" count: 1 @@ -5195,31 +4415,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\:\\:addColors\\(\\) has parameter \\$styleArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\\\PageSetup\\:\\:buildMarginSet\\(\\) has parameter \\$marginSet with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric/PageSetup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\\\PageSetup\\:\\:buildMarginSet\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric/PageSetup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Gnumeric\\\\PageSetup\\:\\:adjustMargins\\(\\) has parameter \\$marginSet with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Gnumeric/PageSetup.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:\\$formats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:\\$rowspan has no typehint specified\\.$#" count: 1 @@ -5325,36 +4520,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementTitle\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:\\$spanEtc has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementSpanEtc\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementHr\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementBr\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementA\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Cannot call method getHyperlink\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -5365,86 +4535,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementH1Etc\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementLi\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementImg\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementTable\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementTr\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Cannot call method setRowHeight\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\RowDimension\\|null\\.$#" count: 4 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementThTdOther\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementBgcolor\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementWidth\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Cannot call method setWidth\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\ColumnDimension\\|null\\.$#" count: 3 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementHeight\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementAlign\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementVAlign\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementDataFormat\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:processDomElementThTd\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:applyInlineStyle\\(\\) has parameter \\$attributeArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Parameter \\#2 \\$styleValue of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:setBorderStyle\\(\\) expects string, string\\|null given\\.$#" count: 5 @@ -5470,21 +4570,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:insertImage\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:\\$borderMappings has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Html\\:\\:getBorderMappings\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Html.php - - message: "#^Cannot call method getNamespaces\\(\\) on SimpleXMLElement\\|false\\.$#" count: 1 @@ -5500,11 +4590,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Ods.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Ods\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Ods.php - - message: "#^Cannot call method getElementsByTagNameNS\\(\\) on DOMElement\\|null\\.$#" count: 2 @@ -5690,16 +4775,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Security/XmlScanner.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:\\$formats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:\\$fonts type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - message: "#^Parameter \\#1 \\$haystack of function substr_count expects string, string\\|false given\\.$#" count: 1 @@ -5710,11 +4785,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Slk.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:\\$colorArray has no typehint specified\\.$#" count: 1 @@ -5725,11 +4795,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Slk.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:processCRecord\\(\\) has parameter \\$rowData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -5740,11 +4805,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Slk.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:processFRecord\\(\\) has parameter \\$rowData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:\\$styleSettingsFont has no typehint specified\\.$#" count: 1 @@ -5755,16 +4815,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Slk.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:styleSettings\\(\\) has parameter \\$styleData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:addStyle\\(\\) has parameter \\$styleData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - message: "#^Parameter \\#1 \\$columnIndex of static method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:stringFromColumnIndex\\(\\) expects int, string given\\.$#" count: 3 @@ -5775,116 +4825,6 @@ parameters: count: 3 path: src/PhpSpreadsheet/Reader/Slk.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:processPRecord\\(\\) has parameter \\$rowData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:processPColors\\(\\) has parameter \\$formatArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:processPFontStyles\\(\\) has parameter \\$formatArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:processPFinal\\(\\) has parameter \\$formatArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Slk\\:\\:columnRowFromRowData\\(\\) has parameter \\$rowData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Slk.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$formats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$palette type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$sheets type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$externalBooks type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$ref type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$externalNames type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$definedname type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$sst type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$objs type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$textObjects type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$cellNotes type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$mapCellXfIndex type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$mapCellStyleXfIndex type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$sharedFormulas type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:\\$sharedFormulaParts type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:listWorksheetNames\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - message: "#^Call to an undefined method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\|PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\|PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\\\SpgrContainer\\|PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\\\SpgrContainer\\\\SpContainer\\|PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\|PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\\\BstoreContainer\\|PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\\\BstoreContainer\\\\BSE\\:\\:getDgContainer\\(\\)\\.$#" count: 1 @@ -6190,71 +5130,6 @@ parameters: count: 8 path: src/PhpSpreadsheet/Reader/Xls.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:getSplicedRecordData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:createFormulaFromTokens\\(\\) has parameter \\$tokens with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:getNextToken\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readBIFF8CellRangeAddressList\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readBIFF5CellRangeAddressList\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readBIFF8ConstantArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readBIFF8Constant\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readRGB\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readByteStringShort\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readByteStringLong\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readUnicodeStringShort\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readUnicodeStringLong\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\:\\:readUnicodeString\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls.php - - message: "#^Cannot access offset 1 on array\\|false\\.$#" count: 1 @@ -6270,46 +5145,21 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xls.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\:\\:map\\(\\) has parameter \\$palette with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls/Color.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\:\\:map\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls/Color.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\\\BIFF5\\:\\:\\$map has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Xls/Color/BIFF5.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\\\BIFF5\\:\\:lookup\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls/Color/BIFF5.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\\\BIFF8\\:\\:\\$map has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Xls/Color/BIFF8.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\\\BIFF8\\:\\:lookup\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls/Color/BIFF8.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\\\BuiltIn\\:\\:\\$map has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Xls/Color/BuiltIn.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\Color\\\\BuiltIn\\:\\:lookup\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xls/Color/BuiltIn.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xls\\\\ErrorCode\\:\\:\\$map has no typehint specified\\.$#" count: 1 @@ -6445,11 +5295,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xls/Style/FillPattern.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:listWorksheetNames\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx.php - - message: "#^Cannot access property \\$Relationship on SimpleXMLElement\\|false\\.$#" count: 12 @@ -6460,11 +5305,6 @@ parameters: count: 6 path: src/PhpSpreadsheet/Reader/Xlsx.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx.php - - message: "#^Cannot call method registerXPathNamespace\\(\\) on SimpleXMLElement\\|false\\.$#" count: 4 @@ -6845,11 +5685,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:readHyperLinkDrawing\\(\\) has parameter \\$hyperlinks with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx.php - - message: "#^Offset 'id' does not exist on SimpleXMLElement\\|null\\.$#" count: 1 @@ -6870,11 +5705,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:readFormControlProperties\\(\\) has parameter \\$unparsedLoadedData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:readPrinterSettings\\(\\) has parameter \\$dir with no typehint specified\\.$#" count: 1 @@ -6890,11 +5720,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:readPrinterSettings\\(\\) has parameter \\$unparsedLoadedData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\AutoFilter\\:\\:\\$worksheet has no typehint specified\\.$#" count: 1 @@ -6965,11 +5790,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/Chart.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\Chart\\:\\:chartTitle\\(\\) has parameter \\$namespacesChartMeta with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/Chart.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\Chart\\:\\:chartLayoutDetails\\(\\) has no return typehint specified\\.$#" count: 1 @@ -7145,16 +5965,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:setColumnAttributes\\(\\) has parameter \\$columnAttributes with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:setRowAttributes\\(\\) has parameter \\$rowAttributes with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:isFilteredColumn\\(\\) has no return typehint specified\\.$#" count: 1 @@ -7165,11 +5975,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:isFilteredColumn\\(\\) has parameter \\$rowsAttributes with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:readColumnAttributes\\(\\) has no return typehint specified\\.$#" count: 1 @@ -7195,11 +6000,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:isFilteredRow\\(\\) has parameter \\$columnsAttributes with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ColumnAndRowAttributes\\:\\:isFilteredRow\\(\\) has parameter \\$rowCoordinate with no typehint specified\\.$#" count: 1 @@ -7230,11 +6030,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ConditionalStyles\\:\\:__construct\\(\\) has parameter \\$dxfs with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ConditionalStyles\\:\\:readConditionalStyles\\(\\) has no return typehint specified\\.$#" count: 1 @@ -7245,11 +6040,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ConditionalStyles\\:\\:setConditionalStyles\\(\\) has parameter \\$conditionals with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\ConditionalStyles\\:\\:setConditionalStyles\\(\\) has parameter \\$xmlExtLst with no typehint specified\\.$#" count: 1 @@ -7330,21 +6120,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/PageSetup.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\PageSetup\\:\\:load\\(\\) has parameter \\$unparsedLoadedData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/PageSetup.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\PageSetup\\:\\:pageSetup\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/PageSetup.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\PageSetup\\:\\:pageSetup\\(\\) has parameter \\$unparsedLoadedData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/PageSetup.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\Properties\\:\\:\\$securityScanner has no typehint specified\\.$#" count: 1 @@ -7400,11 +6180,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/Properties.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\Properties\\:\\:getArrayItem\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xlsx/Properties.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\\\Properties\\:\\:getArrayItem\\(\\) has parameter \\$key with no typehint specified\\.$#" count: 1 @@ -7535,11 +6310,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xlsx/Styles.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:\\$styles type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:\\$fileContents has no typehint specified\\.$#" count: 1 @@ -7550,11 +6320,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xml.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:xmlMappings\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml.php - - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#" count: 1 @@ -7570,11 +6335,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xml.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:listWorksheetNames\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml.php - - message: "#^Cannot call method getNamespaces\\(\\) on SimpleXMLElement\\|false\\.$#" count: 3 @@ -7585,11 +6345,6 @@ parameters: count: 3 path: src/PhpSpreadsheet/Reader/Xml.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:listWorksheetInfo\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:identifyFixedStyleValue\\(\\) has no return typehint specified\\.$#" count: 1 @@ -7680,21 +6435,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xml.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:parseStyles\\(\\) has parameter \\$namespaces with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:\\$borderPositions has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Reader/Xml.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:parseStyleBorders\\(\\) has parameter \\$namespaces with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:parseStyleBorders\\(\\) has parameter \\$styleID with no typehint specified\\.$#" count: 1 @@ -7715,16 +6460,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Reader/Xml.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\\\PageSettings\\:\\:__construct\\(\\) has parameter \\$namespaces with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml/PageSettings.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\\\PageSettings\\:\\:pageSetup\\(\\) has parameter \\$namespaces with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Reader/Xml/PageSettings.php - - message: "#^Parameter \\#2 \\$cmp_function of function uksort expects callable\\(mixed, mixed\\)\\: int, array\\('self', 'cellReverseSort'\\) given\\.$#" count: 4 @@ -7875,11 +6610,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/CodePage.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\CodePage\\:\\:getEncodings\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/CodePage.php - - message: "#^Parameter \\#1 \\$dateValue of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Date\\:\\:timestampToExcel\\(\\) expects int, float\\|int\\|string given\\.$#" count: 1 @@ -8015,51 +6745,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/Escher/DgContainer.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\\\SpgrContainer\\:\\:\\$children type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\\\SpgrContainer\\:\\:getChildren\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\\\SpgrContainer\\\\SpContainer\\:\\:\\$OPT type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DgContainer\\\\SpgrContainer\\\\SpContainer\\:\\:getOPTCollection\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\:\\:\\$OPT type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DggContainer.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\:\\:\\$IDCLs type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DggContainer.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\:\\:getIDCLs\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DggContainer.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\:\\:setIDCLs\\(\\) has parameter \\$pValue with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DggContainer.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Escher\\\\DggContainer\\\\BstoreContainer\\:\\:\\$BSECollection type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer.php - - message: "#^Strict comparison using \\=\\=\\= between string\\|false and null will always evaluate to false\\.$#" count: 1 @@ -8080,11 +6770,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/Font.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Font\\:\\:\\$defaultColumnWidths type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Font.php - - message: "#^Parameter \\#1 \\$pValue of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Drawing\\:\\:pixelsToCellDimension\\(\\) expects int, float\\|int given\\.$#" count: 1 @@ -8125,86 +6810,26 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/Font.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\CholeskyDecomposition\\:\\:\\$L type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/CholeskyDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$d type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$e has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$V type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$H type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$ort type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$cdivi has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:\\$A type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:getRealEigenvalues\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\EigenvalueDecomposition\\:\\:getImagEigenvalues\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\LUDecomposition\\:\\:\\$LU type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\LUDecomposition\\:\\:\\$piv type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php - - message: "#^Else branch is unreachable because previous condition is always true\\.$#" count: 1 path: src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\LUDecomposition\\:\\:getPivot\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\LUDecomposition\\:\\:getDoublePivot\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\Matrix\\:\\:\\$A type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/Matrix.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\Matrix\\:\\:__construct\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 @@ -8215,11 +6840,6 @@ parameters: count: 19 path: src/PhpSpreadsheet/Shared/JAMA/Matrix.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\Matrix\\:\\:getArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/Matrix.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\Matrix\\:\\:getMatrix\\(\\) has parameter \\$args with no typehint specified\\.$#" count: 1 @@ -8310,31 +6930,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/JAMA/Matrix.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\QRDecomposition\\:\\:\\$QR type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/QRDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\QRDecomposition\\:\\:\\$Rdiag type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/QRDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\SingularValueDecomposition\\:\\:\\$U type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\SingularValueDecomposition\\:\\:\\$V type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\SingularValueDecomposition\\:\\:\\$s type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php - - message: "#^Left side of && is always true\\.$#" count: 4 @@ -8345,26 +6940,6 @@ parameters: count: 7 path: src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\JAMA\\\\SingularValueDecomposition\\:\\:getSingularValues\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\:\\:\\$_list type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\:\\:\\$bbat type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\:\\:\\$sbat type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\:\\:getStream\\(\\) should return resource but returns resource\\|false\\.$#" count: 1 @@ -8465,36 +7040,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/OLE.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\ChainedBlockStream\\:\\:\\$params type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, string given\\.$#" count: 1 path: src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\ChainedBlockStream\\:\\:stream_stat\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\:\\:\\$children type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\:\\:__construct\\(\\) has parameter \\$children with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\:\\:savePpsSetPnt\\(\\) has parameter \\$raList with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS.php - - message: "#^Parameter \\#3 \\$length of function array_slice expects int\\|null, float given\\.$#" count: 1 @@ -8595,26 +7145,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/OLE/PPS/Root.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\\\Root\\:\\:calcSize\\(\\) has parameter \\$raList with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS/Root.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\\\Root\\:\\:saveBigData\\(\\) has parameter \\$raList with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS/Root.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\\\Root\\:\\:makeSmallData\\(\\) has parameter \\$raList with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS/Root.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLE\\\\PPS\\\\Root\\:\\:savePps\\(\\) has parameter \\$raList with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLE/PPS/Root.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLERead\\:\\:\\$data has no typehint specified\\.$#" count: 1 @@ -8635,11 +7165,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/OLERead.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLERead\\:\\:\\$props type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/OLERead.php - - message: "#^Parameter \\#1 \\$data of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\OLERead\\:\\:getInt4d\\(\\) expects string, string\\|false given\\.$#" count: 8 @@ -8660,11 +7185,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/PasswordHasher.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:\\$SYLKCharacters type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/StringHelper.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:sanitizeUTF8\\(\\) should return string but returns string\\|false\\.$#" count: 1 @@ -8840,11 +7360,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/Trend/BestFit.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Trend\\\\BestFit\\:\\:sumSquares\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Trend/BestFit.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Trend\\\\PolynomialBestFit\\:\\:getCoefficients\\(\\) has no return typehint specified\\.$#" count: 1 @@ -8920,51 +7435,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Shared/Xls.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Xls\\:\\:oneAnchor2twoAnchor\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Shared/Xls.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:\\$workbookViewVisibilityValues has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Spreadsheet.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:\\$ribbonBinObjects type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Spreadsheet.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:\\$unparsedLoadedData type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Spreadsheet.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:getRibbonXMLData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Spreadsheet.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:getUnparsedLoadedData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Spreadsheet.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:setUnparsedLoadedData\\(\\) has parameter \\$unparsedLoadedData with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Spreadsheet.php - - message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#" count: 1 path: src/PhpSpreadsheet/Spreadsheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\:\\:getRibbonBinObjects\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Spreadsheet.php - - message: "#^Unreachable statement \\- code above always terminates\\.$#" count: 1 @@ -9015,26 +7495,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Alignment.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Alignment\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Alignment.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Alignment\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Alignment.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Alignment\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Alignment.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Alignment\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Alignment.php - - message: "#^Parameter \\#1 \\$parent of method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Supervisor\\:\\:bindParent\\(\\) expects PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style, \\$this\\(PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Border\\) given\\.$#" count: 1 @@ -9045,36 +7505,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Border.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Border\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Border.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Border\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Border.php - - message: "#^Call to an undefined method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getStyleArray\\(\\)\\.$#" count: 1 path: src/PhpSpreadsheet/Style/Border.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Border\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Border.php - - message: "#^Right side of && is always true\\.$#" count: 1 path: src/PhpSpreadsheet/Style/Border.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Border\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Border.php - - message: "#^Parameter \\#1 \\$parent of method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Supervisor\\:\\:bindParent\\(\\) expects PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style, \\$this\\(PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Borders\\) given\\.$#" count: 10 @@ -9085,31 +7525,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Borders.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Borders\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Borders.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Borders\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Borders.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Borders\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Borders.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Borders\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Borders.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Color\\:\\:\\$indexedColors type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Color.php - - message: "#^Call to an undefined method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getSharedComponent\\(\\)\\.$#" count: 1 @@ -9130,36 +7545,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Color.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Color\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Color.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Color\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Color.php - - message: "#^Call to an undefined method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getStyleArray\\(\\)\\.$#" count: 1 path: src/PhpSpreadsheet/Style/Color.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Color\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Color.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Color\\:\\:getColourComponent\\(\\) should return int\\|string but returns float\\|int\\|string\\.$#" count: 1 path: src/PhpSpreadsheet/Style/Color.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Color\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Color.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Conditional\\:\\:\\$condition \\(array\\\\) does not accept array\\\\.$#" count: 1 @@ -9190,11 +7585,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBar.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\ConditionalFormatting\\\\ConditionalDataBarExtension\\:\\:\\$axisColor type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBarExtension.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\ConditionalFormatting\\\\ConditionalDataBarExtension\\:\\:getXmlAttributes\\(\\) has no return typehint specified\\.$#" count: 1 @@ -9215,11 +7605,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBarExtension.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\ConditionalFormatting\\\\ConditionalDataBarExtension\\:\\:getAxisColor\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBarExtension.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\ConditionalFormatting\\\\ConditionalFormatValueObject\\:\\:\\$type has no typehint specified\\.$#" count: 1 @@ -9350,26 +7735,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Fill.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Fill\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Fill.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Fill\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Fill.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Fill\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Fill.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Fill\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Fill.php - - message: "#^Parameter \\#1 \\$parent of method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Supervisor\\:\\:bindParent\\(\\) expects PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style, \\$this\\(PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\) given\\.$#" count: 1 @@ -9380,86 +7745,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Font.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Font.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Font.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Font.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Font.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:\\$builtInFormats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:\\$flippedBuiltInFormats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - message: "#^Call to an undefined method PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getSharedComponent\\(\\)\\.$#" count: 1 path: src/PhpSpreadsheet/Style/NumberFormat.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:\\$builtInFormatCode \\(int\\|false\\) does not accept bool\\|int\\.$#" count: 1 path: src/PhpSpreadsheet/Style/NumberFormat.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:toFormattedString\\(\\) has parameter \\$callBack with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\DateFormatter\\:\\:\\$dateFormatReplacements type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\DateFormatter\\:\\:\\$dateFormatReplacements24 type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\DateFormatter\\:\\:\\$dateFormatReplacements12 type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\DateFormatter\\:\\:format\\(\\) has parameter \\$value with no typehint specified\\.$#" count: 1 @@ -9555,11 +7850,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/NumberFormat/Formatter.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\Formatter\\:\\:toFormattedString\\(\\) has parameter \\$callBack with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat/Formatter.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\Formatter\\:\\:toFormattedString\\(\\) should return string but returns float\\|int\\|string\\.$#" count: 1 @@ -9595,11 +7885,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/NumberFormat/NumberFormatter.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\NumberFormatter\\:\\:mergeComplexNumberFormatMasks\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat/NumberFormatter.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\NumberFormatter\\:\\:processComplexNumberFormatMask\\(\\) has parameter \\$mask with no typehint specified\\.$#" count: 1 @@ -9640,11 +7925,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/NumberFormat/NumberFormatter.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\NumberFormatter\\:\\:formatStraightNumericValue\\(\\) has parameter \\$matches with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/NumberFormat/NumberFormatter.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\NumberFormat\\\\NumberFormatter\\:\\:formatStraightNumericValue\\(\\) has parameter \\$useThousands with no typehint specified\\.$#" count: 1 @@ -9695,26 +7975,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Protection.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Protection\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Protection.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Protection\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Protection.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Protection\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Protection.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Protection\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Protection.php - - message: "#^Cannot call method getXfIndex\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 3 @@ -9730,21 +7990,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Style.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getStyleArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getStyleArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:applyFromArray\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - message: "#^Cannot call method getXfIndex\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\ColumnDimension\\|null\\.$#" count: 2 @@ -9770,46 +8015,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Style/Style.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getOldXfIndexes\\(\\) has parameter \\$pStyles with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getOldXfIndexes\\(\\) has parameter \\$rangeEnd with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getOldXfIndexes\\(\\) has parameter \\$rangeStart with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:getOldXfIndexes\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Style\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Style.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Supervisor\\:\\:exportArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Supervisor.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Supervisor\\:\\:exportArray1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Supervisor.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Supervisor\\:\\:exportArray2\\(\\) has parameter \\$exportedArray with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Style/Supervisor.php - - message: "#^Result of && is always true\\.$#" count: 1 @@ -9825,11 +8030,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/AutoFilter.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\:\\:\\$fromReplace type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/AutoFilter.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\:\\:\\$toReplace has no typehint specified\\.$#" count: 1 @@ -10070,16 +8270,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/MemoryDrawing.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:\\$columnsToRepeatAtLeft type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:\\$rowsToRepeatAtTop type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:\\$pageOrder has no typehint specified\\.$#" count: 1 @@ -10090,26 +8280,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:getColumnsToRepeatAtLeft\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:setColumnsToRepeatAtLeft\\(\\) has parameter \\$pValue with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:getRowsToRepeatAtTop\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:setRowsToRepeatAtTop\\(\\) has parameter \\$pValue with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/PageSetup.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\PageSetup\\:\\:getPrintArea\\(\\) should return string but returns string\\|null\\.$#" count: 1 @@ -10155,11 +8325,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/SheetView.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$invalidCharacters type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$drawingCollection with generic class ArrayObject does not specify its types\\: TKey, TValue$#" count: 1 @@ -10170,26 +8335,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$conditionalStylesCollection type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$protectedCells type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$hyperlinkCollection type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$dataValidationCollection type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:\\$parent \\(PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\) does not accept PhpOffice\\\\PhpSpreadsheet\\\\Spreadsheet\\|null\\.$#" count: 1 @@ -10210,11 +8355,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:getInvalidCharacters\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:getDrawingCollection\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" count: 1 @@ -10270,11 +8410,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:getHighestRowAndColumn\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 4 @@ -10305,11 +8440,6 @@ parameters: count: 2 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:getConditionalStylesCollection\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Cannot call method setXfIndex\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -10360,16 +8490,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:fromArray\\(\\) has parameter \\$source with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:rangeToArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 4 @@ -10395,11 +8515,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:namedRangeToArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Cannot call method getWorksheet\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\DefinedName\\|null\\.$#" count: 1 @@ -10415,46 +8530,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Worksheet/Worksheet.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Csv\\:\\:\\$enclosureRequired has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Csv.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Csv\\:\\:writeLine\\(\\) has parameter \\$pValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Csv.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:\\$cssStyles type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:\\$columnWidths type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:\\$isSpannedCell type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:\\$isBaseCell type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:\\$isSpannedRow type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Call to function array_key_exists\\(\\) with int and array\\('none' \\=\\> 'none', 'dashDot' \\=\\> '1px dashed', 'dashDotDot' \\=\\> '1px dotted', 'dashed' \\=\\> '1px dashed', 'dotted' \\=\\> '1px dotted', 'double' \\=\\> '3px double', 'hair' \\=\\> '1px solid', 'medium' \\=\\> '2px solid', \\.\\.\\.\\) will always evaluate to false\\.$#" count: 1 @@ -10525,11 +8605,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:extendRowsForCharts\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, string\\|null given\\.$#" count: 1 @@ -10575,31 +8650,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:buildCssRowHeights\\(\\) has parameter \\$css with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:buildCssPerSheet\\(\\) has parameter \\$css with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:buildCSS\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:createCSSStyle\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:createCSSStyleAlignment\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Parameter \\#1 \\$vAlign of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:mapVAlign\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -10610,26 +8660,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:createCSSStyleFont\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:createCSSStyleBorders\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Parameter \\#1 \\$borderStyle of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:mapBorderStyle\\(\\) expects int, string given\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:createCSSStyleFill\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:generateHTMLFooter\\(\\) has no return typehint specified\\.$#" count: 1 @@ -10855,21 +8890,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:generateRow\\(\\) has parameter \\$pValues with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Cannot call method getXfIndex\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Html.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:assembleCSS\\(\\) has parameter \\$pValue with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Html.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:calculateSpansOmitRows\\(\\) has parameter \\$candidateSpannedRow with no typehint specified\\.$#" count: 1 @@ -10960,11 +8985,6 @@ parameters: count: 2 path: src/PhpSpreadsheet/Writer/Ods/Settings.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Pdf\\:\\:\\$paperSizes type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Pdf.php - - message: "#^Strict comparison using \\=\\=\\= between int and null will always evaluate to false\\.$#" count: 1 @@ -10975,41 +8995,16 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Pdf/Dompdf.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Pdf\\\\Mpdf\\:\\:createExternalWriterInstance\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Pdf/Mpdf.php - - message: "#^Strict comparison using \\=\\=\\= between null and int will always evaluate to false\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Pdf/Mpdf.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Pdf\\\\Tcpdf\\:\\:createExternalWriterInstance\\(\\) has parameter \\$paperSize with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php - - message: "#^Strict comparison using \\=\\=\\= between int and null will always evaluate to false\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\:\\:\\$strTable type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\:\\:\\$colors type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\:\\:\\$IDCLs type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -11075,16 +9070,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\:\\:writeSummaryPropOle\\(\\) has parameter \\$dataSection with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\:\\:writeSummaryProp\\(\\) has parameter \\$dataSection with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls.php - - message: "#^Parameter \\#2 \\$pad_length of function str_pad expects int, float\\|int given\\.$#" count: 1 @@ -11105,16 +9090,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Escher.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Escher\\:\\:\\$spOffsets type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Escher.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Escher\\:\\:\\$spTypes type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Escher.php - - message: "#^If condition is always true\\.$#" count: 3 @@ -11125,16 +9100,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Escher.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Escher\\:\\:getSpOffsets\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Escher.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Escher\\:\\:getSpTypes\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Escher.php - - message: "#^Parameter \\#1 \\$name of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Font\\:\\:getCharsetFromFontName\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -11160,26 +9125,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Font.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:\\$externalSheets type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:\\$references type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:\\$ptg type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:\\$functions type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:\\$spreadsheet has no typehint specified\\.$#" count: 1 @@ -11200,41 +9145,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:cellToPackedRowcol\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:rangeToPackedRange\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:cellToRowcol\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:advance\\(\\) has no return typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:parenthesizedExpression\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:createTree\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Parser\\:\\:toReversePolish\\(\\) has parameter \\$tree with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - message: "#^Offset 'left' does not exist on \\(array&nonEmpty\\)\\|string\\.$#" count: 6 @@ -11250,61 +9165,11 @@ parameters: count: 7 path: src/PhpSpreadsheet/Writer/Xls/Parser.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$palette type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$addedFonts type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$numberFormats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$addedNumberFormats type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$worksheetSizes type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$worksheetOffsets type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$stringTable type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:\\$colors has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:__construct\\(\\) has parameter \\$colors with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:__construct\\(\\) has parameter \\$str_table with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Workbook\\:\\:writeWorkbook\\(\\) has parameter \\$pWorksheetSizes with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - message: "#^Cannot call method getTitle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 1 @@ -11345,41 +9210,11 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Workbook.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:\\$columnInfo type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:\\$selection type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:\\$stringTable type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:\\$colors has no typehint specified\\.$#" count: 1 path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:\\$fontHashIndex type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:__construct\\(\\) has parameter \\$colors with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:__construct\\(\\) has parameter \\$str_table with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - message: "#^Parameter \\#2 \\$height of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:writeRow\\(\\) expects int, float given\\.$#" count: 1 @@ -11430,11 +9265,6 @@ parameters: count: 3 path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:writeRichTextString\\(\\) has parameter \\$arrcRun with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\\\|false given\\.$#" count: 1 @@ -11455,11 +9285,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:writeColinfo\\(\\) has parameter \\$col_array with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - message: "#^Parameter \\#1 \\$hexadecimal_number of function hexdec expects string, array given\\.$#" count: 1 @@ -11485,11 +9310,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:processBitmapGd\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - message: "#^Parameter \\#1 \\$im of function imagesx expects resource, GdImage\\|resource given\\.$#" count: 1 @@ -11520,11 +9340,6 @@ parameters: count: 3 path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xls\\\\Worksheet\\:\\:processBitmap\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xls/Worksheet.php - - message: "#^Parameter \\#2 \\$length of function fread expects int, int\\|false given\\.$#" count: 1 @@ -11630,11 +9445,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xlsx.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\:\\:addZipFiles\\(\\) has parameter \\$zipContent with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xlsx.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Chart\\:\\:\\$calculateCellValues has no typehint specified\\.$#" count: 1 @@ -11750,11 +9560,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xlsx/Chart.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Chart\\:\\:getChartType\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xlsx/Chart.php - - message: "#^Strict comparison using \\=\\=\\= between PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\DataSeries and null will always evaluate to false\\.$#" count: 1 @@ -11795,11 +9600,6 @@ parameters: count: 6 path: src/PhpSpreadsheet/Writer/Xlsx/Chart.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\Comments\\:\\:writeComment\\(\\) has parameter \\$pAuthors with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xlsx/Comments.php - - message: "#^Parameter \\#1 \\$string of function substr expects string, int given\\.$#" count: 1 @@ -12000,16 +9800,6 @@ parameters: count: 2 path: src/PhpSpreadsheet/Writer/Xlsx/StringTable.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\StringTable\\:\\:flipStringTable\\(\\) has parameter \\$stringTable with no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xlsx/StringTable.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\\\StringTable\\:\\:flipStringTable\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/PhpSpreadsheet/Writer/Xlsx/StringTable.php - - message: "#^Parameter \\#2 \\$value of method XMLWriter\\:\\:writeAttribute\\(\\) expects string, int given\\.$#" count: 22 @@ -12215,51 +10005,6 @@ parameters: count: 1 path: src/PhpSpreadsheet/Writer/Xlsx/Xlfn.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:\\$locale has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:providerBinaryComparisonOperation\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:testGetFunctions\\(\\) has parameter \\$functionCall with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:providerGetFunctions\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:providerCanLoadAllSupportedLocales\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects Countable\\|iterable, array\\|bool given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Cannot access offset 2 on array\\|bool\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Cannot access offset 4 on array\\|bool\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 9 @@ -12280,31 +10025,11 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - message: "#^Argument of an invalid type array\\|bool supplied for foreach, only iterables are supported\\.$#" - count: 4 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - message: "#^Cannot call method getWorksheet\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\CalculationTest\\:\\:dataProviderBranchPruningFullExecution\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/CalculationTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/DefinedNameConfusedForCellTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/DefinedNameConfusedForCellTest.php - - message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 4 @@ -12316,33 +10041,8 @@ parameters: path: tests/PhpSpreadsheetTests/Calculation/DefinedNamesCalculationTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\DefinedNamesCalculationTest\\:\\:namedRangeCalculationTest1\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/DefinedNamesCalculationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\DefinedNamesCalculationTest\\:\\:namedRangeCalculationTest2\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/DefinedNamesCalculationTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Engine\\\\RangeTest\\:\\:\\$spreadSheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Engine\\\\RangeTest\\:\\:providerRangeEvaluation\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Engine\\\\RangeTest\\:\\:providerNamedRangeEvaluation\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Engine\\\\RangeTest\\:\\:providerUTF8NamedRangeEvaluation\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 path: tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php - @@ -12350,11 +10050,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Engine\\\\RangeTest\\:\\:providerCompositeNamedRangeEvaluation\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -12366,400 +10061,225 @@ parameters: path: tests/PhpSpreadsheetTests/Calculation/FormulaAsStringTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FormulaAsStringTest\\:\\:providerFunctionsAsString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FormulaAsStringTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateDifTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DAverageTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DAverageTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DAverageTest\\:\\:providerDAverage\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountATest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountATest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountATest\\:\\:providerDCountA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountTest\\:\\:database3\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DCountTest\\:\\:providerDCount\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DGetTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DGetTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DGetTest\\:\\:providerDGet\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DMaxTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DMaxTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DMaxTest\\:\\:providerDMax\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DMinTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DMinTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DMinTest\\:\\:providerDMin\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DProductTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DProductTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DProductTest\\:\\:providerDProduct\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DStDevPTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DStDevPTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DStDevPTest\\:\\:providerDStDevP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DStDevTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DStDevTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DStDevTest\\:\\:providerDStDev\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DSumTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DSumTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DSumTest\\:\\:providerDSum\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DVarPTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DVarPTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DVarPTest\\:\\:providerDVarP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DVarTest\\:\\:database1\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DVarTest\\:\\:database2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Database\\\\DVarTest\\:\\:providerDVar\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\AllSetupTeardown\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\AllSetupTeardown\\:\\:\\$excelCalendar has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\AllSetupTeardown\\:\\:\\$returnDateType has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\AllSetupTeardown\\:\\:\\$spreadsheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\AllSetupTeardown\\:\\:\\$sheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\DateDifTest\\:\\:providerDATEDIF\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateDifTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\DateTest\\:\\:providerDATE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\DateValueTest\\:\\:providerDATEVALUE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\DayTest\\:\\:providerDAY\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\DayTest\\:\\:providerDAYOpenOffice\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\Days360Test\\:\\:providerDAYS360\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\DaysTest\\:\\:providerDAYS\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DaysTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DaysTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\EDateTest\\:\\:providerEDATE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EDateTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EDateTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\EoMonthTest\\:\\:providerEOMONTH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EoMonthTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EoMonthTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\HourTest\\:\\:providerHOUR\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\IsoWeekNumTest\\:\\:providerISOWEEKNUM\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\IsoWeekNumTest\\:\\:providerISOWEEKNUM1904\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\MinuteTest\\:\\:providerMINUTE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\MonthTest\\:\\:providerMONTH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\NetworkDaysTest\\:\\:testNETWORKDAYS\\(\\) has parameter \\$arg3 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 6 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\NetworkDaysTest\\:\\:providerNETWORKDAYS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 6 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NowTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\SecondTest\\:\\:providerSECOND\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\TimeTest\\:\\:providerTIME\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\TimeValueTest\\:\\:providerTIMEVALUE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\WeekDayTest\\:\\:providerWEEKDAY\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 6 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TodayTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php - - message: "#^Parameter \\#1 \\$dateValue of static method PhpOffice\\\\PhpSpreadsheet\\\\Calculation\\\\DateTimeExcel\\\\WeekDay\\:\\:funcWeekDay\\(\\) expects float\\|int\\|string, null given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\WeekNumTest\\:\\:providerWEEKNUM\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\WeekNumTest\\:\\:providerWEEKNUM1904\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\WorkDayTest\\:\\:testWORKDAY\\(\\) has parameter \\$arg3 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 6 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\WorkDayTest\\:\\:providerWORKDAY\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 7 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearFracTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\YearFracTest\\:\\:providerYEARFRAC\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearFracTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\DateTime\\\\YearTest\\:\\:providerYEAR\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselITest\\:\\:testBESSELI\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselITest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselITest\\:\\:providerBESSELI\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselITest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselJTest\\:\\:testBESSELJ\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselJTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselJTest\\:\\:providerBESSEJ\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselJTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselKTest\\:\\:testBESSELK\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselKTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselKTest\\:\\:providerBESSELK\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselKTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselYTest\\:\\:testBESSELY\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselYTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BesselYTest\\:\\:providerBESSELY\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselYTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Bin2DecTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -12770,16 +10290,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Bin2DecTest\\:\\:providerBIN2DEC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Bin2HexTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -12790,16 +10300,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Bin2HexTest\\:\\:providerBIN2HEX\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Bin2OctTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -12810,11 +10310,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Bin2OctTest\\:\\:providerBIN2OCT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -12825,11 +10320,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BitAndTest\\:\\:providerBITAND\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -12840,11 +10330,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BitLShiftTest\\:\\:providerBITLSHIFT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -12855,11 +10340,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BitOrTest\\:\\:providerBITOR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -12870,11 +10350,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BitRShiftTest\\:\\:providerBITRSHIFT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -12885,36 +10360,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\BitXorTest\\:\\:providerBITXOR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ComplexTest\\:\\:testCOMPLEX\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ComplexTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ComplexTest\\:\\:providerCOMPLEX\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ComplexTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ConvertUoMTest\\:\\:testCONVERTUOM\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ConvertUoMTest\\:\\:providerCONVERTUOM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Dec2BinTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -12925,16 +10370,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Dec2BinTest\\:\\:providerDEC2BIN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Dec2HexTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -12945,16 +10380,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Dec2HexTest\\:\\:providerDEC2HEX\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Dec2OctTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -12965,66 +10390,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Dec2OctTest\\:\\:providerDEC2OCT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\DeltaTest\\:\\:testDELTA\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\DeltaTest\\:\\:providerDELTA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ErfCTest\\:\\:testERFC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ErfCTest\\:\\:providerERFC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ErfPreciseTest\\:\\:testERFPRECISE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ErfPreciseTest\\:\\:providerERFPRECISE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ErfTest\\:\\:testERF\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ErfTest\\:\\:providerERF\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\GeStepTest\\:\\:testGESTEP\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/GeStepTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\GeStepTest\\:\\:providerGESTEP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/GeStepTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Hex2BinTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -13035,16 +10400,6 @@ parameters: count: 6 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Hex2BinTest\\:\\:providerHEX2BIN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Hex2DecTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -13055,16 +10410,6 @@ parameters: count: 6 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Hex2DecTest\\:\\:providerHEX2DEC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Hex2OctTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -13075,166 +10420,6 @@ parameters: count: 6 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Hex2OctTest\\:\\:providerHEX2OCT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImAbsTest\\:\\:providerIMABS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImAbsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImArgumentTest\\:\\:providerIMARGUMENT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImConjugateTest\\:\\:providerIMCONJUGATE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImConjugateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImCosTest\\:\\:providerIMCOS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCosTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImCoshTest\\:\\:providerIMCOSH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCoshTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImCotTest\\:\\:providerIMCOT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImCscTest\\:\\:providerIMCSC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImCschTest\\:\\:providerIMCSCH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCschTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImDivTest\\:\\:testIMDIV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImDivTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImDivTest\\:\\:providerIMDIV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImDivTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImExpTest\\:\\:providerIMEXP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImExpTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImLnTest\\:\\:providerIMLN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLnTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImLog10Test\\:\\:providerIMLOG10\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog10Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImLog2Test\\:\\:providerIMLOG2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImPowerTest\\:\\:testIMPOWER\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImPowerTest\\:\\:providerIMPOWER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImProductTest\\:\\:testIMPRODUCT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImProductTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImProductTest\\:\\:providerIMPRODUCT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImProductTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImRealTest\\:\\:providerIMREAL\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImRealTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSecTest\\:\\:providerIMSEC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSecTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSechTest\\:\\:providerIMSECH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSechTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSinTest\\:\\:providerIMSIN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSinhTest\\:\\:providerIMSINH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinhTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSqrtTest\\:\\:providerIMSQRT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSqrtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSubTest\\:\\:testIMSUB\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSubTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSubTest\\:\\:providerIMSUB\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSubTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSumTest\\:\\:testIMSUM\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImSumTest\\:\\:providerIMSUM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImTanTest\\:\\:providerIMTAN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImTanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\ImaginaryTest\\:\\:providerIMAGINARY\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Oct2BinTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -13245,16 +10430,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Oct2BinTest\\:\\:providerOCT2BIN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Oct2DecTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -13265,16 +10440,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Oct2DecTest\\:\\:providerOCT2DEC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Oct2HexTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -13286,2125 +10451,760 @@ parameters: path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Engineering\\\\Oct2HexTest\\:\\:providerOCT2HEX\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AbsTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AccrintMTest\\:\\:testACCRINTM\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AccrintMTest\\:\\:providerACCRINTM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AccrintTest\\:\\:testACCRINT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AccrintTest\\:\\:providerACCRINT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AmorDegRcTest\\:\\:testAMORDEGRC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AmorDegRcTest\\:\\:providerAMORDEGRC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AmorLincTest\\:\\:testAMORLINC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\AmorLincTest\\:\\:providerAMORLINC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupDayBsTest\\:\\:testCOUPDAYBS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupDayBsTest\\:\\:providerCOUPDAYBS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupDaysNcTest\\:\\:testCOUPDAYSNC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupDaysNcTest\\:\\:providerCOUPDAYSNC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupDaysTest\\:\\:testCOUPDAYS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupDaysTest\\:\\:providerCOUPDAYS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupNcdTest\\:\\:testCOUPNCD\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupNcdTest\\:\\:providerCOUPNCD\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupNumTest\\:\\:testCOUPNUM\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupNumTest\\:\\:providerCOUPNUM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupPcdTest\\:\\:testCOUPPCD\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CoupPcdTest\\:\\:providerCOUPPCD\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CumIpmtTest\\:\\:testCUMIPMT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CumIpmtTest\\:\\:providerCUMIPMT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CumPrincTest\\:\\:testCUMPRINC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\CumPrincTest\\:\\:providerCUMPRINC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DbTest\\:\\:testDB\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DbTest\\:\\:providerDB\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DdbTest\\:\\:testDDB\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DdbTest\\:\\:providerDDB\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DiscTest\\:\\:testDISC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DiscTest\\:\\:providerDISC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DollarDeTest\\:\\:testDOLLARDE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DollarDeTest\\:\\:providerDOLLARDE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DollarFrTest\\:\\:testDOLLARFR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\DollarFrTest\\:\\:providerDOLLARFR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\EffectTest\\:\\:providerEFFECT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/EffectTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\FvScheduleTest\\:\\:testFVSCHEDULE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvScheduleTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\FvScheduleTest\\:\\:providerFVSCHEDULE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvScheduleTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\FvTest\\:\\:testFV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\FvTest\\:\\:providerFV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php - - - - message: "#^Parameter \\#3 \\$message of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) expects string, float given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\HelpersTest\\:\\:providerDaysPerYear\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IPmtTest\\:\\:testIPMT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IPmtTest\\:\\:providerIPMT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IntRateTest\\:\\:testINTRATE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IntRateTest\\:\\:providerINTRATE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IrrTest\\:\\:testIRR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IrrTest\\:\\:providerIRR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IsPmtTest\\:\\:testISPMT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\IsPmtTest\\:\\:providerISPMT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\MirrTest\\:\\:testMIRR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/MirrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\MirrTest\\:\\:providerMIRR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/MirrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\NPerTest\\:\\:testNPER\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\NPerTest\\:\\:providerNPER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\NominalTest\\:\\:providerNOMINAL\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NominalTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\NpvTest\\:\\:testNPV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\NpvTest\\:\\:providerNPV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PDurationTest\\:\\:testPDURATION\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PDurationTest\\:\\:providerPDURATION\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PmtTest\\:\\:testPMT\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PmtTest\\:\\:providerPMT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PpmtTest\\:\\:testPPMT\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PpmtTest\\:\\:providerPPMT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceDiscTest\\:\\:testPRICEDISC\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceDiscTest\\:\\:providerPRICEDISC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceMatTest\\:\\:testPRICEMAT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceMatTest\\:\\:providerPRICEMAT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceTest\\:\\:testPRICE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceTest\\:\\:providerPRICE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceTest\\:\\:testPRICE3\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PriceTest\\:\\:providerPRICE3\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PvTest\\:\\:testPV\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\PvTest\\:\\:providerPV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\RateTest\\:\\:testRATE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\RateTest\\:\\:providerRATE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\ReceivedTest\\:\\:testRECEIVED\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\ReceivedTest\\:\\:providerRECEIVED\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\RriTest\\:\\:testRRI\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\RriTest\\:\\:providerRRI\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\SlnTest\\:\\:testSLN\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\SlnTest\\:\\:providerSLN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\SydTest\\:\\:testSYD\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\SydTest\\:\\:providerSYD\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\TBillEqTest\\:\\:testTBILLEQ\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\TBillEqTest\\:\\:providerTBILLEQ\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\TBillPriceTest\\:\\:testTBILLPRICE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\TBillPriceTest\\:\\:providerTBILLPRICE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\TBillYieldTest\\:\\:testTBILLYIELD\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\TBillYieldTest\\:\\:providerTBILLYIELD\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\XNpvTest\\:\\:testXNPV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XNpvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\XNpvTest\\:\\:providerXNPV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XNpvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\XirrTest\\:\\:testXIRR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XirrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\XirrTest\\:\\:providerXIRR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XirrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\YieldDiscTest\\:\\:testYIELDDISC\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\YieldDiscTest\\:\\:providerYIELDDISC\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\YieldMatTest\\:\\:testYIELDMAT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Financial\\\\YieldMatTest\\:\\:providerYIELDMAT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\AndTest\\:\\:testAND\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\AndTest\\:\\:providerAND\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\IfErrorTest\\:\\:providerIFERROR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfErrorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\IfNaTest\\:\\:providerIFNA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfNaTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\IfTest\\:\\:testIF\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\IfTest\\:\\:providerIF\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\IfsTest\\:\\:providerIFS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\NotTest\\:\\:testNOT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\NotTest\\:\\:providerNOT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\OrTest\\:\\:testOR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\OrTest\\:\\:providerOR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\SwitchTest\\:\\:testSWITCH\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\SwitchTest\\:\\:providerSwitch\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\XorTest\\:\\:testXOR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Logical\\\\XorTest\\:\\:providerXOR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\AddressTest\\:\\:testADDRESS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\AddressTest\\:\\:providerADDRESS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\ChooseTest\\:\\:testCHOOSE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ChooseTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\ChooseTest\\:\\:providerCHOOSE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ChooseTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\ColumnTest\\:\\:providerCOLUMN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\ColumnsTest\\:\\:testCOLUMNS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\ColumnsTest\\:\\:providerCOLUMNS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\HLookupTest\\:\\:testHLOOKUP\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/HLookupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\HLookupTest\\:\\:providerHLOOKUP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/HLookupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\IndexTest\\:\\:testINDEX\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\IndexTest\\:\\:providerINDEX\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\IndirectTest\\:\\:providerINDIRECT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndirectTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\LookupTest\\:\\:testLOOKUP\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/LookupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\LookupTest\\:\\:providerLOOKUP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/LookupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\MatchTest\\:\\:testMATCH\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\MatchTest\\:\\:providerMATCH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\OffsetTest\\:\\:providerOFFSET\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/OffsetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\RowTest\\:\\:providerROW\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\RowsTest\\:\\:testROWS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\RowsTest\\:\\:providerROWS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\TransposeTest\\:\\:providerTRANSPOSE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/TransposeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\VLookupTest\\:\\:testVLOOKUP\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/VLookupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\LookupRef\\\\VLookupTest\\:\\:providerVLOOKUP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/VLookupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AbsTest\\:\\:providerAbs\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AbsTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AcosTest\\:\\:providerAcos\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcosTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcosTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AcoshTest\\:\\:providerAcosh\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcoshTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcoshTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AcotTest\\:\\:providerACOT\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AcothTest\\:\\:providerACOTH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AllSetupTeardown\\:\\:\\$compatibilityMode has no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.php + + - + message: "#^Cannot call method setValueExplicit\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AllSetupTeardown\\:\\:\\$spreadsheet has no typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AllSetupTeardown\\:\\:\\$sheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ArabicTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\ArabicTest\\:\\:providerARABIC\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ArabicTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AsinTest\\:\\:providerAsin\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AsinhTest\\:\\:providerAsinh\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinhTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinhTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\Atan2Test\\:\\:providerATAN2\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Atan2Test.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Atan2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AtanTest\\:\\:providerAtan\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\AtanhTest\\:\\:providerAtanh\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanhTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanhTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\BaseTest\\:\\:providerBASE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 7 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/BaseTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/BaseTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CeilingMathTest\\:\\:providerCEILINGMATH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingMathTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CeilingPreciseTest\\:\\:providerFLOORPRECISE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingMathTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingPreciseTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CeilingTest\\:\\:providerCEILING\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingPreciseTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CombinATest\\:\\:providerCOMBINA\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinATest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinATest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CombinTest\\:\\:providerCOMBIN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CosTest\\:\\:providerCos\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CosTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CoshTest\\:\\:providerCosh\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CosTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CoshTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CotTest\\:\\:providerCOT\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CoshTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CothTest\\:\\:providerCOTH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CscTest\\:\\:providerCSC\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\CschTest\\:\\:providerCSCH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\DegreesTest\\:\\:providerDegrees\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/DegreesTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/DegreesTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\EvenTest\\:\\:providerEVEN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\ExpTest\\:\\:providerEXP\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ExpTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ExpTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\FactDoubleTest\\:\\:providerFACTDOUBLE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactDoubleTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactDoubleTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\FactTest\\:\\:providerFACT\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 6 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\FactTest\\:\\:providerFACTGnumeric\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\FloorMathTest\\:\\:providerFLOORMATH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorMathTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\FloorPreciseTest\\:\\:providerFLOORPRECISE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorMathTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorPreciseTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\FloorTest\\:\\:providerFLOOR\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorPreciseTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\GcdTest\\:\\:testGCD\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\GcdTest\\:\\:providerGCD\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\IntTest\\:\\:providerINT\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/IntTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\LcmTest\\:\\:testLCM\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/IntTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\LcmTest\\:\\:providerLCM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LnTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\LnTest\\:\\:providerLN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LnTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\Log10Test\\:\\:providerLN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Log10Test.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Log10Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\LogTest\\:\\:providerLOG\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 5 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LogTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LogTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MInverseTest\\:\\:testMINVERSE\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MInverseTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MInverseTest\\:\\:providerMINVERSE\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MInverseTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MMultTest\\:\\:testMMULT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 9 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MMultTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MMultTest\\:\\:providerMMULT\\(\\) has no return typehint specified\\.$#" - count: 1 + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MMultTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MRoundTest\\:\\:providerMROUND\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MRoundTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MdeTermTest\\:\\:providerMDETERM\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MRoundTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\ModTest\\:\\:providerMOD\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 5 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ModTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ModTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MultinomialTest\\:\\:testMULTINOMIAL\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\MultinomialTest\\:\\:providerMULTINOMIAL\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\OddTest\\:\\:providerODD\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\PowerTest\\:\\:providerPOWER\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 5 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/PowerTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/PowerTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\ProductTest\\:\\:testPRODUCT\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\ProductTest\\:\\:providerPRODUCT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 5 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/QuotientTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\QuotientTest\\:\\:providerQUOTIENT\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/QuotientTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\RadiansTest\\:\\:providerRADIANS\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RadiansTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RadiansTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\RandBetweenTest\\:\\:providerRANDBETWEEN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 5 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\RomanTest\\:\\:providerROMAN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RomanTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\RoundDownTest\\:\\:providerRoundDown\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RomanTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\RoundTest\\:\\:providerRound\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\RoundUpTest\\:\\:providerRoundUp\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SecTest\\:\\:providerSEC\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SechTest\\:\\:providerSECH\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SeriesSumTest\\:\\:testSERIESSUM\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 5 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SeriesSumTest\\:\\:providerSERIESSUM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SignTest\\:\\:providerSIGN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SinTest\\:\\:providerSin\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SinhTest\\:\\:providerCosh\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinhTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SqrtPiTest\\:\\:providerSQRTPI\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinhTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtPiTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtPiTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SqrtTest\\:\\:providerSqrt\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SubTotalTest\\:\\:providerSUBTOTAL\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 4 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php + + - + message: "#^Cannot call method setVisible\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\ColumnDimension\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SubTotalTest\\:\\:providerSUBTOTALHIDDEN\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setVisible\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\RowDimension\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumIfTest\\:\\:testSUMIF2\\(\\) has parameter \\$array1 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 3 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php + + - + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumIfTest\\:\\:testSUMIF2\\(\\) has parameter \\$array2 with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumIfTest\\:\\:providerSUMIF\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumIfsTest\\:\\:testSUMIFS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumIfsTest\\:\\:providerSUMIFS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumProductTest\\:\\:testSUMPRODUCT\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumProductTest\\:\\:providerSUMPRODUCT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumSqTest\\:\\:testSUMSQ\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumSqTest\\:\\:providerSUMSQ\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumTest\\:\\:testSUM\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumTest\\:\\:providerSUM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumX2MY2Test\\:\\:testSUMX2MY2\\(\\) has parameter \\$matrixData1 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumX2MY2Test\\:\\:testSUMX2MY2\\(\\) has parameter \\$matrixData2 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumX2MY2Test\\:\\:providerSUMX2MY2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumX2PY2Test\\:\\:testSUMX2PY2\\(\\) has parameter \\$matrixData1 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumX2PY2Test\\:\\:testSUMX2PY2\\(\\) has parameter \\$matrixData2 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumX2PY2Test\\:\\:providerSUMX2PY2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumXMY2Test\\:\\:testSUMXMY2\\(\\) has parameter \\$matrixData1 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumXMY2Test\\:\\:testSUMXMY2\\(\\) has parameter \\$matrixData2 with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\SumXMY2Test\\:\\:providerSUMXMY2\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\TanTest\\:\\:providerTan\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\TanhTest\\:\\:providerTanh\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanhTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\MathTrig\\\\TruncTest\\:\\:providerTRUNC\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanhTest.php + + - + message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AveDevTest\\:\\:testAVEDEV\\(\\) has parameter \\$args with no typehint specified\\.$#" + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AveDevTest\\:\\:providerAVEDEV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageATest\\:\\:testAVERAGEA\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageATest\\:\\:providerAVERAGEA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageIfTest\\:\\:testAVERAGEIF\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageIfTest\\:\\:providerAVERAGEIF\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageIfsTest\\:\\:testAVERAGEIFS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageIfsTest\\:\\:providerAVERAGEIFS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageTest\\:\\:testAVERAGE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\AverageTest\\:\\:providerAVERAGE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BetaDistTest\\:\\:testBETADIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BetaDistTest\\:\\:providerBETADIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BetaInvTest\\:\\:testBETAINV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BetaInvTest\\:\\:providerBETAINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BinomDistRangeTest\\:\\:testBINOMDISTRANGE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BinomDistRangeTest\\:\\:providerBINOMDISTRANGE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BinomDistTest\\:\\:testBINOMDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BinomDistTest\\:\\:providerBINOMDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BinomInvTest\\:\\:testBINOMINV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\BinomInvTest\\:\\:providerBINOMINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiDistLeftTailTest\\:\\:testCHIDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiDistLeftTailTest\\:\\:providerCHIDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiDistRightTailTest\\:\\:testCHIDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiDistRightTailTest\\:\\:providerCHIDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiInvLeftTailTest\\:\\:providerCHIINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvLeftTailTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiInvRightTailTest\\:\\:providerCHIINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvRightTailTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ChiTestTest\\:\\:providerCHITEST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiTestTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ConfidenceTest\\:\\:testCONFIDENCE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ConfidenceTest\\:\\:providerCONFIDENCE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CorrelTest\\:\\:providerCORREL\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CorrelTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountATest\\:\\:testCOUNTA\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountATest\\:\\:providerCOUNTA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountBlankTest\\:\\:testCOUNTBLANK\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountBlankTest\\:\\:providerCOUNTBLANK\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountIfTest\\:\\:testCOUNTIF\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountIfTest\\:\\:providerCOUNTIF\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountIfsTest\\:\\:testCOUNTIFS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountIfsTest\\:\\:providerCOUNTIFS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:testBasicCOUNT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:providerBasicCOUNT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:testExcelCOUNT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:providerExcelCOUNT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:testOpenOfficeCOUNT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:providerOpenOfficeCOUNT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:testGnumericCOUNT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CountTest\\:\\:providerGnumericCOUNT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CovarTest\\:\\:testCOVAR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\CovarTest\\:\\:providerCOVAR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ExponDistTest\\:\\:testEXPONDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ExponDistTest\\:\\:providerEXPONDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\FDistTest\\:\\:testFDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\FDistTest\\:\\:providerFDIST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\FisherInvTest\\:\\:providerFISHERINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\FisherTest\\:\\:providerFISHER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ForecastTest\\:\\:testFORECAST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ForecastTest\\:\\:providerFORECAST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GammaDistTest\\:\\:testGAMMADIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GammaDistTest\\:\\:providerGAMMADIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GammaInvTest\\:\\:testGAMMAINV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GammaInvTest\\:\\:providerGAMMAINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GammaLnTest\\:\\:providerGAMMALN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaLnTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GammaTest\\:\\:providerGAMMA\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GaussTest\\:\\:providerGAUSS\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GaussTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GeoMeanTest\\:\\:testGEOMEAN\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GeoMeanTest\\:\\:providerGEOMEAN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GrowthTest\\:\\:testGROWTH\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\GrowthTest\\:\\:providerGROWTH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\HarMeanTest\\:\\:testHARMEAN\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\HarMeanTest\\:\\:providerHARMEAN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\HypGeomDistTest\\:\\:testHYPGEOMDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\HypGeomDistTest\\:\\:providerHYPGEOMDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\InterceptTest\\:\\:testINTERCEPT\\(\\) has parameter \\$xargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\InterceptTest\\:\\:testINTERCEPT\\(\\) has parameter \\$yargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\InterceptTest\\:\\:providerINTERCEPT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\KurtTest\\:\\:testKURT\\(\\) has parameter \\$values with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\KurtTest\\:\\:providerKURT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LargeTest\\:\\:providerLARGE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LargeTest.php - - - - message: "#^Cannot access offset int on array\\|int\\|string\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LinEstTest\\:\\:providerLINEST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php - - - - message: "#^Cannot access offset int on array\\|int\\|string\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogEstTest\\:\\:providerLOGEST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogInvTest\\:\\:testLOGINV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogInvTest\\:\\:providerLOGINV\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogNormDist2Test\\:\\:testLOGNORMDIST2\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogNormDist2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogNormDist2Test\\:\\:providerLOGNORMDIST2\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogNormDist2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogNormDistTest\\:\\:testLOGNORMDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogNormDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\LogNormDistTest\\:\\:providerLOGNORMDIST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogNormDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MaxATest\\:\\:testMAXA\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MaxATest\\:\\:providerMAXA\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MaxIfsTest\\:\\:testMAXIFS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MaxIfsTest\\:\\:providerMAXIFS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MaxTest\\:\\:testMAX\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MaxTest\\:\\:providerMAX\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MedianTest\\:\\:testMEDIAN\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MedianTest\\:\\:providerMEDIAN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MinATest\\:\\:testMINA\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MinATest\\:\\:providerMINA\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MinIfsTest\\:\\:testMINIFS\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MinIfsTest\\:\\:providerMINIFS\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MinTest\\:\\:testMIN\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\MinTest\\:\\:providerMIN\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinTest.php + path: tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php - message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 3 path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ModeTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ModeTest\\:\\:providerMODE\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ModeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NegBinomDistTest\\:\\:testNEGBINOMDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NegBinomDistTest\\:\\:providerNEGBINOMDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormDistTest\\:\\:testNORMDIST\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormDistTest\\:\\:providerNORMDIST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormInvTest\\:\\:testNORMINV\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormInvTest\\:\\:providerNORMINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormSDist2Test\\:\\:testNORMSDIST2\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSDist2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormSDist2Test\\:\\:providerNORMSDIST2\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSDist2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormSDistTest\\:\\:providerNORMSDIST\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\NormSInvTest\\:\\:providerNORMSINV\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormSInvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PercentRankTest\\:\\:providerPERCENTRANK\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentRankTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PercentileTest\\:\\:testPERCENTILE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PercentileTest\\:\\:providerPERCENTILE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PermutTest\\:\\:testPERMUT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PermutTest\\:\\:providerPERMUT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PermutationATest\\:\\:testPERMUT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PermutationATest\\:\\:providerPERMUT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PoissonTest\\:\\:testPOISSON\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\PoissonTest\\:\\:providerPOISSON\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\QuartileTest\\:\\:testQUARTILE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\QuartileTest\\:\\:providerQUARTILE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\RankTest\\:\\:providerRANK\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RankTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\RsqTest\\:\\:testRSQ\\(\\) has parameter \\$xargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\RsqTest\\:\\:testRSQ\\(\\) has parameter \\$yargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\RsqTest\\:\\:providerRSQ\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SkewTest\\:\\:testSKEW\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SkewTest\\:\\:providerSKEW\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SlopeTest\\:\\:testSLOPE\\(\\) has parameter \\$xargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SlopeTest\\:\\:testSLOPE\\(\\) has parameter \\$yargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SlopeTest\\:\\:providerSLOPE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SmallTest\\:\\:providerSMALL\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SmallTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevATest\\:\\:providerSTDEVA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevATest\\:\\:providerOdsSTDEVA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevPATest\\:\\:providerSTDEVPA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevPATest\\:\\:providerOdsSTDEVPA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevPTest\\:\\:providerSTDEVP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevPTest\\:\\:providerOdsSTDEVP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevTest\\:\\:providerSTDEV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StDevTest\\:\\:providerOdsSTDEV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StandardizeTest\\:\\:testSTANDARDIZE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StandardizeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\StandardizeTest\\:\\:providerSTANDARDIZE\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StandardizeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SteyxTest\\:\\:testSTEYX\\(\\) has parameter \\$xargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SteyxTest\\:\\:testSTEYX\\(\\) has parameter \\$yargs with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\SteyxTest\\:\\:providerSTEYX\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\TDistTest\\:\\:providerTDIST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\TinvTest\\:\\:providerTINV\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TinvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\TrendTest\\:\\:testTREND\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\TrendTest\\:\\:providerGROWTH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\TrimMeanTest\\:\\:testTRIMMEAN\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\TrimMeanTest\\:\\:providerTRIMMEAN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarATest\\:\\:providerVARA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarATest\\:\\:providerOdsVARA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarPATest\\:\\:providerVARPA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarPATest\\:\\:providerOdsVARPA\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarPTest\\:\\:providerVARP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarPTest\\:\\:providerOdsVARP\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarTest\\:\\:providerVAR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\VarTest\\:\\:providerOdsVAR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\WeibullTest\\:\\:providerWEIBULL\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/WeibullTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Statistical\\\\ZTestTest\\:\\:providerZTEST\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ZTestTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\CharTest\\:\\:providerCHAR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CharTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\CleanTest\\:\\:providerCLEAN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CleanTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\CodeTest\\:\\:providerCODE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CodeTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ConcatenateTest\\:\\:testCONCATENATE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ConcatenateTest\\:\\:providerCONCATENATE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\DollarTest\\:\\:testDOLLAR\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/DollarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\DollarTest\\:\\:providerDOLLAR\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/DollarTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ExactTest\\:\\:testEXACT\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ExactTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ExactTest\\:\\:providerEXACT\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ExactTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\FindTest\\:\\:testFIND\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FindTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\FindTest\\:\\:providerFIND\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FindTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\FixedTest\\:\\:testFIXED\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FixedTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\FixedTest\\:\\:providerFIXED\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FixedTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\LeftTest\\:\\:testLEFT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\LeftTest\\:\\:providerLEFT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\LeftTest\\:\\:providerLocaleLEFT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\LenTest\\:\\:providerLEN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LenTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\LowerTest\\:\\:providerLOWER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LowerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\LowerTest\\:\\:providerLocaleLOWER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LowerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\MidTest\\:\\:testMID\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\MidTest\\:\\:providerMID\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\MidTest\\:\\:providerLocaleMID\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\NumberValueTest\\:\\:testNUMBERVALUE\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\NumberValueTest\\:\\:providerNUMBERVALUE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ProperTest\\:\\:providerPROPER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ProperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ProperTest\\:\\:providerLocaleLOWER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ProperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ReplaceTest\\:\\:testREPLACE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReplaceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ReplaceTest\\:\\:providerREPLACE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReplaceTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -15415,311 +11215,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReptTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ReptTest\\:\\:providerREPT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReptTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\RightTest\\:\\:testRIGHT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\RightTest\\:\\:providerRIGHT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\RightTest\\:\\:providerLocaleRIGHT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\SearchTest\\:\\:testSEARCH\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SearchTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\SearchTest\\:\\:providerSEARCH\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SearchTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\SubstituteTest\\:\\:testSUBSTITUTE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SubstituteTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\SubstituteTest\\:\\:providerSUBSTITUTE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SubstituteTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\TTest\\:\\:providerT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\TextJoinTest\\:\\:testTEXTJOIN\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextJoinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\TextJoinTest\\:\\:providerTEXTJOIN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextJoinTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\TextTest\\:\\:testTEXT\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\TextTest\\:\\:providerTEXT\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\TrimTest\\:\\:providerTRIM\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TrimTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\UpperTest\\:\\:providerUPPER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/UpperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\UpperTest\\:\\:providerLocaleLOWER\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/UpperTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ValueTest\\:\\:\\$currencyCode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ValueTest\\:\\:\\$decimalSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ValueTest\\:\\:\\$thousandsSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\TextData\\\\ValueTest\\:\\:providerVALUE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Web\\\\WebServiceTest\\:\\:testWEBSERVICE\\(\\) has parameter \\$responseData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Web/WebServiceTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\Functions\\\\Web\\\\WebServiceTest\\:\\:providerWEBSERVICE\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/Functions/Web/WebServiceTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:\\$returnDate has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsBlank\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsBlank\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsErr\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsErr\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsError\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsError\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testErrorType\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerErrorType\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsLogical\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsLogical\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsNa\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsNa\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsNumber\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsNumber\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsText\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsText\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsNonText\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsNonText\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsEven\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsEven\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIsOdd\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsOdd\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testTYPE\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerTYPE\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testN\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerN\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIsFormula\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:testIfCondition\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\FunctionsTest\\:\\:providerIfCondition\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\LookupRefTest\\:\\:providerFormulaText\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/LookupRefTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\TranslationTest\\:\\:\\$compatibilityMode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/TranslationTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\TranslationTest\\:\\:\\$returnDate has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/TranslationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Calculation\\\\TranslationTest\\:\\:providerTranslations\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/TranslationTest.php - - message: "#^Cannot call method setAutoSize\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\ColumnDimension\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\IReader\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -15730,76 +11230,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AddressHelperTest\\:\\:providerR1C1ConversionToA1Absolute\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AddressHelperTest\\:\\:providerR1C1ConversionToA1Relative\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AddressHelperTest\\:\\:providerR1C1ConversionToA1Exception\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AddressHelperTest\\:\\:providerA1ConversionToR1C1Absolute\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AddressHelperTest\\:\\:providerA1ConversionToR1C1Relative\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AddressHelperTest\\:\\:providerA1ConversionToR1C1Exception\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:\\$currencyCode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:\\$decimalSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:\\$thousandsSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:currencyProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:fractionProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:percentageProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:timeProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\AdvancedValueBinderTest\\:\\:stringProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php - - message: "#^Cannot call method setValueExplicit\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 @@ -15810,116 +11240,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Cell/CellTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CellTest\\:\\:providerSetValueExplicit\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CellTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CellTest\\:\\:providerSetValueExplicitException\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CellTest.php - - message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Cell/CellTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerColumnString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerColumnIndex\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerCoordinates\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:testIndexesFromString\\(\\) has parameter \\$expectedResult with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerIndexesFromString\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerAbsoluteCoordinates\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerAbsoluteReferences\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerSplitRange\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerBuildRange\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Parameter \\#1 \\$pRange of static method PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Coordinate\\:\\:buildRange\\(\\) expects array, null given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerRangeBoundaries\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerRangeDimension\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerGetRangeBoundaries\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:testExtractAllCellReferencesInRange\\(\\) has parameter \\$expectedResult with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerExtractAllCellReferencesInRange\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerInvalidRange\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerMergeRangesInCollection\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\CoordinateTest\\:\\:providerCoordinateIsRange\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/CoordinateTest.php - - - - message: "#^Parameter \\#1 \\$string of function strlen expects string, PhpOffice\\\\PhpSpreadsheet\\\\RichText\\\\RichText\\|string\\|null given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/DataTypeTest.php - - message: "#^Cannot call method hasValidValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 9 @@ -15935,41 +11260,16 @@ parameters: count: 8 path: tests/PhpSpreadsheetTests/Cell/DataValidatorTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\DefaultValueBinderTest\\:\\:createCellStub\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\DefaultValueBinderTest\\:\\:binderProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\DefaultValueBinderTest\\:\\:providerDataTypeForValue\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php - - - - message: "#^Parameter \\#1 \\$pUrl of class PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Hyperlink constructor expects string, null given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Cell/HyperlinkTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Cell\\\\ValueBinderWithOverriddenDataTypeForValue\\:\\:\\$called has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Cell/ValueBinderWithOverriddenDataTypeForValue.php - - - - message: "#^Parameter \\#1 \\$overlay of method PhpOffice\\\\PhpSpreadsheet\\\\Chart\\\\Legend\\:\\:setOverlay\\(\\) expects bool, string given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Chart/LegendTest.php - - message: "#^Parameter \\#2 \\$cell of method PhpOffice\\\\PhpSpreadsheet\\\\Collection\\\\Cells\\:\\:add\\(\\) expects PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell, PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null given\\.$#" count: 2 path: tests/PhpSpreadsheetTests/Collection/CellsTest.php + - + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with arguments PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell, null and 'should get exact…' will always evaluate to false\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Collection/CellsTest.php + - message: "#^Cannot call method getParent\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -15995,101 +11295,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Collection/CellsTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:\\$errorMessage has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:testExpectedExceptions\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:testExpectedExceptions\\(\\) has parameter \\$actual with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:testExpectedExceptions\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:adjustDelta\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:adjustDelta\\(\\) has parameter \\$actual with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:adjustDelta\\(\\) has parameter \\$delta with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:adjustDelta\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:assertComplexEquals\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:assertComplexEquals\\(\\) has parameter \\$actual with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:assertComplexEquals\\(\\) has parameter \\$delta with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:assertComplexEquals\\(\\) has parameter \\$expected with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Result of \\|\\| is always false\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Custom\\\\ComplexAssert\\:\\:getErrorMessage\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Custom/ComplexAssert.php - - - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\NamedRange\\|null\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php - - - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\NamedFormula\\|null\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\DefinedNameFormulaTest\\:\\:providerRangeOrFormula\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php - - - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\DefinedName\\|null\\.$#" - count: 5 - path: tests/PhpSpreadsheetTests/DefinedNameTest.php - - - - message: "#^Cannot call method getCell\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" - count: 20 - path: tests/PhpSpreadsheetTests/DefinedNameTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 14 @@ -16100,86 +11305,11 @@ parameters: count: 6 path: tests/PhpSpreadsheetTests/DefinedNameTest.php - - - message: "#^Cannot call method getTitle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/DefinedNameTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Document\\\\PropertiesTest\\:\\:\\$properties has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Document/PropertiesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Document\\\\PropertiesTest\\:\\:providerCreationTime\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Document/PropertiesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Document\\\\PropertiesTest\\:\\:providerModifiedTime\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Document/PropertiesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Document\\\\PropertiesTest\\:\\:testSetCustomProperties\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Document/PropertiesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Document\\\\PropertiesTest\\:\\:providerCustomProperties\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Document/PropertiesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\DocumentGeneratorTest\\:\\:testGenerateFunctionListByName\\(\\) has parameter \\$phpSpreadsheetFunctions with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/DocumentGeneratorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\DocumentGeneratorTest\\:\\:testGenerateFunctionListByCategory\\(\\) has parameter \\$phpSpreadsheetFunctions with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/DocumentGeneratorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\DocumentGeneratorTest\\:\\:providerGenerateFunctionListByName\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/DocumentGeneratorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\DocumentGeneratorTest\\:\\:providerGenerateFunctionListByCategory\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/DocumentGeneratorTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\IReader\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ActiveSheetTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ActiveSheetTest.php - - message: "#^Cannot call method getStyle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Functional/ActiveSheetTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ColumnWidthTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ColumnWidthTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ColumnWidthTest\\:\\:testReadColumnWidth\\(\\) has parameter \\$format with no typehint specified\\.$#" count: 1 @@ -16195,11 +11325,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Functional/ColumnWidthTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\CommentsTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/CommentsTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\CommentsTest\\:\\:testComments\\(\\) has parameter \\$format with no typehint specified\\.$#" count: 1 @@ -16210,11 +11335,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Functional/CommentsTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ConditionalStopIfTrueTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ConditionalStopIfTrueTest.php - - message: "#^Parameter \\#1 \\$pValue of method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Conditional\\:\\:addCondition\\(\\) expects string, float given\\.$#" count: 2 @@ -16255,11 +11375,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Functional/DrawingImageHyperlinkTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\EnclosureTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/EnclosureTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -16270,61 +11385,16 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Functional/EnclosureTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\FreezePaneTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/FreezePaneTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\MergedCellsTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/MergedCellsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\PrintAreaTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/PrintAreaTest.php - - message: "#^Cannot call method getPageSetup\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 5 path: tests/PhpSpreadsheetTests/Functional/PrintAreaTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ReadBlankCellsTest\\:\\:providerSheetFormat\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 3 path: tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ReadFilterTest\\:\\:providerCellsValues\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ReadFilterTest\\:\\:testXlsxLoadWithoutReadFilter\\(\\) has parameter \\$arrayData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\ReadFilterTest\\:\\:testXlsxLoadWithReadFilter\\(\\) has parameter \\$arrayData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\SelectedCellsTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/SelectedCellsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\StreamTest\\:\\:providerFormats\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/StreamTest.php - - message: "#^Cannot access offset 'size' on array\\(0 \\=\\> int, 1 \\=\\> int, 2 \\=\\> int, 3 \\=\\> int, 4 \\=\\> int, 5 \\=\\> int, 6 \\=\\> int, 7 \\=\\> int, \\.\\.\\.\\)\\|false\\.$#" count: 2 @@ -16332,7 +11402,7 @@ parameters: - message: "#^Parameter \\#1 \\$fp of function fstat expects resource, resource\\|false given\\.$#" - count: 2 + count: 1 path: tests/PhpSpreadsheetTests/Functional/StreamTest.php - @@ -16340,21 +11410,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Functional/StreamTest.php - - - message: "#^Parameter \\#1 \\$fp of function ftell expects resource, resource\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/StreamTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\TypeAttributePreservationTest\\:\\:providerFormulae\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\TypeAttributePreservationTest\\:\\:testFormulae\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php - - message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -16375,41 +11430,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Functional\\\\WorkbookViewAttributesTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Functional/WorkbookViewAttributesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Helper\\\\HtmlTest\\:\\:providerUtf8EncodingSupport\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Helper/HtmlTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Helper\\\\SampleTest\\:\\:providerSample\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Helper/SampleTest.php - - message: "#^Parameter \\#1 \\$expected of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\, string given\\.$#" count: 3 path: tests/PhpSpreadsheetTests/IOFactoryTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\IOFactoryTest\\:\\:providerCreateWriter\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/IOFactoryTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\IOFactoryTest\\:\\:providerCreateReader\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/IOFactoryTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\IOFactoryTest\\:\\:providerIdentify\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/IOFactoryTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\NamedFormula\\|null\\.$#" count: 5 @@ -16420,21 +11445,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/NamedRangeTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvContiguousFilter\\:\\:\\$startRow has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvContiguousFilter\\:\\:\\$endRow has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvContiguousFilter\\:\\:\\$filterType has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvContiguousFilter\\:\\:setFilterType\\(\\) has parameter \\$type with no typehint specified\\.$#" count: 1 @@ -16460,11 +11470,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvContiguousTest\\:\\:\\$inputFileName has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvContiguousTest.php - - message: "#^Cannot call method getCell\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 3 @@ -16475,36 +11480,16 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Reader/CsvContiguousTest.php + - + message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNull\\(\\) with string will always evaluate to false\\.$#" + count: 1 + path: tests/PhpSpreadsheetTests/Reader/CsvTest.php + - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 13 path: tests/PhpSpreadsheetTests/Reader/CsvTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvTest\\:\\:providerDelimiterDetection\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvTest\\:\\:providerCanLoad\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvTest\\:\\:providerEncodings\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvTest\\:\\:providerEscapes\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\CsvTest\\:\\:providerGuessEncoding\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/CsvTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 10 @@ -16525,66 +11510,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericLoadTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\GnumericStylesTest\\:\\:providerBorderStyle\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericStylesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\GnumericStylesTest\\:\\:providerFillType\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericStylesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\GnumericStylesTest\\:\\:providerHorizontal\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericStylesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\GnumericStylesTest\\:\\:providerUnderline\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericStylesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\GnumericStylesTest\\:\\:providerVertical\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericStylesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\GnumericStylesTest\\:\\:providerDataType\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/GnumericStylesTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\PageSetupTest\\:\\:pageSetupAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/PageSetupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Gnumeric\\\\PageSetupTest\\:\\:pageMarginAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Gnumeric/PageSetupTest.php - - message: "#^Cannot call method getStyle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 6 path: tests/PhpSpreadsheetTests/Reader/Html/HtmlBorderTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Html\\\\HtmlBorderTest\\:\\:providerBorderStyle\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Html/HtmlBorderTest.php - - - - message: "#^Parameter \\#1 \\$file of function file_put_contents expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Html/HtmlHelper.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Html\\\\HtmlHelper\\:\\:createHtml\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Html/HtmlHelper.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 7 @@ -16610,11 +11540,6 @@ parameters: count: 6 path: tests/PhpSpreadsheetTests/Reader/Html/HtmlTagsTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Html\\\\HtmlTest\\:\\:providerCanReadVerySmallFile\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Html/HtmlTest.php - - message: "#^Cannot call method getStyle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 16 @@ -16635,16 +11560,6 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Reader/Html/HtmlTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Ods\\\\OdsTest\\:\\:\\$timeZone has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 16 @@ -16675,36 +11590,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Ods\\\\PageSetupBug1772Test\\:\\:pageSetupAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Ods/PageSetupBug1772Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Ods\\\\PageSetupBug1772Test\\:\\:pageMarginAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Ods/PageSetupBug1772Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Ods\\\\PageSetupTest\\:\\:pageSetupAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Ods/PageSetupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Ods\\\\PageSetupTest\\:\\:pageMarginAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Ods/PageSetupTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Security\\\\XmlScannerTest\\:\\:testValidXML\\(\\) has parameter \\$libxmlDisableEntityLoader with no typehint specified\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Security\\\\XmlScannerTest\\:\\:providerValidXML\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php - - message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" count: 3 @@ -16715,26 +11605,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Security\\\\XmlScannerTest\\:\\:providerInvalidXML\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Security\\\\XmlScannerTest\\:\\:providerValidXMLForCallback\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\SlkTest\\:\\:\\$testbook has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/SlkTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\SlkTest\\:\\:\\$filename has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/SlkTest.php - - message: "#^Cannot call method getStyle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 52 @@ -16750,16 +11620,6 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Reader/SlkTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xls\\\\PageSetupTest\\:\\:pageSetupAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xls/PageSetupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xls\\\\PageSetupTest\\:\\:pageMarginAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xls/PageSetupTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -16795,11 +11655,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xlsx\\\\AutoFilterTest\\:\\:loadDataProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php - - message: "#^Function PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\getTitleText\\(\\) has no return typehint specified\\.$#" count: 1 @@ -16810,21 +11665,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Xlsx/ChartsTitleTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\IReader\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php - - message: "#^Cannot call method setMinimumConditionalFormatValueObject\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\ConditionalFormatting\\\\ConditionalDataBar\\|null\\.$#" count: 1 @@ -16865,31 +11705,6 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Reader/Xlsx/NamedRangeTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xlsx\\\\PageSetupTest\\:\\:pageSetupAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xlsx/PageSetupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xlsx\\\\PageSetupTest\\:\\:pageMarginAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xlsx/PageSetupTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\IReader\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php - - message: "#^Cannot call method getRowHeight\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\RowDimension\\|null\\.$#" count: 1 @@ -16920,41 +11735,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/XlsxTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/XlsxTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/XlsxTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/XlsxTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\XlsxTest\\:\\:testStripsWhiteSpaceFromStyleString\\(\\) has parameter \\$string with no typehint specified\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Reader/XlsxTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\XlsxTest\\:\\:providerStripsWhiteSpaceFromStyleString\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/XlsxTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xml\\\\PageSetupTest\\:\\:pageSetupAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/PageSetupTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xml\\\\PageSetupTest\\:\\:pageMarginAssertions\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/PageSetupTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 11 @@ -16975,36 +11760,11 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Xml/XmlLoadTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xml\\\\XmlOddTest\\:\\:\\$filename has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php - - - - message: "#^Parameter \\#1 \\$file of function file_put_contents expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xml\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xml\\\\XmlStyleCoverageTest\\:\\:providerBorderStyle\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/XmlStyleCoverageTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xml\\\\XmlStyleCoverageTest\\:\\:providerFillType\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/XmlStyleCoverageTest.php - - message: "#^Cannot call method getStyle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 70 @@ -17015,11 +11775,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Reader\\\\Xml\\\\XmlTest\\:\\:providerInvalidSimpleXML\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php - - message: "#^Argument of an invalid type array\\\\|false supplied for foreach, only iterables are supported\\.$#" count: 1 @@ -17041,77 +11796,7 @@ parameters: path: tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\ReferenceHelperTest\\:\\:providerFormulaUpdates\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/ReferenceHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\ReferenceHelperTest\\:\\:providerMultipleWorksheetFormulaUpdates\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/ReferenceHelperTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\CodePageTest\\:\\:providerCodePage\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/CodePageTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:\\$excelCalendar has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:\\$dttimezone has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeExcelToTimestamp1900\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeTimestampToExcel1900\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeDateTimeToExcel\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:testDateTimeFormattedPHPToExcel1900\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeFormattedPHPToExcel1900\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeExcelToTimestamp1904\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeTimestampToExcel1904\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:testIsDateTimeFormatCode\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerIsDateTimeFormatCode\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\DateTest\\:\\:providerDateTimeExcelToTimestamp1900Timezone\\(\\) has no return typehint specified\\.$#" + message: "#^Parameter \\#1 \\$timeZone of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Date\\:\\:setDefaultTimezone\\(\\) expects DateTimeZone\\|string, DateTimeZone\\|null given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Shared/DateTest.php @@ -17120,63 +11805,13 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" - count: 3 - path: tests/PhpSpreadsheetTests/Shared/DateTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\FontTest\\:\\:providerFontSizeToPixels\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/FontTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\FontTest\\:\\:providerInchSizeToPixels\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/FontTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\FontTest\\:\\:providerCentimeterSizeToPixels\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/FontTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\PasswordHasherTest\\:\\:testHashPassword\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/PasswordHasherTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\PasswordHasherTest\\:\\:providerHashPassword\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/PasswordHasherTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\StringHelperTest\\:\\:\\$currencyCode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/StringHelperTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\StringHelperTest\\:\\:\\$decimalSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/StringHelperTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\StringHelperTest\\:\\:\\$thousandsSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/StringHelperTest.php - - message: "#^Parameter \\#1 \\$pValue of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:setCurrencyCode\\(\\) expects string, null given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Shared/StringHelperTest.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\TimeZoneTest\\:\\:\\$tztimezone has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\TimeZoneTest\\:\\:\\$dttimezone has no typehint specified\\.$#" + message: "#^Parameter \\#1 \\$timeZone of static method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\Date\\:\\:setDefaultTimezone\\(\\) expects DateTimeZone\\|string, DateTimeZone\\|null given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php @@ -17190,21 +11825,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\Trend\\\\ExponentialBestFitTest\\:\\:providerExponentialBestFit\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/Trend/ExponentialBestFitTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Shared\\\\Trend\\\\LinearBestFitTest\\:\\:providerLinearBestFit\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Shared/Trend/LinearBestFitTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\SpreadsheetTest\\:\\:dataProviderForSheetNames\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/SpreadsheetTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\SpreadsheetTest\\:\\:testGetSheetByName\\(\\) has parameter \\$index with no typehint specified\\.$#" count: 1 @@ -17250,46 +11870,6 @@ parameters: count: 65 path: tests/PhpSpreadsheetTests/Style/BorderTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:testGetRed\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:providerColorGetRed\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:testGetGreen\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:providerColorGetGreen\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:testGetBlue\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:providerColorGetBlue\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:testChangeBrightness\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\ColorTest\\:\\:providerColorChangeBrightness\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/ColorTest.php - - message: "#^Parameter \\#1 \\$pValue of method PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Conditional\\:\\:addCondition\\(\\) expects string, float given\\.$#" count: 2 @@ -17340,86 +11920,26 @@ parameters: count: 3 path: tests/PhpSpreadsheetTests/Style/NumberFormatBuiltinTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:\\$currencyCode has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:\\$decimalSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:\\$thousandsSeparator has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:testFormatValueWithMask\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:providerNumberFormat\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:testFormatValueWithMaskDate\\(\\) has parameter \\$args with no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Style\\\\NumberFormatTest\\:\\:providerNumberFormatDates\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Style/NumberFormatTest.php - - message: "#^Cannot call method getStyle\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 5 path: tests/PhpSpreadsheetTests/Style/StyleTest.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilter\\\\Column\\\\RuleTest\\:\\:\\$testAutoFilterRuleObject has no typehint specified\\.$#" + message: "#^Parameter \\#1 \\$pValue of method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\\\Column\\\\Rule\\:\\:setValue\\(\\) expects array\\\\|string, int given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Worksheet/AutoFilter/Column/RuleTest.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilter\\\\Column\\\\RuleTest\\:\\:\\$mockAutoFilterColumnObject has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/AutoFilter/Column/RuleTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilter\\\\ColumnTest\\:\\:\\$testInitialColumn has no typehint specified\\.$#" - count: 1 + message: "#^Parameter \\#1 \\$attributes of method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\\\Column\\:\\:setAttributes\\(\\) expects array\\, array\\ given\\.$#" + count: 3 path: tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilter\\\\ColumnTest\\:\\:\\$testAutoFilterColumnObject has no typehint specified\\.$#" + message: "#^Parameter \\#2 \\$pValue of method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\\\Column\\:\\:setAttribute\\(\\) expects string, int given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilter\\\\ColumnTest\\:\\:\\$mockAutoFilterObject has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilterTest\\:\\:\\$testInitialRange has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilterTest\\:\\:\\$mockWorksheetObject has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\AutoFilterTest\\:\\:\\$cellCollection has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php - - message: "#^Parameter \\#1 \\$pColumn of method PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\:\\:setColumn\\(\\) expects PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\AutoFilter\\\\Column\\|string, float given\\.$#" count: 1 @@ -17430,46 +11950,6 @@ parameters: count: 4 path: tests/PhpSpreadsheetTests/Worksheet/ColumnCellIterator2Test.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnCellIterator2Test\\:\\:providerExistingCell\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnCellIterator2Test.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnCellIterator2Test\\:\\:providerEmptyColumn\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnCellIterator2Test.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnCellIteratorTest\\:\\:\\$mockWorksheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnCellIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnCellIteratorTest\\:\\:\\$mockCell has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnCellIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnIteratorTest\\:\\:\\$mockWorksheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnIteratorTest\\:\\:\\$mockColumn has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnTest\\:\\:\\$mockWorksheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\ColumnTest\\:\\:\\$mockColumn has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/ColumnTest.php - - message: "#^Parameter \\#1 \\$im of function imagecolorallocate expects resource, resource\\|false given\\.$#" count: 1 @@ -17490,95 +11970,30 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Worksheet/DrawingTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\PageMarginsTest\\:\\:providerPointsAndInches\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/PageMarginsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\PageMarginsTest\\:\\:providerCentimetersAndInches\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/PageMarginsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\PageMarginsTest\\:\\:providerMillimetersAndInches\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/PageMarginsTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 4 path: tests/PhpSpreadsheetTests/Worksheet/RowCellIterator2Test.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowCellIterator2Test\\:\\:providerExistingCell\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowCellIterator2Test.php - - message: "#^Parameter \\#2 \\$rowIndex of class PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\RowCellIterator constructor expects int, string given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Worksheet/RowCellIterator2Test.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowCellIterator2Test\\:\\:providerEmptyRow\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowCellIterator2Test.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowCellIteratorTest\\:\\:\\$mockWorksheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowCellIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowCellIteratorTest\\:\\:\\$mockCell has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowCellIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowIteratorTest\\:\\:\\$mockWorksheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowIteratorTest\\:\\:\\$mockRow has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowIteratorTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowTest\\:\\:\\$mockWorksheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\RowTest\\:\\:\\$mockRow has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/RowTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetNamedRangesTest\\:\\:\\$spreadsheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php - - message: "#^Parameter \\#1 \\$options of static method PhpOffice\\\\PhpSpreadsheet\\\\Settings\\:\\:setLibXmlLoaderOptions\\(\\) expects int, null given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:setTitleInvalidProvider\\(\\) has no return typehint specified\\.$#" + message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php + path: tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:setCodeNameInvalidProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:extractSheetTitleProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php + message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" + count: 2 + path: tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" @@ -17590,106 +12005,21 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:removeColumnProvider\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:testRemoveColumn\\(\\) has parameter \\$expectedData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:testRemoveColumn\\(\\) has parameter \\$initialData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:removeRowsProvider\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:testRemoveRows\\(\\) has parameter \\$expectedData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Worksheet\\\\WorksheetTest\\:\\:testRemoveRows\\(\\) has parameter \\$initialData with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Csv\\\\CsvEnclosureTest\\:\\:\\$cellValues has no typehint specified\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Csv\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 6 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - - - message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#" - count: 4 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|false given\\.$#" count: 4 path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Csv\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 6 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 6 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 11 path: tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Csv\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php - - - - message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php - - - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Csv\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Csv\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -17700,21 +12030,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Html\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php - - - - message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php - - message: "#^Parameter \\#1 \\$haystack of function strpos expects string, string\\|false given\\.$#" count: 1 @@ -17740,16 +12055,6 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Writer/Html/GridlinesTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlCommentsTest\\:\\:\\$spreadsheet has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlCommentsTest\\:\\:providerCommentRichText\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php - - message: "#^Cannot call method setBold\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Style\\\\Font\\|null\\.$#" count: 3 @@ -17760,38 +12065,13 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlNumberFormatTest\\:\\:\\$currency has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlNumberFormatTest\\:\\:\\$decsep has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlNumberFormatTest\\:\\:\\$thosep has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 path: tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlNumberFormatTest\\:\\:providerNumberFormat\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\HtmlNumberFormatTest\\:\\:providerNumberFormatDates\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\ImagesRootTest\\:\\:\\$curdir has no typehint specified\\.$#" + message: "#^Parameter \\#1 \\$directory of function chdir expects string, string\\|false given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Writer/Html/ImagesRootTest.php @@ -17815,101 +12095,16 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Writer/Html/VisibilityTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\XssVulnerabilityTest\\:\\:providerAcceptableMarkupRichText\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - - message: "#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Html\\\\XssVulnerabilityTest\\:\\:providerXssRichText\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Ods\\\\ContentTest\\:\\:\\$samplesPath has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Ods/ContentTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\RetainSelectedCellsTest\\:\\:providerFormats\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/RetainSelectedCellsTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\IWriter\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\IReader\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php - - message: "#^Cannot call method getCalculatedValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 4 path: tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xls\\\\WorkbookTest\\:\\:testAddColor\\(\\) has parameter \\$expectedResult with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xls\\\\WorkbookTest\\:\\:testAddColor\\(\\) has parameter \\$testColors with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xls\\\\WorkbookTest\\:\\:providerAddColor\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php - - - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xls\\\\WorkbookTest\\:\\:paletteToColor\\(\\) has parameter \\$palette with no value type specified in iterable type array\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xls\\\\XlsGifBmpTest\\:\\:\\$filename has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xls/XlsGifBmpTest.php - - message: "#^Parameter \\#1 \\$options of static method PhpOffice\\\\PhpSpreadsheet\\\\Settings\\:\\:setLibXmlLoaderOptions\\(\\) expects int, null given\\.$#" count: 1 @@ -17920,38 +12115,13 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php - - message: "#^Method PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xlsx\\\\FloatsRetainedTest\\:\\:providerIntyFloatsRetainedByWriter\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xlsx\\\\LocaleFloatsTest\\:\\:\\$localeAdjusted has no typehint specified\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/LocaleFloatsTest.php - - - - message: "#^Property PhpOffice\\\\PhpSpreadsheetTests\\\\Writer\\\\Xlsx\\\\LocaleFloatsTest\\:\\:\\$currentLocale has no typehint specified\\.$#" + message: "#^Parameter \\#2 \\$locale of function setlocale expects string\\|null, string\\|false given\\.$#" count: 1 path: tests/PhpSpreadsheetTests/Writer/Xlsx/LocaleFloatsTest.php @@ -17970,21 +12140,6 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - message: "#^Cannot call method getValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 1 @@ -18000,46 +12155,16 @@ parameters: count: 2 path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - - message: "#^Parameter \\#1 \\$filename of method ZipArchive\\:\\:open\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php - - message: "#^Parameter \\#1 \\$options of static method PhpOffice\\\\PhpSpreadsheet\\\\Settings\\:\\:setLibXmlLoaderOptions\\(\\) expects int, null given\\.$#" count: 2 path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 3 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php - - - - message: "#^Parameter \\#1 \\$filename of method ZipArchive\\:\\:open\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 3 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php - - message: "#^Cannot call method setValue\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Cell\\\\Cell\\|null\\.$#" count: 2 path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Reader\\\\Xlsx\\:\\:load\\(\\) expects string, string\\|false given\\.$#" - count: 2 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php - - message: "#^Cannot call method getDrawingCollection\\(\\) on PhpOffice\\\\PhpSpreadsheet\\\\Worksheet\\\\Worksheet\\|null\\.$#" count: 4 @@ -18060,31 +12185,6 @@ parameters: count: 1 path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - - message: "#^Parameter \\#1 \\$pFilename of method PhpOffice\\\\PhpSpreadsheet\\\\Writer\\\\Xlsx\\:\\:save\\(\\) expects resource\\|string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - - - message: "#^Parameter \\#1 \\$filename of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertFileExists\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - - - message: "#^Parameter \\#1 \\$filename of method ZipArchive\\:\\:open\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" - count: 8 - path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - message: "#^Parameter \\#1 \\$data of function simplexml_load_string expects string, string\\|false given\\.$#" count: 2 @@ -18110,33 +12210,3 @@ parameters: count: 5 path: tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php - - - message: "#^Function calculationTestDataGenerator\\(\\) has no return typehint specified\\.$#" - count: 1 - path: tests/data/Calculation/Calculation.php - - - - message: "#^Comparison operation \"\\>\" between 1 and 0 is always true\\.$#" - count: 4 - path: tests/data/Calculation/Logical/XOR.php - - - - message: "#^Comparison operation \"\\>\" between 2 and 0 is always true\\.$#" - count: 4 - path: tests/data/Calculation/Logical/XOR.php - - - - message: "#^Comparison operation \"\\>\" between 0 and 1 is always false\\.$#" - count: 5 - path: tests/data/Calculation/Logical/XOR.php - - - - message: "#^Comparison operation \"\\>\" between 0 and 2 is always false\\.$#" - count: 2 - path: tests/data/Calculation/Logical/XOR.php - - - - message: "#^Comparison operation \"\\>\" between 3 and 0 is always true\\.$#" - count: 1 - path: tests/data/Calculation/Logical/XOR.php - diff --git a/phpstan.neon.dist b/phpstan.neon.dist index f39ce395..dd39aa34 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,5 +1,7 @@ includes: - - phpstan-baseline.neon + - phpstan-baseline.neon + - vendor/phpstan/phpstan-phpunit/extension.neon + - vendor/phpstan/phpstan-phpunit/rules.neon parameters: level: max @@ -8,11 +10,15 @@ parameters: - tests/ parallel: processTimeout: 300.0 + checkMissingIterableValueType: false ignoreErrors: - '~^Class GdImage not found\.$~' - '~^Return typehint of method .* has invalid type GdImage\.$~' - '~^Property .* has unknown class GdImage as its type\.$~' - '~^Parameter .* of method .* has invalid typehint type GdImage\.$~' + # Accept a bit anything for assert methods + - '~^Parameter \#2 .* of static method PHPUnit\\Framework\\Assert\:\:assert\w+\(\) expects .*, .* given\.$~' + - '~^Method PhpOffice\\PhpSpreadsheetTests\\.*\:\:test.*\(\) has parameter \$args with no typehint specified\.$~' # Ignore all JpGraph issues - '~^Constant (MARK_CIRCLE|MARK_CROSS|MARK_DIAMOND|MARK_DTRIANGLE|MARK_FILLEDCIRCLE|MARK_SQUARE|MARK_STAR|MARK_UTRIANGLE|MARK_X|SIDE_RIGHT) not found\.$~' diff --git a/samples/Reader/20_Reader_worksheet_hyperlink_image.php b/samples/Reader/20_Reader_worksheet_hyperlink_image.php index 9dad4b6c..19d837a5 100644 --- a/samples/Reader/20_Reader_worksheet_hyperlink_image.php +++ b/samples/Reader/20_Reader_worksheet_hyperlink_image.php @@ -1,5 +1,6 @@ log('Write link: ' . $baseUrl); $drawing->setWorksheet($aSheet); -$filename = tempnam(\PhpOffice\PhpSpreadsheet\Shared\File::sysGetTempDir(), 'phpspreadsheet-test'); +$filename = File::temporaryFilename(); $writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($spreadsheet, $inputFileType); $writer->save($filename); diff --git a/src/PhpSpreadsheet/Calculation/DateTimeExcel/WeekDay.php b/src/PhpSpreadsheet/Calculation/DateTimeExcel/WeekDay.php index 15811ee5..ea4fe340 100644 --- a/src/PhpSpreadsheet/Calculation/DateTimeExcel/WeekDay.php +++ b/src/PhpSpreadsheet/Calculation/DateTimeExcel/WeekDay.php @@ -17,7 +17,7 @@ class WeekDay * Excel Function: * WEEKDAY(dateValue[,style]) * - * @param float|int|string $dateValue Excel date serial value (float), PHP date timestamp (integer), + * @param null|float|int|string $dateValue Excel date serial value (float), PHP date timestamp (integer), * PHP DateTime object, or a standard date string * @param int $style A number that determines the type of return value * 1 or omitted Numbers 1 (Sunday) through 7 (Saturday). diff --git a/src/PhpSpreadsheet/Chart/Legend.php b/src/PhpSpreadsheet/Chart/Legend.php index fc0ed140..2f003cd8 100644 --- a/src/PhpSpreadsheet/Chart/Legend.php +++ b/src/PhpSpreadsheet/Chart/Legend.php @@ -131,18 +131,10 @@ class Legend * Set allow overlay of other elements? * * @param bool $overlay - * - * @return bool */ - public function setOverlay($overlay) + public function setOverlay($overlay): void { - if (!is_bool($overlay)) { - return false; - } - $this->overlay = $overlay; - - return true; } /** diff --git a/src/PhpSpreadsheet/Collection/Cells.php b/src/PhpSpreadsheet/Collection/Cells.php index 7859965b..c5247090 100644 --- a/src/PhpSpreadsheet/Collection/Cells.php +++ b/src/PhpSpreadsheet/Collection/Cells.php @@ -12,7 +12,7 @@ use Psr\SimpleCache\CacheInterface; class Cells { /** - * @var \Psr\SimpleCache\CacheInterface + * @var CacheInterface */ private $cache; @@ -405,7 +405,7 @@ class Cells * @param string $pCoord Coordinate of the cell to update * @param Cell $cell Cell to update * - * @return \PhpOffice\PhpSpreadsheet\Cell\Cell + * @return Cell */ public function add($pCoord, Cell $cell) { @@ -426,7 +426,7 @@ class Cells * * @param string $pCoord Coordinate of the cell * - * @return null|\PhpOffice\PhpSpreadsheet\Cell\Cell Cell that was found, or null if not found + * @return null|Cell Cell that was found, or null if not found */ public function get($pCoord) { diff --git a/src/PhpSpreadsheet/Shared/File.php b/src/PhpSpreadsheet/Shared/File.php index 7525df8a..7991ed45 100644 --- a/src/PhpSpreadsheet/Shared/File.php +++ b/src/PhpSpreadsheet/Shared/File.php @@ -3,6 +3,7 @@ namespace PhpOffice\PhpSpreadsheet\Shared; use InvalidArgumentException; +use PhpOffice\PhpSpreadsheet\Exception; use ZipArchive; class File @@ -124,6 +125,16 @@ class File return realpath(sys_get_temp_dir()); } + public static function temporaryFilename(): string + { + $filename = tempnam(self::sysGetTempDir(), 'phpspreadsheet'); + if ($filename === false) { + throw new Exception('Could not create temporary file'); + } + + return $filename; + } + /** * Assert that given path is an existing file and is readable, otherwise throw exception. * diff --git a/tests/PhpSpreadsheetTests/Calculation/CalculationTest.php b/tests/PhpSpreadsheetTests/Calculation/CalculationTest.php index f1f0bea2..433d2be5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/CalculationTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/CalculationTest.php @@ -10,8 +10,14 @@ use PHPUnit\Framework\TestCase; class CalculationTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; + /** + * @var string + */ private $locale; protected function setUp(): void @@ -47,7 +53,7 @@ class CalculationTest extends TestCase self::assertEquals($expectedResultOpenOffice, $resultOpenOffice, 'should be OpenOffice compatible'); } - public function providerBinaryComparisonOperation() + public function providerBinaryComparisonOperation(): array { return require 'tests/data/CalculationBinaryComparisonOperation.php'; } @@ -64,7 +70,7 @@ class CalculationTest extends TestCase self::assertIsCallable($functionCall); } - public function providerGetFunctions() + public function providerGetFunctions(): array { return Calculation::getInstance()->getFunctions(); } @@ -89,7 +95,7 @@ class CalculationTest extends TestCase self::assertTrue($calculation->setLocale($locale)); } - public function providerCanLoadAllSupportedLocales() + public function providerCanLoadAllSupportedLocales(): array { return [ ['bg'], @@ -118,11 +124,13 @@ class CalculationTest extends TestCase $calculation = Calculation::getInstance(); $tree = $calculation->parseFormula('=_xlfn.ISFORMULA(A1)'); + self::assertIsArray($tree); self::assertCount(3, $tree); $function = $tree[2]; self::assertEquals('Function', $function['type']); $tree = $calculation->parseFormula('=_xlfn.STDEV.S(A1:B2)'); + self::assertIsArray($tree); self::assertCount(5, $tree); $function = $tree[4]; self::assertEquals('Function', $function['type']); @@ -205,6 +213,7 @@ class CalculationTest extends TestCase // Very simple formula $formula = '=IF(A1="please +",B1)'; $tokens = $calculation->parseFormula($formula); + self::assertIsArray($tokens); $foundEqualAssociatedToStoreKey = false; $foundConditionalOnB1 = false; @@ -234,6 +243,7 @@ class CalculationTest extends TestCase // Internal operation $formula = '=IF(A1="please +",SUM(B1:B3))+IF(A2="please *",PRODUCT(C1:C3), C1)'; $tokens = $calculation->parseFormula($formula); + self::assertIsArray($tokens); $plusGotTagged = false; $productFunctionCorrectlyTagged = false; @@ -263,6 +273,7 @@ class CalculationTest extends TestCase $formula = '=IF(A1="please +",SUM(B1:B3),1+IF(NOT(A2="please *"),C2-C1,PRODUCT(C1:C3)))'; $tokens = $calculation->parseFormula($formula); + self::assertIsArray($tokens); $plusCorrectlyTagged = false; $productFunctionCorrectlyTagged = false; @@ -307,6 +318,8 @@ class CalculationTest extends TestCase $formula = '=IF(A1="flag",IF(A2<10, 0) + IF(A3<10000, 0))'; $tokens = $calculation->parseFormula($formula); + self::assertIsArray($tokens); + $properlyTaggedPlus = false; foreach ($tokens as $token) { $isPlus = $token['value'] === '+'; @@ -367,7 +380,7 @@ class CalculationTest extends TestCase self::assertEquals($expectedResult, $calculated); } - public function dataProviderBranchPruningFullExecution() + public function dataProviderBranchPruningFullExecution(): array { return require 'tests/data/Calculation/Calculation.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/DefinedNameConfusedForCellTest.php b/tests/PhpSpreadsheetTests/Calculation/DefinedNameConfusedForCellTest.php index 76886c23..6f97f9c8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/DefinedNameConfusedForCellTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/DefinedNameConfusedForCellTest.php @@ -2,20 +2,23 @@ namespace PhpOffice\PhpSpreadsheetTests\Calculation; +use PhpOffice\PhpSpreadsheet\IOFactory; +use PhpOffice\PhpSpreadsheet\NamedRange; use PhpOffice\PhpSpreadsheet\Shared\File; +use PhpOffice\PhpSpreadsheet\Spreadsheet; use PHPUnit\Framework\TestCase; class DefinedNameConfusedForCellTest extends TestCase { public function testDefinedName(): void { - $obj = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); + $obj = new Spreadsheet(); $sheet0 = $obj->setActiveSheetIndex(0); $sheet0->setCellValue('A1', 2); - $obj->addNamedRange(new \PhpOffice\PhpSpreadsheet\NamedRange('A1A', $sheet0, 'A1')); + $obj->addNamedRange(new NamedRange('A1A', $sheet0, 'A1')); $sheet0->setCellValue('B1', '=2*A1A'); - $writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($obj, 'Xlsx'); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $writer = IOFactory::createWriter($obj, 'Xlsx'); + $filename = File::temporaryFilename(); $writer->save($filename); self::assertTrue(true); unlink($filename); diff --git a/tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php b/tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php index 4f1ff397..c27d16af 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php @@ -9,7 +9,10 @@ use PHPUnit\Framework\TestCase; class RangeTest extends TestCase { - protected $spreadSheet; + /** + * @var Spreadsheet + */ + private $spreadSheet; protected function setUp(): void { @@ -40,7 +43,7 @@ class RangeTest extends TestCase self::assertSame($expectedResult, $actualRresult); } - public function providerRangeEvaluation() + public function providerRangeEvaluation(): array { return[ ['=SUM(A1:B3,A1:C2)', 48], @@ -88,7 +91,7 @@ class RangeTest extends TestCase self::assertSame($expectedResult, $sumRresult); } - public function providerNamedRangeEvaluation() + public function providerNamedRangeEvaluation(): array { return[ ['$A$1:$B$3', '$A$1:$C$2', '=SUM(GROUP1,GROUP2)', 48], @@ -123,7 +126,7 @@ class RangeTest extends TestCase self::assertSame($expectedResult, $sumRresult); } - public function providerUTF8NamedRangeEvaluation() + public function providerUTF8NamedRangeEvaluation(): array { return[ [['Γειά', 'σου', 'Κόσμε'], ['$A$1', '$B$1:$B$2', '$C$1:$C$3'], '=SUM(Γειά,σου,Κόσμε)', 26], @@ -151,7 +154,7 @@ class RangeTest extends TestCase self::assertSame($expectedCount, $actualCount); } - public function providerCompositeNamedRangeEvaluation() + public function providerCompositeNamedRangeEvaluation(): array { return[ // Calculation engine doesn't yet handle union ranges with overlap diff --git a/tests/PhpSpreadsheetTests/Calculation/FormulaAsStringTest.php b/tests/PhpSpreadsheetTests/Calculation/FormulaAsStringTest.php index 9afe5570..27c746b4 100644 --- a/tests/PhpSpreadsheetTests/Calculation/FormulaAsStringTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/FormulaAsStringTest.php @@ -39,7 +39,7 @@ class FormulaAsStringTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerFunctionsAsString() + public function providerFunctionsAsString(): array { return require 'tests/data/Calculation/FunctionsAsString.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php index 91011504..2d8fb9f9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DAverageTest.php @@ -27,7 +27,7 @@ class DAverageTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DAverageTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Quarter', 'Area', 'Sales Rep.', 'Sales'], @@ -63,7 +63,7 @@ class DAverageTest extends TestCase ]; } - public function providerDAverage() + public function providerDAverage(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php index f5214ed0..2f7cad14 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountATest.php @@ -27,7 +27,7 @@ class DCountATest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DCountATest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DCountATest extends TestCase ]; } - public function providerDCountA() + public function providerDCountA(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php index 11d8adab..3f9d9966 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DCountTest.php @@ -27,7 +27,7 @@ class DCountTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DCountTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DCountTest extends TestCase ]; } - protected function database3() + private function database3(): array { return [ ['Status', 'Value'], @@ -74,7 +74,7 @@ class DCountTest extends TestCase ]; } - public function providerDCount() + public function providerDCount(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php index 3d90ff96..7853e0b6 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DGetTest.php @@ -27,7 +27,7 @@ class DGetTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DGetTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Quarter', 'Area', 'Sales Rep.', 'Sales'], @@ -63,7 +63,7 @@ class DGetTest extends TestCase ]; } - public function providerDGet() + public function providerDGet(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php index b0ad59a7..94ac0425 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMaxTest.php @@ -27,7 +27,7 @@ class DMaxTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DMaxTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Quarter', 'Area', 'Sales Rep.', 'Sales'], @@ -63,7 +63,7 @@ class DMaxTest extends TestCase ]; } - public function providerDMax() + public function providerDMax(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php index bfd2af4c..a02ad2e1 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DMinTest.php @@ -27,7 +27,7 @@ class DMinTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DMinTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DMinTest extends TestCase ]; } - public function providerDMin() + public function providerDMin(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php index 0fb1bba7..14962558 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DProductTest.php @@ -28,7 +28,7 @@ class DProductTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -41,7 +41,7 @@ class DProductTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Date', 'Test', 'Score'], @@ -60,7 +60,7 @@ class DProductTest extends TestCase ]; } - public function providerDProduct() + public function providerDProduct(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php index 210325d5..669a694b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevPTest.php @@ -27,7 +27,7 @@ class DStDevPTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DStDevPTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DStDevPTest extends TestCase ]; } - public function providerDStDevP() + public function providerDStDevP(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php index 71bbcd2a..a7975a11 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DStDevTest.php @@ -27,7 +27,7 @@ class DStDevTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DStDevTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DStDevTest extends TestCase ]; } - public function providerDStDev() + public function providerDStDev(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php index 5c270fd2..55edffe0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DSumTest.php @@ -27,7 +27,7 @@ class DSumTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DSumTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Quarter', 'Area', 'Sales Rep.', 'Sales'], @@ -63,7 +63,7 @@ class DSumTest extends TestCase ]; } - public function providerDSum() + public function providerDSum(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php index 0436ea67..60612db5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarPTest.php @@ -27,7 +27,7 @@ class DVarPTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DVarPTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DVarPTest extends TestCase ]; } - public function providerDVarP() + public function providerDVarP(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php index 467db2f2..0015b7fb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Database/DVarTest.php @@ -27,7 +27,7 @@ class DVarTest extends TestCase self::assertSame($expectedResult, $result); } - protected function database1() + private function database1(): array { return [ ['Tree', 'Height', 'Age', 'Yield', 'Profit'], @@ -40,7 +40,7 @@ class DVarTest extends TestCase ]; } - protected function database2() + private function database2(): array { return [ ['Name', 'Gender', 'Age', 'Subject', 'Score'], @@ -59,7 +59,7 @@ class DVarTest extends TestCase ]; } - public function providerDVar() + public function providerDVar(): array { return [ [ diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php index c56c7431..414670c4 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/AllSetupTeardown.php @@ -6,18 +6,34 @@ use PhpOffice\PhpSpreadsheet\Calculation\Exception as CalcException; use PhpOffice\PhpSpreadsheet\Calculation\Functions; use PhpOffice\PhpSpreadsheet\Shared\Date; use PhpOffice\PhpSpreadsheet\Spreadsheet; +use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; use PHPUnit\Framework\TestCase; class AllSetupTeardown extends TestCase { - protected $compatibilityMode; + /** + * @var string + */ + private $compatibilityMode; - protected $excelCalendar; + /** + * @var int + */ + private $excelCalendar; - protected $returnDateType; + /** + * @var string + */ + private $returnDateType; + /** + * @var Spreadsheet + */ protected $spreadsheet; + /** + * @var Worksheet + */ protected $sheet; protected function setUp(): void @@ -35,8 +51,6 @@ class AllSetupTeardown extends TestCase Functions::setCompatibilityMode($this->compatibilityMode); Functions::setReturnDateType($this->returnDateType); $this->spreadsheet->disconnectWorksheets(); - $this->spreadsheet = null; - $this->sheet = null; } protected static function setMac1904(): void diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateDifTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateDifTest.php index 6c394087..3aa9446d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateDifTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateDifTest.php @@ -18,7 +18,7 @@ class DateDifTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerDATEDIF() + public function providerDATEDIF(): array { return require 'tests/data/Calculation/DateTime/DATEDIF.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateTest.php index 354e6f3b..d790777b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateTest.php @@ -20,7 +20,7 @@ class DateTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerDATE() + public function providerDATE(): array { return require 'tests/data/Calculation/DateTime/DATE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php index fc432bbe..2d422e0a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DateValueTest.php @@ -37,7 +37,7 @@ class DateValueTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDATEVALUE() + public function providerDATEVALUE(): array { return require 'tests/data/Calculation/DateTime/DATEVALUE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php index e50475cf..dc8adf11 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DayTest.php @@ -18,7 +18,7 @@ class DayTest extends AllSetupTeardown self::assertSame($expectedResultExcel, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerDAY() + public function providerDAY(): array { return require 'tests/data/Calculation/DateTime/DAY.php'; } @@ -37,7 +37,7 @@ class DayTest extends AllSetupTeardown self::assertSame($expectedResultOpenOffice, $sheet->getCell('A2')->getCalculatedValue()); } - public function providerDAYOpenOffice() + public function providerDAYOpenOffice(): array { return require 'tests/data/Calculation/DateTime/DAYOpenOffice.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php index 5d6ba29e..bd3a0283 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/Days360Test.php @@ -19,7 +19,7 @@ class Days360Test extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerDAYS360() + public function providerDAYS360(): array { return require 'tests/data/Calculation/DateTime/DAYS360.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DaysTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DaysTest.php index 8b3ea392..8c65622a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DaysTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/DaysTest.php @@ -24,7 +24,7 @@ class DaysTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerDAYS() + public function providerDAYS(): array { return require 'tests/data/Calculation/DateTime/DAYS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EDateTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EDateTest.php index 384e1aec..efb34d0d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EDateTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EDateTest.php @@ -20,7 +20,7 @@ class EDateTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerEDATE() + public function providerEDATE(): array { return require 'tests/data/Calculation/DateTime/EDATE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EoMonthTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EoMonthTest.php index 1af81c9f..6db76f58 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EoMonthTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/EoMonthTest.php @@ -20,7 +20,7 @@ class EoMonthTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerEOMONTH() + public function providerEOMONTH(): array { return require 'tests/data/Calculation/DateTime/EOMONTH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php index 99544b5a..93afbb5d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/HourTest.php @@ -18,7 +18,7 @@ class HourTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerHOUR() + public function providerHOUR(): array { return require 'tests/data/Calculation/DateTime/HOUR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php index b27ca7d5..6be2e1af 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/IsoWeekNumTest.php @@ -19,7 +19,7 @@ class IsoWeekNumTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerISOWEEKNUM() + public function providerISOWEEKNUM(): array { return require 'tests/data/Calculation/DateTime/ISOWEEKNUM.php'; } @@ -40,7 +40,7 @@ class IsoWeekNumTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerISOWEEKNUM1904() + public function providerISOWEEKNUM1904(): array { return require 'tests/data/Calculation/DateTime/ISOWEEKNUM1904.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php index cbc2a1a4..57d7a77e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MinuteTest.php @@ -18,7 +18,7 @@ class MinuteTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerMINUTE() + public function providerMINUTE(): array { return require 'tests/data/Calculation/DateTime/MINUTE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php index a9f70229..ed09a993 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/MonthTest.php @@ -18,7 +18,7 @@ class MonthTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerMONTH() + public function providerMONTH(): array { return require 'tests/data/Calculation/DateTime/MONTH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php index 568c661c..b121f7bf 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/NetworkDaysTest.php @@ -45,7 +45,7 @@ class NetworkDaysTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('B1')->getCalculatedValue()); } - public function providerNETWORKDAYS() + public function providerNETWORKDAYS(): array { return require 'tests/data/Calculation/DateTime/NETWORKDAYS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php index 03cef8bc..6c264a57 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/SecondTest.php @@ -18,7 +18,7 @@ class SecondTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerSECOND() + public function providerSECOND(): array { return require 'tests/data/Calculation/DateTime/SECOND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeTest.php index f33b5aac..d6910024 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeTest.php @@ -22,7 +22,7 @@ class TimeTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $sheet->getCell('A1')->getCalculatedValue(), 1E-8); } - public function providerTIME() + public function providerTIME(): array { return require 'tests/data/Calculation/DateTime/TIME.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php index eceb0519..ac4d3dbd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/TimeValueTest.php @@ -22,7 +22,7 @@ class TimeValueTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerTIMEVALUE() + public function providerTIMEVALUE(): array { return require 'tests/data/Calculation/DateTime/TIMEVALUE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php index 2e52a5d7..c95ce9cc 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php @@ -20,7 +20,7 @@ class WeekDayTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerWEEKDAY() + public function providerWEEKDAY(): array { return require 'tests/data/Calculation/DateTime/WEEKDAY.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php index c3e785f3..cf8ac65b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekNumTest.php @@ -18,7 +18,7 @@ class WeekNumTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerWEEKNUM() + public function providerWEEKNUM(): array { return require 'tests/data/Calculation/DateTime/WEEKNUM.php'; } @@ -38,7 +38,7 @@ class WeekNumTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerWEEKNUM1904() + public function providerWEEKNUM1904(): array { return require 'tests/data/Calculation/DateTime/WEEKNUM1904.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php index ec2a5402..80829699 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WorkDayTest.php @@ -45,7 +45,7 @@ class WorkDayTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('B1')->getCalculatedValue()); } - public function providerWORKDAY() + public function providerWORKDAY(): array { return require 'tests/data/Calculation/DateTime/WORKDAY.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearFracTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearFracTest.php index e6ac823a..e16ce697 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearFracTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearFracTest.php @@ -37,7 +37,7 @@ class YearFracTest extends AllSetupTeardown self::assertEqualswithDelta($expectedResult, $sheet->getCell('B1')->getCalculatedValue(), 1E-6); } - public function providerYEARFRAC() + public function providerYEARFRAC(): array { return require 'tests/data/Calculation/DateTime/YEARFRAC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php index 7942f06c..74b3bed0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/YearTest.php @@ -18,7 +18,7 @@ class YearTest extends AllSetupTeardown self::assertSame($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerYEAR() + public function providerYEAR(): array { return require 'tests/data/Calculation/DateTime/YEAR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselITest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselITest.php index 5b6ba045..d24a0208 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselITest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselITest.php @@ -26,7 +26,7 @@ class BesselITest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::BESSEL_PRECISION); } - public function providerBESSELI() + public function providerBESSELI(): array { return require 'tests/data/Calculation/Engineering/BESSELI.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselJTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselJTest.php index d10f028f..325a0d64 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselJTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselJTest.php @@ -26,7 +26,7 @@ class BesselJTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::BESSEL_PRECISION); } - public function providerBESSEJ() + public function providerBESSEJ(): array { return require 'tests/data/Calculation/Engineering/BESSELJ.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselKTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselKTest.php index 23ad3539..51725d38 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselKTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselKTest.php @@ -26,7 +26,7 @@ class BesselKTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::BESSEL_PRECISION); } - public function providerBESSELK() + public function providerBESSELK(): array { return require 'tests/data/Calculation/Engineering/BESSELK.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselYTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselYTest.php index 4422ad50..1e8d863f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselYTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BesselYTest.php @@ -26,7 +26,7 @@ class BesselYTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::BESSEL_PRECISION); } - public function providerBESSELY() + public function providerBESSELY(): array { return require 'tests/data/Calculation/Engineering/BESSELY.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php index bcefa891..c0923d1a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Bin2DecTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Bin2DecTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBIN2DEC() + public function providerBIN2DEC(): array { return require 'tests/data/Calculation/Engineering/BIN2DEC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php index 2cbea34a..c95c375d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Bin2HexTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Bin2HexTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBIN2HEX() + public function providerBIN2HEX(): array { return require 'tests/data/Calculation/Engineering/BIN2HEX.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php index e76778f2..ee54063c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Bin2OctTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Bin2OctTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBIN2OCT() + public function providerBIN2OCT(): array { return require 'tests/data/Calculation/Engineering/BIN2OCT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php index 01d006c4..23682908 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php @@ -26,7 +26,7 @@ class BitAndTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBITAND() + public function providerBITAND(): array { return require 'tests/data/Calculation/Engineering/BITAND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.php index f1a716ef..ee408497 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.php @@ -26,7 +26,7 @@ class BitLShiftTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBITLSHIFT() + public function providerBITLSHIFT(): array { return require 'tests/data/Calculation/Engineering/BITLSHIFT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.php index fce287d9..3cc1f4bc 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.php @@ -26,7 +26,7 @@ class BitOrTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBITOR() + public function providerBITOR(): array { return require 'tests/data/Calculation/Engineering/BITOR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php index 40b929e3..f58d6149 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php @@ -26,7 +26,7 @@ class BitRShiftTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBITRSHIFT() + public function providerBITRSHIFT(): array { return require 'tests/data/Calculation/Engineering/BITRSHIFT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php index 847e44a2..4fa302af 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php @@ -26,7 +26,7 @@ class BitXorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBITXOR() + public function providerBITXOR(): array { return require 'tests/data/Calculation/Engineering/BITXOR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ComplexTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ComplexTest.php index 4b857e2d..f60315dc 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ComplexTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ComplexTest.php @@ -24,7 +24,7 @@ class ComplexTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCOMPLEX() + public function providerCOMPLEX(): array { return require 'tests/data/Calculation/Engineering/COMPLEX.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php index cf43c759..87198edb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php @@ -54,7 +54,7 @@ class ConvertUoMTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCONVERTUOM() + public function providerCONVERTUOM(): array { return require 'tests/data/Calculation/Engineering/CONVERTUOM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php index 420af2c5..dfed3478 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2BinTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Dec2BinTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Dec2BinTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDEC2BIN() + public function providerDEC2BIN(): array { return require 'tests/data/Calculation/Engineering/DEC2BIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php index fcd9c52a..ebe49464 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php @@ -10,6 +10,9 @@ use PHPUnit\Framework\TestCase; class Dec2HexTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -41,7 +44,7 @@ class Dec2HexTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDEC2HEX() + public function providerDEC2HEX(): array { return require 'tests/data/Calculation/Engineering/DEC2HEX.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php index 19846a3b..093f17bc 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2OctTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Dec2OctTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Dec2OctTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDEC2OCT() + public function providerDEC2OCT(): array { return require 'tests/data/Calculation/Engineering/DEC2OCT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php index a93d2ea6..749b33c2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php @@ -24,7 +24,7 @@ class DeltaTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDELTA() + public function providerDELTA(): array { return require 'tests/data/Calculation/Engineering/DELTA.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php index 09bf448e..45d5b4c8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfCTest.php @@ -27,7 +27,7 @@ class ErfCTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::ERF_PRECISION); } - public function providerERFC() + public function providerERFC(): array { return require 'tests/data/Calculation/Engineering/ERFC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php index eb26ae98..952b2560 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfPreciseTest.php @@ -27,7 +27,7 @@ class ErfPreciseTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::ERF_PRECISION); } - public function providerERFPRECISE() + public function providerERFPRECISE(): array { return require 'tests/data/Calculation/Engineering/ERFPRECISE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php index 8201edbc..9866024f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ErfTest.php @@ -27,7 +27,7 @@ class ErfTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::ERF_PRECISION); } - public function providerERF() + public function providerERF(): array { return require 'tests/data/Calculation/Engineering/ERF.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/GeStepTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/GeStepTest.php index 370c1a82..07e3a48c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/GeStepTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/GeStepTest.php @@ -24,7 +24,7 @@ class GeStepTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerGESTEP() + public function providerGESTEP(): array { return require 'tests/data/Calculation/Engineering/GESTEP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php index 45973004..ad76716c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Hex2BinTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Hex2BinTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerHEX2BIN() + public function providerHEX2BIN(): array { return require 'tests/data/Calculation/Engineering/HEX2BIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php index 264ec3e3..806ba44d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2DecTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Hex2DecTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Hex2DecTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerHEX2DEC() + public function providerHEX2DEC(): array { return require 'tests/data/Calculation/Engineering/HEX2DEC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php index 15220178..41f1a8f7 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Hex2OctTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Hex2OctTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerHEX2OCT() + public function providerHEX2OCT(): array { return require 'tests/data/Calculation/Engineering/HEX2OCT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImAbsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImAbsTest.php index 1f1ee9dd..367cfb33 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImAbsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImAbsTest.php @@ -27,7 +27,7 @@ class ImAbsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION); } - public function providerIMABS() + public function providerIMABS(): array { return require 'tests/data/Calculation/Engineering/IMABS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.php index 6f1a6485..9ff8209f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.php @@ -27,7 +27,7 @@ class ImArgumentTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION); } - public function providerIMARGUMENT() + public function providerIMARGUMENT(): array { return require 'tests/data/Calculation/Engineering/IMARGUMENT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImConjugateTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImConjugateTest.php index af96c18e..d952f5df 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImConjugateTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImConjugateTest.php @@ -14,7 +14,7 @@ class ImConjugateTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImConjugateTest extends TestCase ); } - public function providerIMCONJUGATE() + public function providerIMCONJUGATE(): array { return require 'tests/data/Calculation/Engineering/IMCONJUGATE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCosTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCosTest.php index c00bafda..b6cb8dc2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCosTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCosTest.php @@ -14,7 +14,7 @@ class ImCosTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImCosTest extends TestCase ); } - public function providerIMCOS() + public function providerIMCOS(): array { return require 'tests/data/Calculation/Engineering/IMCOS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCoshTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCoshTest.php index 6f84217a..0d544084 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCoshTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCoshTest.php @@ -14,7 +14,7 @@ class ImCoshTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImCoshTest extends TestCase ); } - public function providerIMCOSH() + public function providerIMCOSH(): array { return require 'tests/data/Calculation/Engineering/IMCOSH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.php index cbadfd8a..69bd02ff 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.php @@ -14,7 +14,7 @@ class ImCotTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImCotTest extends TestCase ); } - public function providerIMCOT() + public function providerIMCOT(): array { return require 'tests/data/Calculation/Engineering/IMCOT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php index 65782e32..51843f89 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php @@ -14,7 +14,7 @@ class ImCscTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImCscTest extends TestCase ); } - public function providerIMCSC() + public function providerIMCSC(): array { return require 'tests/data/Calculation/Engineering/IMCSC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCschTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCschTest.php index ef1c06ea..d2d7511d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCschTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCschTest.php @@ -14,7 +14,7 @@ class ImCschTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImCschTest extends TestCase ); } - public function providerIMCSCH() + public function providerIMCSCH(): array { return require 'tests/data/Calculation/Engineering/IMCSCH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImDivTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImDivTest.php index 0943f408..652f5ca2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImDivTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImDivTest.php @@ -14,7 +14,7 @@ class ImDivTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -36,7 +36,7 @@ class ImDivTest extends TestCase ); } - public function providerIMDIV() + public function providerIMDIV(): array { return require 'tests/data/Calculation/Engineering/IMDIV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImExpTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImExpTest.php index 5f5edfd3..d7be573f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImExpTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImExpTest.php @@ -14,7 +14,7 @@ class ImExpTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImExpTest extends TestCase ); } - public function providerIMEXP() + public function providerIMEXP(): array { return require 'tests/data/Calculation/Engineering/IMEXP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLnTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLnTest.php index 36ca116a..4566607b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLnTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLnTest.php @@ -14,7 +14,7 @@ class ImLnTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImLnTest extends TestCase ); } - public function providerIMLN() + public function providerIMLN(): array { return require 'tests/data/Calculation/Engineering/IMLN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog10Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog10Test.php index 9a37d85c..0d818686 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog10Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog10Test.php @@ -14,7 +14,7 @@ class ImLog10Test extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImLog10Test extends TestCase ); } - public function providerIMLOG10() + public function providerIMLOG10(): array { return require 'tests/data/Calculation/Engineering/IMLOG10.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog2Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog2Test.php index f0d853ba..02583448 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog2Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImLog2Test.php @@ -14,7 +14,7 @@ class ImLog2Test extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImLog2Test extends TestCase ); } - public function providerIMLOG2() + public function providerIMLOG2(): array { return require 'tests/data/Calculation/Engineering/IMLOG2.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php index 4493515c..18e92791 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php @@ -14,7 +14,7 @@ class ImPowerTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -36,7 +36,7 @@ class ImPowerTest extends TestCase ); } - public function providerIMPOWER() + public function providerIMPOWER(): array { return require 'tests/data/Calculation/Engineering/IMPOWER.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImProductTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImProductTest.php index 395153ed..845d436f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImProductTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImProductTest.php @@ -14,7 +14,7 @@ class ImProductTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -36,7 +36,7 @@ class ImProductTest extends TestCase ); } - public function providerIMPRODUCT() + public function providerIMPRODUCT(): array { return require 'tests/data/Calculation/Engineering/IMPRODUCT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImRealTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImRealTest.php index 08d2feb1..790487c1 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImRealTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImRealTest.php @@ -27,7 +27,7 @@ class ImRealTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION); } - public function providerIMREAL() + public function providerIMREAL(): array { return require 'tests/data/Calculation/Engineering/IMREAL.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSecTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSecTest.php index bd9c6df0..b750796d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSecTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSecTest.php @@ -14,7 +14,7 @@ class ImSecTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImSecTest extends TestCase ); } - public function providerIMSEC() + public function providerIMSEC(): array { return require 'tests/data/Calculation/Engineering/IMSEC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSechTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSechTest.php index b81e0305..c6477c1c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSechTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSechTest.php @@ -14,7 +14,7 @@ class ImSechTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImSechTest extends TestCase ); } - public function providerIMSECH() + public function providerIMSECH(): array { return require 'tests/data/Calculation/Engineering/IMSECH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinTest.php index d83980e0..df8cb020 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinTest.php @@ -14,7 +14,7 @@ class ImSinTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImSinTest extends TestCase ); } - public function providerIMSIN() + public function providerIMSIN(): array { return require 'tests/data/Calculation/Engineering/IMSIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinhTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinhTest.php index 107c0949..f8dbafb9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinhTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSinhTest.php @@ -14,7 +14,7 @@ class ImSinhTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImSinhTest extends TestCase ); } - public function providerIMSINH() + public function providerIMSINH(): array { return require 'tests/data/Calculation/Engineering/IMSINH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSqrtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSqrtTest.php index c8c83e10..0d536f94 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSqrtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSqrtTest.php @@ -14,7 +14,7 @@ class ImSqrtTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImSqrtTest extends TestCase ); } - public function providerIMSQRT() + public function providerIMSQRT(): array { return require 'tests/data/Calculation/Engineering/IMSQRT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSubTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSubTest.php index b2b8394e..edb413d5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSubTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSubTest.php @@ -14,7 +14,7 @@ class ImSubTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -36,7 +36,7 @@ class ImSubTest extends TestCase ); } - public function providerIMSUB() + public function providerIMSUB(): array { return require 'tests/data/Calculation/Engineering/IMSUB.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSumTest.php index 872c73c8..0620c684 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImSumTest.php @@ -14,7 +14,7 @@ class ImSumTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -36,7 +36,7 @@ class ImSumTest extends TestCase ); } - public function providerIMSUM() + public function providerIMSUM(): array { return require 'tests/data/Calculation/Engineering/IMSUM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImTanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImTanTest.php index 9bf6b66c..f1e4037e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImTanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImTanTest.php @@ -14,7 +14,7 @@ class ImTanTest extends TestCase /** * @var ComplexAssert */ - protected $complexAssert; + private $complexAssert; protected function setUp(): void { @@ -37,7 +37,7 @@ class ImTanTest extends TestCase ); } - public function providerIMTAN() + public function providerIMTAN(): array { return require 'tests/data/Calculation/Engineering/IMTAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php index 6ad72287..1c976b05 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php @@ -27,7 +27,7 @@ class ImaginaryTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION); } - public function providerIMAGINARY() + public function providerIMAGINARY(): array { return require 'tests/data/Calculation/Engineering/IMAGINARY.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php index 6e60a17b..e7f085b1 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Oct2BinTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Oct2BinTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerOCT2BIN() + public function providerOCT2BIN(): array { return require 'tests/data/Calculation/Engineering/OCT2BIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php index b0537289..2c354046 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Oct2DecTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Oct2DecTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerOCT2DEC() + public function providerOCT2DEC(): array { return require 'tests/data/Calculation/Engineering/OCT2DEC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php index 05703cc9..3f721a48 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php @@ -9,6 +9,9 @@ use PHPUnit\Framework\TestCase; class Oct2HexTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -40,7 +43,7 @@ class Oct2HexTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerOCT2HEX() + public function providerOCT2HEX(): array { return require 'tests/data/Calculation/Engineering/OCT2HEX.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php index 908e4862..fbc7a61c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintMTest.php @@ -24,7 +24,7 @@ class AccrintMTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerACCRINTM() + public function providerACCRINTM(): array { return require 'tests/data/Calculation/Financial/ACCRINTM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php index 2d31c4cc..74444061 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AccrintTest.php @@ -24,7 +24,7 @@ class AccrintTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerACCRINT() + public function providerACCRINT(): array { return require 'tests/data/Calculation/Financial/ACCRINT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php index 5d0cb8ef..6f69e7fb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorDegRcTest.php @@ -24,7 +24,7 @@ class AmorDegRcTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerAMORDEGRC() + public function providerAMORDEGRC(): array { return require 'tests/data/Calculation/Financial/AMORDEGRC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php index 9f6b1080..959e017f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/AmorLincTest.php @@ -24,7 +24,7 @@ class AmorLincTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerAMORLINC() + public function providerAMORLINC(): array { return require 'tests/data/Calculation/Financial/AMORLINC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php index 670d4dc2..2f71bd57 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDayBsTest.php @@ -24,7 +24,7 @@ class CoupDayBsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCOUPDAYBS() + public function providerCOUPDAYBS(): array { return require 'tests/data/Calculation/Financial/COUPDAYBS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php index da9fc0ea..0b283fcd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysNcTest.php @@ -24,7 +24,7 @@ class CoupDaysNcTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCOUPDAYSNC() + public function providerCOUPDAYSNC(): array { return require 'tests/data/Calculation/Financial/COUPDAYSNC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php index 9e642077..095e6c07 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupDaysTest.php @@ -24,7 +24,7 @@ class CoupDaysTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCOUPDAYS() + public function providerCOUPDAYS(): array { return require 'tests/data/Calculation/Financial/COUPDAYS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php index 75680eaf..297b11b9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNcdTest.php @@ -24,7 +24,7 @@ class CoupNcdTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCOUPNCD() + public function providerCOUPNCD(): array { return require 'tests/data/Calculation/Financial/COUPNCD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php index bff1b097..ccbcec59 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupNumTest.php @@ -24,7 +24,7 @@ class CoupNumTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCOUPNUM() + public function providerCOUPNUM(): array { return require 'tests/data/Calculation/Financial/COUPNUM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php index 465f005e..291a2f24 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CoupPcdTest.php @@ -24,7 +24,7 @@ class CoupPcdTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCOUPPCD() + public function providerCOUPPCD(): array { return require 'tests/data/Calculation/Financial/COUPPCD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php index ff82bcbc..79e9128c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumIpmtTest.php @@ -24,7 +24,7 @@ class CumIpmtTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCUMIPMT() + public function providerCUMIPMT(): array { return require 'tests/data/Calculation/Financial/CUMIPMT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php index d0c3d69d..9d955a6b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/CumPrincTest.php @@ -24,7 +24,7 @@ class CumPrincTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerCUMPRINC() + public function providerCUMPRINC(): array { return require 'tests/data/Calculation/Financial/CUMPRINC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php index 6ea05d15..be2950e5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DbTest.php @@ -24,7 +24,7 @@ class DbTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDB() + public function providerDB(): array { return require 'tests/data/Calculation/Financial/DB.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php index ba7ed0cc..204ed56b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DdbTest.php @@ -24,7 +24,7 @@ class DdbTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDDB() + public function providerDDB(): array { return require 'tests/data/Calculation/Financial/DDB.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php index 5f581028..cf4748c3 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DiscTest.php @@ -24,7 +24,7 @@ class DiscTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDISC() + public function providerDISC(): array { return require 'tests/data/Calculation/Financial/DISC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php index ba9116cd..7a4ed042 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarDeTest.php @@ -24,7 +24,7 @@ class DollarDeTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDOLLARDE() + public function providerDOLLARDE(): array { return require 'tests/data/Calculation/Financial/DOLLARDE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php index 21e0d39e..ce74595a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/DollarFrTest.php @@ -24,7 +24,7 @@ class DollarFrTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDOLLARFR() + public function providerDOLLARFR(): array { return require 'tests/data/Calculation/Financial/DOLLARFR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/EffectTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/EffectTest.php index fd8bb36f..89c48b6b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/EffectTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/EffectTest.php @@ -26,7 +26,7 @@ class EffectTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerEFFECT() + public function providerEFFECT(): array { return require 'tests/data/Calculation/Financial/EFFECT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvScheduleTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvScheduleTest.php index 3e145325..b82f4db8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvScheduleTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvScheduleTest.php @@ -24,7 +24,7 @@ class FvScheduleTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerFVSCHEDULE() + public function providerFVSCHEDULE(): array { return require 'tests/data/Calculation/Financial/FVSCHEDULE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php index 0d24fb4d..cb1a304a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/FvTest.php @@ -24,7 +24,7 @@ class FvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerFV() + public function providerFV(): array { return require 'tests/data/Calculation/Financial/FV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php index d8a5d7d0..ff096247 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php @@ -17,10 +17,10 @@ class HelpersTest extends TestCase public function testDaysPerYear($expectedResult, $year, $basis): void { $result = Helpers::daysPerYear($year, $basis); - self::assertSame($expectedResult, $result, 1E-8); + self::assertSame($expectedResult, $result); } - public function providerDaysPerYear() + public function providerDaysPerYear(): array { return require 'tests/data/Calculation/Financial/DaysPerYear.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php index 53d0c81e..443891d7 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IPmtTest.php @@ -24,7 +24,7 @@ class IPmtTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIPMT() + public function providerIPMT(): array { return require 'tests/data/Calculation/Financial/IPMT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php index 6533e057..d36b5851 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IntRateTest.php @@ -24,7 +24,7 @@ class IntRateTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerINTRATE() + public function providerINTRATE(): array { return require 'tests/data/Calculation/Financial/INTRATE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php index eb27357b..3c4bdb5a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IrrTest.php @@ -24,7 +24,7 @@ class IrrTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIRR() + public function providerIRR(): array { return require 'tests/data/Calculation/Financial/IRR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php index f41229cd..61e65594 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/IsPmtTest.php @@ -24,7 +24,7 @@ class IsPmtTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerISPMT() + public function providerISPMT(): array { return require 'tests/data/Calculation/Financial/ISPMT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/MirrTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/MirrTest.php index 3d8208ac..27abfa42 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/MirrTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/MirrTest.php @@ -24,7 +24,7 @@ class MirrTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerMIRR() + public function providerMIRR(): array { return require 'tests/data/Calculation/Financial/MIRR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php index 01735a12..3c677d90 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NPerTest.php @@ -24,7 +24,7 @@ class NPerTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerNPER() + public function providerNPER(): array { return require 'tests/data/Calculation/Financial/NPER.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NominalTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NominalTest.php index da8e52f4..50c1c9a8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NominalTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NominalTest.php @@ -26,7 +26,7 @@ class NominalTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerNOMINAL() + public function providerNOMINAL(): array { return require 'tests/data/Calculation/Financial/NOMINAL.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php index b49fc21e..a5e280c4 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/NpvTest.php @@ -24,7 +24,7 @@ class NpvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerNPV() + public function providerNPV(): array { return require 'tests/data/Calculation/Financial/NPV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php index 88e56379..a8d3095a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PDurationTest.php @@ -24,7 +24,7 @@ class PDurationTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerPDURATION() + public function providerPDURATION(): array { return require 'tests/data/Calculation/Financial/PDURATION.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php index 9f7cf755..d996db10 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PmtTest.php @@ -27,7 +27,7 @@ class PmtTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerPMT() + public function providerPMT(): array { return require 'tests/data/Calculation/Financial/PMT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php index bf9c438f..142b0fda 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PpmtTest.php @@ -24,7 +24,7 @@ class PpmtTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerPPMT() + public function providerPPMT(): array { return require 'tests/data/Calculation/Financial/PPMT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php index 503d7a4f..74673bba 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceDiscTest.php @@ -24,7 +24,7 @@ class PriceDiscTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerPRICEDISC() + public function providerPRICEDISC(): array { return require 'tests/data/Calculation/Financial/PRICEDISC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php index 0eb8c104..d3bd4dab 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceMatTest.php @@ -24,7 +24,7 @@ class PriceMatTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerPRICEMAT() + public function providerPRICEMAT(): array { return require 'tests/data/Calculation/Financial/PRICEMAT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php index d3d5bd8d..87981c7e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PriceTest.php @@ -24,7 +24,7 @@ class PriceTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-7); } - public function providerPRICE() + public function providerPRICE(): array { return require 'tests/data/Calculation/Financial/PRICE.php'; } @@ -43,7 +43,7 @@ class PriceTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-7); } - public function providerPRICE3() + public function providerPRICE3(): array { return require 'tests/data/Calculation/Financial/PRICE3.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php index fffb01b8..c1b40231 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/PvTest.php @@ -24,7 +24,7 @@ class PvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerPV() + public function providerPV(): array { return require 'tests/data/Calculation/Financial/PV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php index d8a0cba3..81535ae0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RateTest.php @@ -24,7 +24,7 @@ class RateTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerRATE() + public function providerRATE(): array { return require 'tests/data/Calculation/Financial/RATE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php index 55cb393a..b566d85f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/ReceivedTest.php @@ -24,7 +24,7 @@ class ReceivedTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerRECEIVED() + public function providerRECEIVED(): array { return require 'tests/data/Calculation/Financial/RECEIVED.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php index b0fe81fd..e641b590 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/RriTest.php @@ -24,7 +24,7 @@ class RriTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerRRI() + public function providerRRI(): array { return require 'tests/data/Calculation/Financial/RRI.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php index 81fc0d57..6ea7908d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SlnTest.php @@ -24,7 +24,7 @@ class SlnTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerSLN() + public function providerSLN(): array { return require 'tests/data/Calculation/Financial/SLN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php index c6b4c191..ede82294 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/SydTest.php @@ -24,7 +24,7 @@ class SydTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerSYD() + public function providerSYD(): array { return require 'tests/data/Calculation/Financial/SYD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php index 756a505e..b528b168 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillEqTest.php @@ -24,7 +24,7 @@ class TBillEqTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerTBILLEQ() + public function providerTBILLEQ(): array { return require 'tests/data/Calculation/Financial/TBILLEQ.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php index 458f6a83..1d1b2420 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillPriceTest.php @@ -24,7 +24,7 @@ class TBillPriceTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerTBILLPRICE() + public function providerTBILLPRICE(): array { return require 'tests/data/Calculation/Financial/TBILLPRICE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php index 3c3057fe..51daddc8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/TBillYieldTest.php @@ -24,7 +24,7 @@ class TBillYieldTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerTBILLYIELD() + public function providerTBILLYIELD(): array { return require 'tests/data/Calculation/Financial/TBILLYIELD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XNpvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XNpvTest.php index 02dc54f9..299d7536 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XNpvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XNpvTest.php @@ -33,7 +33,7 @@ class XNpvTest extends TestCase self::assertEquals($expectedResult, $result, $message); } - public function providerXNPV() + public function providerXNPV(): array { return require 'tests/data/Calculation/Financial/XNPV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XirrTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XirrTest.php index 042ef298..a6677f3f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XirrTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/XirrTest.php @@ -33,7 +33,7 @@ class XirrTest extends TestCase self::assertEquals($expectedResult, $result, $message); } - public function providerXIRR() + public function providerXIRR(): array { return require 'tests/data/Calculation/Financial/XIRR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php index a8d5a7e0..1c966d87 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldDiscTest.php @@ -24,7 +24,7 @@ class YieldDiscTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerYIELDDISC() + public function providerYIELDDISC(): array { return require 'tests/data/Calculation/Financial/YIELDDISC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php index 9a1eba28..d689d057 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Financial/YieldMatTest.php @@ -24,7 +24,7 @@ class YieldMatTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerYIELDMAT() + public function providerYIELDMAT(): array { return require 'tests/data/Calculation/Financial/YIELDMAT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php index d315e82a..a1d546b0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/AndTest.php @@ -24,7 +24,7 @@ class AndTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerAND() + public function providerAND(): array { return require 'tests/data/Calculation/Logical/AND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfErrorTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfErrorTest.php index cf3a39d4..49e7d1e9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfErrorTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfErrorTest.php @@ -26,7 +26,7 @@ class IfErrorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerIFERROR() + public function providerIFERROR(): array { return require 'tests/data/Calculation/Logical/IFERROR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfNaTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfNaTest.php index 63302276..ad3f07fc 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfNaTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfNaTest.php @@ -26,7 +26,7 @@ class IfNaTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerIFNA() + public function providerIFNA(): array { return require 'tests/data/Calculation/Logical/IFNA.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php index 571a80e3..b3e21986 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfTest.php @@ -24,7 +24,7 @@ class IfTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerIF() + public function providerIF(): array { return require 'tests/data/Calculation/Logical/IF.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfsTest.php index 15687cd6..6660b9d3 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/IfsTest.php @@ -25,7 +25,7 @@ class IfsTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerIFS() + public function providerIFS(): array { return require 'tests/data/Calculation/Logical/IFS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php index 4b7c70be..d236fdcc 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/NotTest.php @@ -24,7 +24,7 @@ class NotTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerNOT() + public function providerNOT(): array { return require 'tests/data/Calculation/Logical/NOT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php index 021cc97b..af67c506 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.php @@ -24,7 +24,7 @@ class OrTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerOR() + public function providerOR(): array { return require 'tests/data/Calculation/Logical/OR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php index eacad823..766b1b7c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/SwitchTest.php @@ -24,7 +24,7 @@ class SwitchTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerSwitch() + public function providerSwitch(): array { return require 'tests/data/Calculation/Logical/SWITCH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php index 8ca05f84..27cb359c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Logical/XorTest.php @@ -24,7 +24,7 @@ class XorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerXOR() + public function providerXOR(): array { return require 'tests/data/Calculation/Logical/XOR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php index 17063edc..e6ed234e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/AddressTest.php @@ -24,7 +24,7 @@ class AddressTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerADDRESS() + public function providerADDRESS(): array { return require 'tests/data/Calculation/LookupRef/ADDRESS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ChooseTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ChooseTest.php index 01ba6f75..857973ff 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ChooseTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ChooseTest.php @@ -24,7 +24,7 @@ class ChooseTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCHOOSE() + public function providerCHOOSE(): array { return require 'tests/data/Calculation/LookupRef/CHOOSE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnTest.php index 61c7d40d..2dfb22d9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnTest.php @@ -26,7 +26,7 @@ class ColumnTest extends TestCase self::assertSame($expectedResult, $result); } - public function providerCOLUMN() + public function providerCOLUMN(): array { return require 'tests/data/Calculation/LookupRef/COLUMN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php index a7908241..e14023cd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/ColumnsTest.php @@ -24,7 +24,7 @@ class ColumnsTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCOLUMNS() + public function providerCOLUMNS(): array { return require 'tests/data/Calculation/LookupRef/COLUMNS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/HLookupTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/HLookupTest.php index 767b6de8..7484c47b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/HLookupTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/HLookupTest.php @@ -24,7 +24,7 @@ class HLookupTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerHLOOKUP() + public function providerHLOOKUP(): array { return require 'tests/data/Calculation/LookupRef/HLOOKUP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php index c84a504d..4de661ed 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndexTest.php @@ -25,7 +25,7 @@ class IndexTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerINDEX() + public function providerINDEX(): array { return require 'tests/data/Calculation/LookupRef/INDEX.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndirectTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndirectTest.php index f1018e7f..b11fce68 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndirectTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/IndirectTest.php @@ -48,7 +48,7 @@ class IndirectTest extends TestCase self::assertSame($expectedResult, $result); } - public function providerINDIRECT() + public function providerINDIRECT(): array { return require 'tests/data/Calculation/LookupRef/INDIRECT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/LookupTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/LookupTest.php index d1b36e4a..73dffd3d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/LookupTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/LookupTest.php @@ -24,7 +24,7 @@ class LookupTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerLOOKUP() + public function providerLOOKUP(): array { return require 'tests/data/Calculation/LookupRef/LOOKUP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php index e020d3ba..ba2dce29 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php @@ -24,7 +24,7 @@ class MatchTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerMATCH() + public function providerMATCH(): array { return require 'tests/data/Calculation/LookupRef/MATCH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/OffsetTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/OffsetTest.php index 631af08d..31a9703a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/OffsetTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/OffsetTest.php @@ -25,7 +25,7 @@ class OffsetTest extends TestCase self::assertSame($expectedResult, $result); } - public function providerOFFSET() + public function providerOFFSET(): array { return require 'tests/data/Calculation/LookupRef/OFFSET.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowTest.php index 29a72a28..0e73e829 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowTest.php @@ -26,7 +26,7 @@ class RowTest extends TestCase self::assertSame($expectedResult, $result); } - public function providerROW() + public function providerROW(): array { return require 'tests/data/Calculation/LookupRef/ROW.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php index 62a06626..ec9b33d9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.php @@ -24,7 +24,7 @@ class RowsTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerROWS() + public function providerROWS(): array { return require 'tests/data/Calculation/LookupRef/ROWS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/TransposeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/TransposeTest.php index 1c75ab09..7654f1bd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/TransposeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/TransposeTest.php @@ -25,7 +25,7 @@ class TransposeTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerTRANSPOSE() + public function providerTRANSPOSE(): array { return require 'tests/data/Calculation/LookupRef/TRANSPOSE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/VLookupTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/VLookupTest.php index badf8f68..35e1e069 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/VLookupTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/VLookupTest.php @@ -24,7 +24,7 @@ class VLookupTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerVLOOKUP() + public function providerVLOOKUP(): array { return require 'tests/data/Calculation/LookupRef/VLOOKUP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AbsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AbsTest.php index 7e74474a..5dc97e15 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AbsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AbsTest.php @@ -24,7 +24,7 @@ class AbsTest extends AllSetupTeardown self::assertSame($expectedResult, $result); } - public function providerAbs() + public function providerAbs(): array { return require 'tests/data/Calculation/MathTrig/ABS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcosTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcosTest.php index f9bdac46..c6372ddb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcosTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcosTest.php @@ -19,7 +19,7 @@ class AcosTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerAcos() + public function providerAcos(): array { return require 'tests/data/Calculation/MathTrig/ACOS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcoshTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcoshTest.php index 40930582..557da135 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcoshTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcoshTest.php @@ -19,7 +19,7 @@ class AcoshTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerAcosh() + public function providerAcosh(): array { return require 'tests/data/Calculation/MathTrig/ACOSH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php index de9e2196..d94d4dec 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php @@ -23,7 +23,7 @@ class AcotTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerACOT() + public function providerACOT(): array { return require 'tests/data/Calculation/MathTrig/ACOT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.php index f28064f8..a065b496 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.php @@ -23,7 +23,7 @@ class AcothTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerACOTH() + public function providerACOTH(): array { return require 'tests/data/Calculation/MathTrig/ACOTH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php index eef757f4..a8630727 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AllSetupTeardown.php @@ -6,14 +6,24 @@ use PhpOffice\PhpSpreadsheet\Calculation\Exception as CalcException; use PhpOffice\PhpSpreadsheet\Calculation\Functions; use PhpOffice\PhpSpreadsheet\Cell\DataType; use PhpOffice\PhpSpreadsheet\Spreadsheet; +use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; use PHPUnit\Framework\TestCase; class AllSetupTeardown extends TestCase { - protected $compatibilityMode; + /** + * @var string + */ + private $compatibilityMode; - protected $spreadsheet; + /** + * @var Spreadsheet + */ + private $spreadsheet; + /** + * @var Worksheet + */ protected $sheet; protected function setUp(): void @@ -27,8 +37,6 @@ class AllSetupTeardown extends TestCase { Functions::setCompatibilityMode($this->compatibilityMode); $this->spreadsheet->disconnectWorksheets(); - $this->spreadsheet = null; - $this->sheet = null; } protected static function setOpenOffice(): void diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ArabicTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ArabicTest.php index 93ed4f25..c9dbbcce 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ArabicTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ArabicTest.php @@ -20,7 +20,7 @@ class ArabicTest extends AllSetupTeardown self::assertSame($expectedResult, $result); } - public function providerARABIC() + public function providerARABIC(): array { return require 'tests/data/Calculation/MathTrig/ARABIC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinTest.php index 4797a93f..b3612d01 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinTest.php @@ -19,7 +19,7 @@ class AsinTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerAsin() + public function providerAsin(): array { return require 'tests/data/Calculation/MathTrig/ASIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinhTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinhTest.php index 3f63a01c..e8f21142 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinhTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AsinhTest.php @@ -19,7 +19,7 @@ class AsinhTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerAsinh() + public function providerAsinh(): array { return require 'tests/data/Calculation/MathTrig/ASINH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Atan2Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Atan2Test.php index e1d435de..a22d6ad3 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Atan2Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Atan2Test.php @@ -20,7 +20,7 @@ class Atan2Test extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerATAN2() + public function providerATAN2(): array { return require 'tests/data/Calculation/MathTrig/ATAN2.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanTest.php index c92f834a..69f4ed53 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanTest.php @@ -19,7 +19,7 @@ class AtanTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerAtan() + public function providerAtan(): array { return require 'tests/data/Calculation/MathTrig/ATAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanhTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanhTest.php index abefd334..20a3e9c0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanhTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AtanhTest.php @@ -19,7 +19,7 @@ class AtanhTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerAtanh() + public function providerAtanh(): array { return require 'tests/data/Calculation/MathTrig/ATANH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/BaseTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/BaseTest.php index 94176c77..8bf0f4b2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/BaseTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/BaseTest.php @@ -38,7 +38,7 @@ class BaseTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerBASE() + public function providerBASE(): array { return require 'tests/data/Calculation/MathTrig/BASE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingMathTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingMathTest.php index cd1dcb33..f4039458 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingMathTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingMathTest.php @@ -23,7 +23,7 @@ class CeilingMathTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCEILINGMATH() + public function providerCEILINGMATH(): array { return require 'tests/data/Calculation/MathTrig/CEILINGMATH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingPreciseTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingPreciseTest.php index 7c9e289e..c859646b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingPreciseTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingPreciseTest.php @@ -23,7 +23,7 @@ class CeilingPreciseTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFLOORPRECISE() + public function providerFLOORPRECISE(): array { return require 'tests/data/Calculation/MathTrig/CEILINGPRECISE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingTest.php index bbbc10ea..d65ac6e9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CeilingTest.php @@ -23,7 +23,7 @@ class CeilingTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCEILING() + public function providerCEILING(): array { return require 'tests/data/Calculation/MathTrig/CEILING.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinATest.php index 6ab71c7c..45ad8b29 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinATest.php @@ -26,7 +26,7 @@ class CombinATest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerCOMBINA() + public function providerCOMBINA(): array { return require 'tests/data/Calculation/MathTrig/COMBINA.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinTest.php index 8b2749d8..408b60fe 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CombinTest.php @@ -26,7 +26,7 @@ class CombinTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerCOMBIN() + public function providerCOMBIN(): array { return require 'tests/data/Calculation/MathTrig/COMBIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CosTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CosTest.php index 3a31b454..5bb3427e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CosTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CosTest.php @@ -19,7 +19,7 @@ class CosTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerCos() + public function providerCos(): array { return require 'tests/data/Calculation/MathTrig/COS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CoshTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CoshTest.php index 83c9315c..c408338f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CoshTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CoshTest.php @@ -19,7 +19,7 @@ class CoshTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerCosh() + public function providerCosh(): array { return require 'tests/data/Calculation/MathTrig/COSH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php index 5ed9ac78..d096d0da 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CotTest.php @@ -23,7 +23,7 @@ class CotTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerCOT() + public function providerCOT(): array { return require 'tests/data/Calculation/MathTrig/COT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php index 515ad0a8..11949c43 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php @@ -23,7 +23,7 @@ class CothTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerCOTH() + public function providerCOTH(): array { return require 'tests/data/Calculation/MathTrig/COTH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php index 3b401ef2..ea5a74bf 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CscTest.php @@ -23,7 +23,7 @@ class CscTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerCSC() + public function providerCSC(): array { return require 'tests/data/Calculation/MathTrig/CSC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php index 7cf33099..071f7497 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php @@ -23,7 +23,7 @@ class CschTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerCSCH() + public function providerCSCH(): array { return require 'tests/data/Calculation/MathTrig/CSCH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/DegreesTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/DegreesTest.php index d441a943..10eb3b10 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/DegreesTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/DegreesTest.php @@ -24,7 +24,7 @@ class DegreesTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerDegrees() + public function providerDegrees(): array { return require 'tests/data/Calculation/MathTrig/DEGREES.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php index 56839f7f..12bca051 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php @@ -19,7 +19,7 @@ class EvenTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerEVEN() + public function providerEVEN(): array { return require 'tests/data/Calculation/MathTrig/EVEN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ExpTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ExpTest.php index 7e4510fa..70e7c650 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ExpTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ExpTest.php @@ -26,7 +26,7 @@ class ExpTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerEXP() + public function providerEXP(): array { return require 'tests/data/Calculation/MathTrig/EXP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactDoubleTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactDoubleTest.php index 83fe898c..70f06f11 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactDoubleTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactDoubleTest.php @@ -20,7 +20,7 @@ class FactDoubleTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerFACTDOUBLE() + public function providerFACTDOUBLE(): array { return require 'tests/data/Calculation/MathTrig/FACTDOUBLE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php index 855e7605..379b382c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FactTest.php @@ -26,7 +26,7 @@ class FactTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerFACT() + public function providerFACT(): array { return require 'tests/data/Calculation/MathTrig/FACT.php'; } @@ -54,7 +54,7 @@ class FactTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerFACTGnumeric() + public function providerFACTGnumeric(): array { return require 'tests/data/Calculation/MathTrig/FACTGNUMERIC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorMathTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorMathTest.php index 35ddd892..ecf4c73a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorMathTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorMathTest.php @@ -23,7 +23,7 @@ class FloorMathTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFLOORMATH() + public function providerFLOORMATH(): array { return require 'tests/data/Calculation/MathTrig/FLOORMATH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorPreciseTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorPreciseTest.php index bf580134..22dd72ad 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorPreciseTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorPreciseTest.php @@ -23,7 +23,7 @@ class FloorPreciseTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFLOORPRECISE() + public function providerFLOORPRECISE(): array { return require 'tests/data/Calculation/MathTrig/FLOORPRECISE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorTest.php index d684e84f..b981b26a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/FloorTest.php @@ -23,7 +23,7 @@ class FloorTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFLOOR() + public function providerFLOOR(): array { return require 'tests/data/Calculation/MathTrig/FLOOR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php index 6d87ccc3..aaa641d7 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/GcdTest.php @@ -29,7 +29,7 @@ class GcdTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerGCD() + public function providerGCD(): array { return require 'tests/data/Calculation/MathTrig/GCD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/IntTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/IntTest.php index 989b5bd1..29abbf41 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/IntTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/IntTest.php @@ -23,7 +23,7 @@ class IntTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerINT() + public function providerINT(): array { return require 'tests/data/Calculation/MathTrig/INT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php index 55655d83..5d0ebb58 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LcmTest.php @@ -22,7 +22,7 @@ class LcmTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerLCM() + public function providerLCM(): array { return require 'tests/data/Calculation/MathTrig/LCM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LnTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LnTest.php index e4c46017..3fe35a3c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LnTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LnTest.php @@ -26,7 +26,7 @@ class LnTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerLN() + public function providerLN(): array { return require 'tests/data/Calculation/MathTrig/LN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Log10Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Log10Test.php index b6afaeda..61cade1d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Log10Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/Log10Test.php @@ -26,7 +26,7 @@ class Log10Test extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerLN() + public function providerLN(): array { return require 'tests/data/Calculation/MathTrig/LOG10.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LogTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LogTest.php index f27ec94a..8c45a840 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LogTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/LogTest.php @@ -32,7 +32,7 @@ class LogTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerLOG() + public function providerLOG(): array { return require 'tests/data/Calculation/MathTrig/LOG.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MInverseTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MInverseTest.php index 1912fe07..30a40726 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MInverseTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MInverseTest.php @@ -17,7 +17,7 @@ class MInverseTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerMINVERSE() + public function providerMINVERSE(): array { return require 'tests/data/Calculation/MathTrig/MINVERSE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MMultTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MMultTest.php index 5e0d45f5..49474c14 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MMultTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MMultTest.php @@ -17,7 +17,7 @@ class MMultTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerMMULT() + public function providerMMULT(): array { return require 'tests/data/Calculation/MathTrig/MMULT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MRoundTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MRoundTest.php index 404193e9..e7aa0f41 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MRoundTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MRoundTest.php @@ -23,7 +23,7 @@ class MRoundTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMROUND() + public function providerMROUND(): array { return require 'tests/data/Calculation/MathTrig/MROUND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php index b86a90c0..b2cb4bb2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php @@ -26,7 +26,7 @@ class MdeTermTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMDETERM() + public function providerMDETERM(): array { return require 'tests/data/Calculation/MathTrig/MDETERM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ModTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ModTest.php index 3035e39c..ff35657f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ModTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ModTest.php @@ -32,7 +32,7 @@ class ModTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMOD() + public function providerMOD(): array { return require 'tests/data/Calculation/MathTrig/MOD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php index 1c22cc40..3fea7651 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MultinomialTest.php @@ -27,7 +27,7 @@ class MultinomialTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMULTINOMIAL() + public function providerMULTINOMIAL(): array { return require 'tests/data/Calculation/MathTrig/MULTINOMIAL.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php index 21740ef3..37042743 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php @@ -19,7 +19,7 @@ class OddTest extends AllSetupTeardown self::assertEquals($expectedResult, $sheet->getCell('A1')->getCalculatedValue()); } - public function providerODD() + public function providerODD(): array { return require 'tests/data/Calculation/MathTrig/ODD.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/PowerTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/PowerTest.php index f68941b8..4d6ba7e2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/PowerTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/PowerTest.php @@ -32,7 +32,7 @@ class PowerTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPOWER() + public function providerPOWER(): array { return require 'tests/data/Calculation/MathTrig/POWER.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php index c38eb130..4e63ae91 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/ProductTest.php @@ -22,7 +22,7 @@ class ProductTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPRODUCT() + public function providerPRODUCT(): array { return require 'tests/data/Calculation/MathTrig/PRODUCT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/QuotientTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/QuotientTest.php index 3df2ed99..c8cd13b7 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/QuotientTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/QuotientTest.php @@ -32,7 +32,7 @@ class QuotientTest extends AllSetupTeardown self::assertSame($expectedResult, $result); } - public function providerQUOTIENT() + public function providerQUOTIENT(): array { return require 'tests/data/Calculation/MathTrig/QUOTIENT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RadiansTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RadiansTest.php index 00af620e..03cceaac 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RadiansTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RadiansTest.php @@ -24,7 +24,7 @@ class RadiansTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerRADIANS() + public function providerRADIANS(): array { return require 'tests/data/Calculation/MathTrig/RADIANS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php index 0efe8ba6..2e1ba676 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php @@ -39,7 +39,7 @@ class RandBetweenTest extends AllSetupTeardown } } - public function providerRANDBETWEEN() + public function providerRANDBETWEEN(): array { return require 'tests/data/Calculation/MathTrig/RANDBETWEEN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RomanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RomanTest.php index 0d71ece0..417656c0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RomanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RomanTest.php @@ -20,7 +20,7 @@ class RomanTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerROMAN() + public function providerROMAN(): array { return require 'tests/data/Calculation/MathTrig/ROMAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.php index e450c29e..97058102 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.php @@ -23,7 +23,7 @@ class RoundDownTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerRoundDown() + public function providerRoundDown(): array { return require 'tests/data/Calculation/MathTrig/ROUNDDOWN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php index ee52b93d..960f4740 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php @@ -23,7 +23,7 @@ class RoundTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerRound() + public function providerRound(): array { return require 'tests/data/Calculation/MathTrig/ROUND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php index 6aa6c796..f9ba44e0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php @@ -23,7 +23,7 @@ class RoundUpTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerRoundUp() + public function providerRoundUp(): array { return require 'tests/data/Calculation/MathTrig/ROUNDUP.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php index 6a008102..ad52cee2 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SecTest.php @@ -23,7 +23,7 @@ class SecTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerSEC() + public function providerSEC(): array { return require 'tests/data/Calculation/MathTrig/SEC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php index a93f37c5..7dabf291 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.php @@ -23,7 +23,7 @@ class SechTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-9); } - public function providerSECH() + public function providerSECH(): array { return require 'tests/data/Calculation/MathTrig/SECH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php index 86a40d07..9070f60b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SeriesSumTest.php @@ -39,7 +39,7 @@ class SeriesSumTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSERIESSUM() + public function providerSERIESSUM(): array { return require 'tests/data/Calculation/MathTrig/SERIESSUM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.php index 0ec90e78..fd1a3e6c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.php @@ -22,7 +22,7 @@ class SignTest extends AllSetupTeardown self::assertEquals($expectedResult, $result); } - public function providerSIGN() + public function providerSIGN(): array { return require 'tests/data/Calculation/MathTrig/SIGN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinTest.php index c460605f..c2d0afe5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinTest.php @@ -19,7 +19,7 @@ class SinTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerSin() + public function providerSin(): array { return require 'tests/data/Calculation/MathTrig/SIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinhTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinhTest.php index 30c40615..bb680f08 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinhTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SinhTest.php @@ -19,7 +19,7 @@ class SinhTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerCosh() + public function providerCosh(): array { return require 'tests/data/Calculation/MathTrig/SINH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtPiTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtPiTest.php index fe130d8c..1a879056 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtPiTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtPiTest.php @@ -26,7 +26,7 @@ class SqrtPiTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSQRTPI() + public function providerSQRTPI(): array { return require 'tests/data/Calculation/MathTrig/SQRTPI.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtTest.php index 9e82fe70..8ce557bd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SqrtTest.php @@ -24,7 +24,7 @@ class SqrtTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerSqrt() + public function providerSqrt(): array { return require 'tests/data/Calculation/MathTrig/SQRT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php index 7d44c551..fde1d16e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php @@ -22,7 +22,7 @@ class SubTotalTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUBTOTAL() + public function providerSUBTOTAL(): array { return require 'tests/data/Calculation/MathTrig/SUBTOTAL.php'; } @@ -98,7 +98,7 @@ class SubTotalTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUBTOTALHIDDEN() + public function providerSUBTOTALHIDDEN(): array { return require 'tests/data/Calculation/MathTrig/SUBTOTALHIDDEN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php index 7bcd274e..ad560423 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfTest.php @@ -35,7 +35,7 @@ class SumIfTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMIF() + public function providerSUMIF(): array { return require 'tests/data/Calculation/MathTrig/SUMIF.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfsTest.php index a4a99888..1ae6e231 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumIfsTest.php @@ -17,7 +17,7 @@ class SumIfsTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMIFS() + public function providerSUMIFS(): array { return require 'tests/data/Calculation/MathTrig/SUMIFS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php index 6e7f49e8..b2cdb379 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumProductTest.php @@ -34,7 +34,7 @@ class SumProductTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMPRODUCT() + public function providerSUMPRODUCT(): array { return require 'tests/data/Calculation/MathTrig/SUMPRODUCT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php index e811dd75..162c578a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumSqTest.php @@ -27,7 +27,7 @@ class SumSqTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMSQ() + public function providerSUMSQ(): array { return require 'tests/data/Calculation/MathTrig/SUMSQ.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php index 5bd03318..a9ea7f29 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumTest.php @@ -22,7 +22,7 @@ class SumTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUM() + public function providerSUM(): array { return require 'tests/data/Calculation/MathTrig/SUM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php index a6813bb2..427e5c85 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2MY2Test.php @@ -34,7 +34,7 @@ class SumX2MY2Test extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMX2MY2() + public function providerSUMX2MY2(): array { return require 'tests/data/Calculation/MathTrig/SUMX2MY2.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php index 2db78440..100b8566 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumX2PY2Test.php @@ -34,7 +34,7 @@ class SumX2PY2Test extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMX2PY2() + public function providerSUMX2PY2(): array { return require 'tests/data/Calculation/MathTrig/SUMX2PY2.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php index eaa1ec7a..43acd4a0 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SumXMY2Test.php @@ -34,7 +34,7 @@ class SumXMY2Test extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSUMXMY2() + public function providerSUMXMY2(): array { return require 'tests/data/Calculation/MathTrig/SUMXMY2.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanTest.php index 4db9dbb9..80dd7eff 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanTest.php @@ -19,7 +19,7 @@ class TanTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerTan() + public function providerTan(): array { return require 'tests/data/Calculation/MathTrig/TAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanhTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanhTest.php index 68f87cd2..9a55e9b4 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanhTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TanhTest.php @@ -19,7 +19,7 @@ class TanhTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-6); } - public function providerTanh() + public function providerTanh(): array { return require 'tests/data/Calculation/MathTrig/TANH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php index e4127e57..7d7a4b55 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php @@ -23,7 +23,7 @@ class TruncTest extends AllSetupTeardown self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerTRUNC() + public function providerTRUNC(): array { return require 'tests/data/Calculation/MathTrig/TRUNC.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php index 571c06c3..ea3df6bb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AveDevTest.php @@ -24,7 +24,7 @@ class AveDevTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerAVEDEV() + public function providerAVEDEV(): array { return require 'tests/data/Calculation/Statistical/AVEDEV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php index 1af96dfc..fec65c28 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageATest.php @@ -24,7 +24,7 @@ class AverageATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerAVERAGEA() + public function providerAVERAGEA(): array { return require 'tests/data/Calculation/Statistical/AVERAGEA.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php index 69dcfb87..c9648d43 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfTest.php @@ -24,7 +24,7 @@ class AverageIfTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerAVERAGEIF() + public function providerAVERAGEIF(): array { return require 'tests/data/Calculation/Statistical/AVERAGEIF.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php index 84c53431..de593764 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageIfsTest.php @@ -24,7 +24,7 @@ class AverageIfsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerAVERAGEIFS() + public function providerAVERAGEIFS(): array { return require 'tests/data/Calculation/Statistical/AVERAGEIFS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php index c67452ab..d5e617a9 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/AverageTest.php @@ -24,7 +24,7 @@ class AverageTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerAVERAGE() + public function providerAVERAGE(): array { return require 'tests/data/Calculation/Statistical/AVERAGE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php index a85781e5..03d03372 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaDistTest.php @@ -24,7 +24,7 @@ class BetaDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerBETADIST() + public function providerBETADIST(): array { return require 'tests/data/Calculation/Statistical/BETADIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php index 24ddd3fc..d82008ab 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BetaInvTest.php @@ -24,7 +24,7 @@ class BetaInvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerBETAINV() + public function providerBETAINV(): array { return require 'tests/data/Calculation/Statistical/BETAINV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php index 8db391e1..6d53aed3 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistRangeTest.php @@ -24,7 +24,7 @@ class BinomDistRangeTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerBINOMDISTRANGE() + public function providerBINOMDISTRANGE(): array { return require 'tests/data/Calculation/Statistical/BINOMDISTRANGE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php index 8b3e6856..5c4b8d16 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomDistTest.php @@ -24,7 +24,7 @@ class BinomDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerBINOMDIST() + public function providerBINOMDIST(): array { return require 'tests/data/Calculation/Statistical/BINOMDIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php index 91381dd7..88a37ede 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/BinomInvTest.php @@ -24,7 +24,7 @@ class BinomInvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerBINOMINV() + public function providerBINOMINV(): array { return require 'tests/data/Calculation/Statistical/BINOMINV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php index 3c7a8d4e..7955fcec 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistLeftTailTest.php @@ -24,7 +24,7 @@ class ChiDistLeftTailTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCHIDIST() + public function providerCHIDIST(): array { return require 'tests/data/Calculation/Statistical/CHIDISTLeftTail.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php index 26bf5ab7..edf275ec 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiDistRightTailTest.php @@ -24,7 +24,7 @@ class ChiDistRightTailTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCHIDIST() + public function providerCHIDIST(): array { return require 'tests/data/Calculation/Statistical/CHIDISTRightTail.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvLeftTailTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvLeftTailTest.php index 962e20ad..0911449d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvLeftTailTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvLeftTailTest.php @@ -30,7 +30,7 @@ class ChiInvLeftTailTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCHIINV() + public function providerCHIINV(): array { return require 'tests/data/Calculation/Statistical/CHIINVLeftTail.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvRightTailTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvRightTailTest.php index 75949f39..29ef161f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvRightTailTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiInvRightTailTest.php @@ -30,7 +30,7 @@ class ChiInvRightTailTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCHIINV() + public function providerCHIINV(): array { return require 'tests/data/Calculation/Statistical/CHIINVRightTail.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiTestTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiTestTest.php index 5f9f361f..ed608d58 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiTestTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ChiTestTest.php @@ -20,7 +20,7 @@ class ChiTestTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCHITEST() + public function providerCHITEST(): array { return require 'tests/data/Calculation/Statistical/CHITEST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php index d4bc586f..3e43234a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ConfidenceTest.php @@ -24,7 +24,7 @@ class ConfidenceTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCONFIDENCE() + public function providerCONFIDENCE(): array { return require 'tests/data/Calculation/Statistical/CONFIDENCE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CorrelTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CorrelTest.php index 960a4cfd..adadf422 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CorrelTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CorrelTest.php @@ -26,7 +26,7 @@ class CorrelTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCORREL() + public function providerCORREL(): array { return require 'tests/data/Calculation/Statistical/CORREL.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php index 2df0ebd1..0e530158 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountATest.php @@ -24,7 +24,7 @@ class CountATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCOUNTA() + public function providerCOUNTA(): array { return require 'tests/data/Calculation/Statistical/COUNTA.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php index b0c6698b..24667a6b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountBlankTest.php @@ -24,7 +24,7 @@ class CountBlankTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCOUNTBLANK() + public function providerCOUNTBLANK(): array { return require 'tests/data/Calculation/Statistical/COUNTBLANK.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php index fed32e5c..c42d7eef 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfTest.php @@ -24,7 +24,7 @@ class CountIfTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCOUNTIF() + public function providerCOUNTIF(): array { return require 'tests/data/Calculation/Statistical/COUNTIF.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php index 1eeb4f67..a68d7240 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountIfsTest.php @@ -24,7 +24,7 @@ class CountIfsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCOUNTIFS() + public function providerCOUNTIFS(): array { return require 'tests/data/Calculation/Statistical/COUNTIFS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php index 65b698e3..07f4f918 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CountTest.php @@ -8,6 +8,9 @@ use PHPUnit\Framework\TestCase; class CountTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; protected function setUp(): void @@ -32,7 +35,7 @@ class CountTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerBasicCOUNT() + public function providerBasicCOUNT(): array { return require 'tests/data/Calculation/Statistical/BasicCOUNT.php'; } @@ -48,7 +51,7 @@ class CountTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerExcelCOUNT() + public function providerExcelCOUNT(): array { return require 'tests/data/Calculation/Statistical/ExcelCOUNT.php'; } @@ -66,7 +69,7 @@ class CountTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOpenOfficeCOUNT() + public function providerOpenOfficeCOUNT(): array { return require 'tests/data/Calculation/Statistical/OpenOfficeCOUNT.php'; } @@ -84,7 +87,7 @@ class CountTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerGnumericCOUNT() + public function providerGnumericCOUNT(): array { return require 'tests/data/Calculation/Statistical/GnumericCOUNT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php index 5b73d1d9..e85c6f92 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/CovarTest.php @@ -24,7 +24,7 @@ class CovarTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerCOVAR() + public function providerCOVAR(): array { return require 'tests/data/Calculation/Statistical/COVAR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php index 0296ab7b..200ab14c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ExponDistTest.php @@ -24,7 +24,7 @@ class ExponDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerEXPONDIST() + public function providerEXPONDIST(): array { return require 'tests/data/Calculation/Statistical/EXPONDIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherInvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherInvTest.php index 2c3e592c..05fac316 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherInvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherInvTest.php @@ -25,7 +25,7 @@ class FisherInvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFISHERINV() + public function providerFISHERINV(): array { return require 'tests/data/Calculation/Statistical/FISHERINV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherTest.php index 7705517a..c3dc631d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/FisherTest.php @@ -25,7 +25,7 @@ class FisherTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFISHER() + public function providerFISHER(): array { return require 'tests/data/Calculation/Statistical/FISHER.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php index 6ecbb9c8..80c46b43 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ForecastTest.php @@ -24,7 +24,7 @@ class ForecastTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerFORECAST() + public function providerFORECAST(): array { return require 'tests/data/Calculation/Statistical/FORECAST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php index 6765d340..2d90afc6 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaDistTest.php @@ -24,7 +24,7 @@ class GammaDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerGAMMADIST() + public function providerGAMMADIST(): array { return require 'tests/data/Calculation/Statistical/GAMMADIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php index 3e9e41cb..f845d07c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaInvTest.php @@ -24,7 +24,7 @@ class GammaInvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerGAMMAINV() + public function providerGAMMAINV(): array { return require 'tests/data/Calculation/Statistical/GAMMAINV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaLnTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaLnTest.php index 31407feb..73dfe23a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaLnTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GammaLnTest.php @@ -25,7 +25,7 @@ class GammaLnTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerGAMMALN() + public function providerGAMMALN(): array { return require 'tests/data/Calculation/Statistical/GAMMALN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php index 99f125d1..859212f5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GeoMeanTest.php @@ -24,7 +24,7 @@ class GeoMeanTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerGEOMEAN() + public function providerGEOMEAN(): array { return require 'tests/data/Calculation/Statistical/GEOMEAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php index 6e1cf7bf..a5ed8223 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/GrowthTest.php @@ -26,7 +26,7 @@ class GrowthTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result[0], 1E-12); } - public function providerGROWTH() + public function providerGROWTH(): array { return require 'tests/data/Calculation/Statistical/GROWTH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php index 5ddf58a8..2dbc0cba 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HarMeanTest.php @@ -24,7 +24,7 @@ class HarMeanTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerHARMEAN() + public function providerHARMEAN(): array { return require 'tests/data/Calculation/Statistical/HARMEAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php index d05b60b5..1fa02440 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/HypGeomDistTest.php @@ -18,7 +18,7 @@ class HypGeomDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerHYPGEOMDIST() + public function providerHYPGEOMDIST(): array { return require 'tests/data/Calculation/Statistical/HYPGEOMDIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php index 51245861..9ccea5cb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/InterceptTest.php @@ -24,7 +24,7 @@ class InterceptTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerINTERCEPT() + public function providerINTERCEPT(): array { return require 'tests/data/Calculation/Statistical/INTERCEPT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php index b62aa026..d793736a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/KurtTest.php @@ -12,13 +12,13 @@ class KurtTest extends TestCase * * @param mixed $expectedResult */ - public function testKURT($expectedResult, ...$values): void + public function testKURT($expectedResult, ...$args): void { - $result = Statistical::KURT(...$values); + $result = Statistical::KURT(...$args); self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerKURT() + public function providerKURT(): array { return require 'tests/data/Calculation/Statistical/KURT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LargeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LargeTest.php index 194248d0..18694210 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LargeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LargeTest.php @@ -20,7 +20,7 @@ class LargeTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerLARGE() + public function providerLARGE(): array { return require 'tests/data/Calculation/Statistical/LARGE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php index 083ac899..539d915f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LinEstTest.php @@ -10,15 +10,15 @@ class LinEstTest extends TestCase /** * @dataProvider providerLINEST * - * @param mixed $expectedResult * @param mixed $xValues * @param mixed $yValues * @param mixed $const * @param mixed $stats */ - public function testLINEST($expectedResult, $yValues, $xValues, $const, $stats): void + public function testLINEST(array $expectedResult, $yValues, $xValues, $const, $stats): void { $result = Statistical::LINEST($yValues, $xValues, $const, $stats); + self::assertIsArray($result); $elements = count($expectedResult); for ($element = 0; $element < $elements; ++$element) { @@ -26,7 +26,7 @@ class LinEstTest extends TestCase } } - public function providerLINEST() + public function providerLINEST(): array { return require 'tests/data/Calculation/Statistical/LINEST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php index 2b2d1ecf..1537de69 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/LogEstTest.php @@ -10,23 +10,23 @@ class LogEstTest extends TestCase /** * @dataProvider providerLOGEST * - * @param mixed $expectedResult * @param mixed $xValues * @param mixed $yValues * @param mixed $const * @param mixed $stats */ - public function testLOGEST($expectedResult, $yValues, $xValues, $const, $stats): void + public function testLOGEST(array $expectedResult, $yValues, $xValues, $const, $stats): void { $result = Statistical::LOGEST($yValues, $xValues, $const, $stats); - //var_dump($result); + self::assertIsArray($result); + $elements = count($expectedResult); for ($element = 0; $element < $elements; ++$element) { self::assertEqualsWithDelta($expectedResult[$element], $result[$element], 1E-12); } } - public function providerLOGEST() + public function providerLOGEST(): array { return require 'tests/data/Calculation/Statistical/LOGEST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php index a031203a..d4c00a4b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MaxIfsTest.php @@ -24,7 +24,7 @@ class MaxIfsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMAXIFS() + public function providerMAXIFS(): array { return require 'tests/data/Calculation/Statistical/MAXIFS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php index c29d65e5..68e46e18 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MedianTest.php @@ -24,7 +24,7 @@ class MedianTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMEDIAN() + public function providerMEDIAN(): array { return require 'tests/data/Calculation/Statistical/MEDIAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php index f1740110..201e9e74 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/MinIfsTest.php @@ -24,7 +24,7 @@ class MinIfsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerMINIFS() + public function providerMINIFS(): array { return require 'tests/data/Calculation/Statistical/MINIFS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php index 9c082da7..d7c7bc53 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NegBinomDistTest.php @@ -24,7 +24,7 @@ class NegBinomDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerNEGBINOMDIST() + public function providerNEGBINOMDIST(): array { return require 'tests/data/Calculation/Statistical/NEGBINOMDIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php index b456f0ae..62a7cf16 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/NormInvTest.php @@ -18,7 +18,7 @@ class NormInvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerNORMINV() + public function providerNORMINV(): array { return require 'tests/data/Calculation/Statistical/NORMINV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentRankTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentRankTest.php index 71eff7ac..4022ae40 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentRankTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentRankTest.php @@ -27,7 +27,7 @@ class PercentRankTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPERCENTRANK() + public function providerPERCENTRANK(): array { return require 'tests/data/Calculation/Statistical/PERCENTRANK.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php index ad8c35ed..e4dadb74 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PercentileTest.php @@ -24,7 +24,7 @@ class PercentileTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPERCENTILE() + public function providerPERCENTILE(): array { return require 'tests/data/Calculation/Statistical/PERCENTILE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php index 98e39978..10a4f709 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutTest.php @@ -24,7 +24,7 @@ class PermutTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPERMUT() + public function providerPERMUT(): array { return require 'tests/data/Calculation/Statistical/PERMUT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php index 8a256ae8..ac052e42 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PermutationATest.php @@ -24,7 +24,7 @@ class PermutationATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPERMUT() + public function providerPERMUT(): array { return require 'tests/data/Calculation/Statistical/PERMUTATIONA.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php index e511d0fe..adea549c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/PoissonTest.php @@ -24,7 +24,7 @@ class PoissonTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerPOISSON() + public function providerPOISSON(): array { return require 'tests/data/Calculation/Statistical/POISSON.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php index 706b632e..33b3c599 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/QuartileTest.php @@ -24,7 +24,7 @@ class QuartileTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerQUARTILE() + public function providerQUARTILE(): array { return require 'tests/data/Calculation/Statistical/QUARTILE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RankTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RankTest.php index 9e2ed513..bbbac36f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RankTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RankTest.php @@ -27,7 +27,7 @@ class RankTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerRANK() + public function providerRANK(): array { return require 'tests/data/Calculation/Statistical/RANK.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php index 423cc3ae..a85bba06 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/RsqTest.php @@ -24,7 +24,7 @@ class RsqTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerRSQ() + public function providerRSQ(): array { return require 'tests/data/Calculation/Statistical/RSQ.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php index 79714d3f..4415ec4a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SkewTest.php @@ -24,7 +24,7 @@ class SkewTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSKEW() + public function providerSKEW(): array { return require 'tests/data/Calculation/Statistical/SKEW.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php index 467bff1e..9bab264c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SlopeTest.php @@ -24,7 +24,7 @@ class SlopeTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSLOPE() + public function providerSLOPE(): array { return require 'tests/data/Calculation/Statistical/SLOPE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SmallTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SmallTest.php index a40e5eb3..52c82f6b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SmallTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SmallTest.php @@ -20,7 +20,7 @@ class SmallTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSMALL() + public function providerSMALL(): array { return require 'tests/data/Calculation/Statistical/SMALL.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php index 79e4482a..1de33a77 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevATest.php @@ -25,7 +25,7 @@ class StDevATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSTDEVA() + public function providerSTDEVA(): array { return require 'tests/data/Calculation/Statistical/STDEVA.php'; } @@ -44,7 +44,7 @@ class StDevATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsSTDEVA() + public function providerOdsSTDEVA(): array { return require 'tests/data/Calculation/Statistical/STDEVA_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php index b004e5b0..f19f072e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPATest.php @@ -25,7 +25,7 @@ class StDevPATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSTDEVPA() + public function providerSTDEVPA(): array { return require 'tests/data/Calculation/Statistical/STDEVPA.php'; } @@ -44,7 +44,7 @@ class StDevPATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsSTDEVPA() + public function providerOdsSTDEVPA(): array { return require 'tests/data/Calculation/Statistical/STDEVPA_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php index 7e45ec51..39de961d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevPTest.php @@ -25,7 +25,7 @@ class StDevPTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSTDEVP() + public function providerSTDEVP(): array { return require 'tests/data/Calculation/Statistical/STDEVP.php'; } @@ -44,7 +44,7 @@ class StDevPTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsSTDEVP() + public function providerOdsSTDEVP(): array { return require 'tests/data/Calculation/Statistical/STDEVP_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php index bc59869d..e9904109 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/StDevTest.php @@ -25,7 +25,7 @@ class StDevTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSTDEV() + public function providerSTDEV(): array { return require 'tests/data/Calculation/Statistical/STDEV.php'; } @@ -44,7 +44,7 @@ class StDevTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsSTDEV() + public function providerOdsSTDEV(): array { return require 'tests/data/Calculation/Statistical/STDEV_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php index ab109345..cefc79c5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/SteyxTest.php @@ -24,7 +24,7 @@ class SteyxTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerSTEYX() + public function providerSTEYX(): array { return require 'tests/data/Calculation/Statistical/STEYX.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistTest.php index a6a2c97e..e1fb2546 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TDistTest.php @@ -21,7 +21,7 @@ class TDistTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerTDIST() + public function providerTDIST(): array { return require 'tests/data/Calculation/Statistical/TDIST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TinvTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TinvTest.php index 62605fe9..08ac3ceb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TinvTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TinvTest.php @@ -20,7 +20,7 @@ class TinvTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerTINV() + public function providerTINV(): array { return require 'tests/data/Calculation/Statistical/TINV.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php index b4f756b5..c367cb10 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrendTest.php @@ -26,7 +26,7 @@ class TrendTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result[0], 1E-12); } - public function providerGROWTH() + public function providerGROWTH(): array { return require 'tests/data/Calculation/Statistical/TREND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php index cfcb1609..54d7576a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/TrimMeanTest.php @@ -25,7 +25,7 @@ class TrimMeanTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerTRIMMEAN() + public function providerTRIMMEAN(): array { return require 'tests/data/Calculation/Statistical/TRIMMEAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php index 8d664af4..a0bf8182 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarATest.php @@ -25,7 +25,7 @@ class VarATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerVARA() + public function providerVARA(): array { return require 'tests/data/Calculation/Statistical/VARA.php'; } @@ -44,7 +44,7 @@ class VarATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsVARA() + public function providerOdsVARA(): array { return require 'tests/data/Calculation/Statistical/VARA_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php index 8240b5cf..88304d8e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPATest.php @@ -25,7 +25,7 @@ class VarPATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerVARPA() + public function providerVARPA(): array { return require 'tests/data/Calculation/Statistical/VARPA.php'; } @@ -44,7 +44,7 @@ class VarPATest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsVARPA() + public function providerOdsVARPA(): array { return require 'tests/data/Calculation/Statistical/VARPA_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php index bbc5239c..1a0475eb 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarPTest.php @@ -25,7 +25,7 @@ class VarPTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerVARP() + public function providerVARP(): array { return require 'tests/data/Calculation/Statistical/VARP.php'; } @@ -44,7 +44,7 @@ class VarPTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsVARP() + public function providerOdsVARP(): array { return require 'tests/data/Calculation/Statistical/VARP_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php index 15aa98a0..5fc163b5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/VarTest.php @@ -25,7 +25,7 @@ class VarTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerVAR() + public function providerVAR(): array { return require 'tests/data/Calculation/Statistical/VAR.php'; } @@ -44,7 +44,7 @@ class VarTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerOdsVAR() + public function providerOdsVAR(): array { return require 'tests/data/Calculation/Statistical/VAR_ODS.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/WeibullTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/WeibullTest.php index 6707121e..3e97bff8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/WeibullTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/WeibullTest.php @@ -22,7 +22,7 @@ class WeibullTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerWEIBULL() + public function providerWEIBULL(): array { return require 'tests/data/Calculation/Statistical/WEIBULL.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ZTestTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ZTestTest.php index 9b90079e..4dc3af9b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ZTestTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/Statistical/ZTestTest.php @@ -21,7 +21,7 @@ class ZTestTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-12); } - public function providerZTEST() + public function providerZTEST(): array { return require 'tests/data/Calculation/Statistical/ZTEST.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CharTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CharTest.php index 324f5054..e8934ce5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CharTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CharTest.php @@ -19,7 +19,7 @@ class CharTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCHAR() + public function providerCHAR(): array { return require 'tests/data/Calculation/TextData/CHAR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CleanTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CleanTest.php index ddc27a5d..e3ad5544 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CleanTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CleanTest.php @@ -19,7 +19,7 @@ class CleanTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCLEAN() + public function providerCLEAN(): array { return require 'tests/data/Calculation/TextData/CLEAN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CodeTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CodeTest.php index 7bf5a00f..6f0f6b06 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CodeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/CodeTest.php @@ -19,7 +19,7 @@ class CodeTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCODE() + public function providerCODE(): array { return require 'tests/data/Calculation/TextData/CODE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php index 068e7d8f..88ad6bfd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php @@ -18,7 +18,7 @@ class ConcatenateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCONCATENATE() + public function providerCONCATENATE(): array { return require 'tests/data/Calculation/TextData/CONCATENATE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/DollarTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/DollarTest.php index 1d482589..4abf3909 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/DollarTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/DollarTest.php @@ -18,7 +18,7 @@ class DollarTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDOLLAR() + public function providerDOLLAR(): array { return require 'tests/data/Calculation/TextData/DOLLAR.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ExactTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ExactTest.php index 92d3935c..e856832f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ExactTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ExactTest.php @@ -19,10 +19,7 @@ class ExactTest extends TestCase self::assertSame($expectedResult, $result); } - /** - * @return array - */ - public function providerEXACT() + public function providerEXACT(): array { return require 'tests/data/Calculation/TextData/EXACT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FindTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FindTest.php index d4b1b77d..3631c6a7 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FindTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FindTest.php @@ -18,7 +18,7 @@ class FindTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerFIND() + public function providerFIND(): array { return require 'tests/data/Calculation/TextData/FIND.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FixedTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FixedTest.php index 0cbaf80c..ab3cfb7a 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FixedTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/FixedTest.php @@ -18,7 +18,7 @@ class FixedTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerFIXED() + public function providerFIXED(): array { return require 'tests/data/Calculation/TextData/FIXED.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php index 450643f7..c2508dfd 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LeftTest.php @@ -24,7 +24,7 @@ class LeftTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerLEFT() + public function providerLEFT(): array { return require 'tests/data/Calculation/TextData/LEFT.php'; } @@ -51,7 +51,7 @@ class LeftTest extends TestCase Settings::setLocale('en_US'); } - public function providerLocaleLEFT() + public function providerLocaleLEFT(): array { return [ ['VR', 'fr_FR', true, 2], diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LenTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LenTest.php index c6ffc43d..7ab36b67 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LenTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LenTest.php @@ -19,7 +19,7 @@ class LenTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerLEN() + public function providerLEN(): array { return require 'tests/data/Calculation/TextData/LEN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LowerTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LowerTest.php index f90ab378..1d11f1e5 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LowerTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/LowerTest.php @@ -25,7 +25,7 @@ class LowerTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerLOWER() + public function providerLOWER(): array { return require 'tests/data/Calculation/TextData/LOWER.php'; } @@ -51,7 +51,7 @@ class LowerTest extends TestCase Settings::setLocale('en_US'); } - public function providerLocaleLOWER() + public function providerLocaleLOWER(): array { return [ ['vrai', 'fr_FR', true], diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php index c9859969..267d6894 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/MidTest.php @@ -24,7 +24,7 @@ class MidTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerMID() + public function providerMID(): array { return require 'tests/data/Calculation/TextData/MID.php'; } @@ -52,7 +52,7 @@ class MidTest extends TestCase Settings::setLocale('en_US'); } - public function providerLocaleMID() + public function providerLocaleMID(): array { return [ ['RA', 'fr_FR', true, 2, 2], diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php index c186bb0b..f54bfc3d 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/NumberValueTest.php @@ -18,7 +18,7 @@ class NumberValueTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerNUMBERVALUE() + public function providerNUMBERVALUE(): array { return require 'tests/data/Calculation/TextData/NUMBERVALUE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ProperTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ProperTest.php index 58096c5e..8366b070 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ProperTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ProperTest.php @@ -25,7 +25,7 @@ class ProperTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerPROPER() + public function providerPROPER(): array { return require 'tests/data/Calculation/TextData/PROPER.php'; } @@ -51,7 +51,7 @@ class ProperTest extends TestCase Settings::setLocale('en_US'); } - public function providerLocaleLOWER() + public function providerLocaleLOWER(): array { return [ ['Vrai', 'fr_FR', true], diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReplaceTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReplaceTest.php index ff9236e6..781e454c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReplaceTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReplaceTest.php @@ -18,7 +18,7 @@ class ReplaceTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerREPLACE() + public function providerREPLACE(): array { return require 'tests/data/Calculation/TextData/REPLACE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReptTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReptTest.php index 8c637f9a..a0c089cf 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReptTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ReptTest.php @@ -51,7 +51,7 @@ class ReptTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerREPT() + public function providerREPT(): array { return require 'tests/data/Calculation/TextData/REPT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php index 26ccc549..a2ab3a4c 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/RightTest.php @@ -24,7 +24,7 @@ class RightTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerRIGHT() + public function providerRIGHT(): array { return require 'tests/data/Calculation/TextData/RIGHT.php'; } @@ -51,7 +51,7 @@ class RightTest extends TestCase Settings::setLocale('en_US'); } - public function providerLocaleRIGHT() + public function providerLocaleRIGHT(): array { return [ ['RAI', 'fr_FR', true, 3], diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SearchTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SearchTest.php index 7bb92e83..14f5735b 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SearchTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SearchTest.php @@ -18,7 +18,7 @@ class SearchTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerSEARCH() + public function providerSEARCH(): array { return require 'tests/data/Calculation/TextData/SEARCH.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SubstituteTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SubstituteTest.php index 2a9d1012..792e1a15 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SubstituteTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/SubstituteTest.php @@ -18,7 +18,7 @@ class SubstituteTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerSUBSTITUTE() + public function providerSUBSTITUTE(): array { return require 'tests/data/Calculation/TextData/SUBSTITUTE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TTest.php index e2f5cd01..9ca47f91 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TTest.php @@ -19,7 +19,7 @@ class TTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerT() + public function providerT(): array { return require 'tests/data/Calculation/TextData/T.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextJoinTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextJoinTest.php index e8fb404d..78e72f96 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextJoinTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextJoinTest.php @@ -18,7 +18,7 @@ class TextJoinTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerTEXTJOIN() + public function providerTEXTJOIN(): array { return require 'tests/data/Calculation/TextData/TEXTJOIN.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextTest.php index 8d7b238b..91418065 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextTest.php @@ -18,7 +18,7 @@ class TextTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerTEXT() + public function providerTEXT(): array { return require 'tests/data/Calculation/TextData/TEXT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TrimTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TrimTest.php index 6b2dbc7a..302dce4f 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TrimTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TrimTest.php @@ -19,7 +19,7 @@ class TrimTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerTRIM() + public function providerTRIM(): array { return require 'tests/data/Calculation/TextData/TRIM.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/UpperTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/UpperTest.php index 352aa5b7..45f7aea8 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/UpperTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/UpperTest.php @@ -25,7 +25,7 @@ class UpperTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerUPPER() + public function providerUPPER(): array { return require 'tests/data/Calculation/TextData/UPPER.php'; } @@ -51,7 +51,7 @@ class UpperTest extends TestCase Settings::setLocale('en_US'); } - public function providerLocaleLOWER() + public function providerLocaleLOWER(): array { return [ ['VRAI', 'fr_FR', true], diff --git a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php index 607c926b..b3ba1246 100644 --- a/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ValueTest.php @@ -8,10 +8,19 @@ use PHPUnit\Framework\TestCase; class ValueTest extends TestCase { + /** + * @var string + */ private $currencyCode; + /** + * @var string + */ private $decimalSeparator; + /** + * @var string + */ private $thousandsSeparator; protected function setUp(): void @@ -44,7 +53,7 @@ class ValueTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerVALUE() + public function providerVALUE(): array { return require 'tests/data/Calculation/TextData/VALUE.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php b/tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php index dfa01822..4e8335f1 100644 --- a/tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/FunctionsTest.php @@ -10,8 +10,14 @@ use PHPUnit\Framework\TestCase; class FunctionsTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; + /** + * @var string + */ private $returnDate; protected function setUp(): void @@ -123,7 +129,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsBlank() + public function providerIsBlank(): array { return require 'tests/data/Calculation/Functions/IS_BLANK.php'; } @@ -139,7 +145,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsErr() + public function providerIsErr(): array { return require 'tests/data/Calculation/Functions/IS_ERR.php'; } @@ -155,7 +161,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsError() + public function providerIsError(): array { return require 'tests/data/Calculation/Functions/IS_ERROR.php'; } @@ -171,7 +177,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerErrorType() + public function providerErrorType(): array { return require 'tests/data/Calculation/Functions/ERROR_TYPE.php'; } @@ -187,7 +193,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsLogical() + public function providerIsLogical(): array { return require 'tests/data/Calculation/Functions/IS_LOGICAL.php'; } @@ -203,7 +209,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsNa() + public function providerIsNa(): array { return require 'tests/data/Calculation/Functions/IS_NA.php'; } @@ -219,7 +225,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsNumber() + public function providerIsNumber(): array { return require 'tests/data/Calculation/Functions/IS_NUMBER.php'; } @@ -235,7 +241,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsText() + public function providerIsText(): array { return require 'tests/data/Calculation/Functions/IS_TEXT.php'; } @@ -251,7 +257,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsNonText() + public function providerIsNonText(): array { return require 'tests/data/Calculation/Functions/IS_NONTEXT.php'; } @@ -267,7 +273,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsEven() + public function providerIsEven(): array { return require 'tests/data/Calculation/Functions/IS_EVEN.php'; } @@ -283,7 +289,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsOdd() + public function providerIsOdd(): array { return require 'tests/data/Calculation/Functions/IS_ODD.php'; } @@ -299,7 +305,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerTYPE() + public function providerTYPE(): array { return require 'tests/data/Calculation/Functions/TYPE.php'; } @@ -315,7 +321,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerN() + public function providerN(): array { return require 'tests/data/Calculation/Functions/N.php'; } @@ -368,7 +374,7 @@ class FunctionsTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerIsFormula() + public function providerIsFormula(): array { return require 'tests/data/Calculation/Functions/ISFORMULA.php'; } @@ -384,7 +390,7 @@ class FunctionsTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerIfCondition() + public function providerIfCondition(): array { return require 'tests/data/Calculation/Functions/IF_CONDITION.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/LookupRefTest.php b/tests/PhpSpreadsheetTests/Calculation/LookupRefTest.php index 6d603722..af8b8079 100644 --- a/tests/PhpSpreadsheetTests/Calculation/LookupRefTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/LookupRefTest.php @@ -69,7 +69,7 @@ class LookupRefTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-8); } - public function providerFormulaText() + public function providerFormulaText(): array { return require 'tests/data/Calculation/LookupRef/FORMULATEXT.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/TranslationTest.php b/tests/PhpSpreadsheetTests/Calculation/TranslationTest.php index 1eb66a0a..e2384460 100644 --- a/tests/PhpSpreadsheetTests/Calculation/TranslationTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/TranslationTest.php @@ -9,8 +9,14 @@ use PHPUnit\Framework\TestCase; class TranslationTest extends TestCase { + /** + * @var string + */ private $compatibilityMode; + /** + * @var string + */ private $returnDate; protected function setUp(): void @@ -44,7 +50,7 @@ class TranslationTest extends TestCase self::assertSame($formula, $restoredFormula); } - public function providerTranslations() + public function providerTranslations(): array { return require 'tests/data/Calculation/Translations.php'; } diff --git a/tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php b/tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php index ea20fbf3..f8f02f0e 100644 --- a/tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/XlfnFunctionsTest.php @@ -75,7 +75,7 @@ class XlfnFunctionsTest extends \PHPUnit\Framework\TestCase $sheet->setSelectedCell('B1'); $writer = \PhpOffice\PhpSpreadsheet\IOFactory::createWriter($workbook, 'Xlsx'); - $oufil = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $oufil = File::temporaryFilename(); $writer->save($oufil); $reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader('Xlsx'); diff --git a/tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php b/tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php index ffe0e05f..3f9c8302 100644 --- a/tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php +++ b/tests/PhpSpreadsheetTests/Cell/AddressHelperTest.php @@ -18,7 +18,7 @@ class AddressHelperTest extends TestCase self::assertSame($expectedValue, $actualValue); } - public function providerR1C1ConversionToA1Absolute() + public function providerR1C1ConversionToA1Absolute(): array { return require 'tests/data/Cell/R1C1ConversionToA1Absolute.php'; } @@ -45,7 +45,7 @@ class AddressHelperTest extends TestCase self::assertSame($expectedValue, $actualValue); } - public function providerR1C1ConversionToA1Relative() + public function providerR1C1ConversionToA1Relative(): array { return require 'tests/data/Cell/R1C1ConversionToA1Relative.php'; } @@ -60,7 +60,7 @@ class AddressHelperTest extends TestCase AddressHelper::convertToA1($address); } - public function providerR1C1ConversionToA1Exception() + public function providerR1C1ConversionToA1Exception(): array { return require 'tests/data/Cell/R1C1ConversionToA1Exception.php'; } @@ -75,7 +75,7 @@ class AddressHelperTest extends TestCase self::assertSame($expectedValue, $actualValue); } - public function providerA1ConversionToR1C1Absolute() + public function providerA1ConversionToR1C1Absolute(): array { return require 'tests/data/Cell/A1ConversionToR1C1Absolute.php'; } @@ -90,7 +90,7 @@ class AddressHelperTest extends TestCase self::assertSame($expectedValue, $actualValue); } - public function providerA1ConversionToR1C1Relative() + public function providerA1ConversionToR1C1Relative(): array { return require 'tests/data/Cell/A1ConversionToR1C1Relative.php'; } @@ -105,7 +105,7 @@ class AddressHelperTest extends TestCase AddressHelper::convertToR1C1($address); } - public function providerA1ConversionToR1C1Exception() + public function providerA1ConversionToR1C1Exception(): array { return require 'tests/data/Cell/A1ConversionToR1C1Exception.php'; } diff --git a/tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php b/tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php index a524a15c..7b4bbb42 100644 --- a/tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php +++ b/tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php @@ -13,10 +13,19 @@ use PHPUnit\Framework\TestCase; class AdvancedValueBinderTest extends TestCase { + /** + * @var string + */ private $currencyCode; + /** + * @var string + */ private $decimalSeparator; + /** + * @var string + */ private $thousandsSeparator; protected function setUp(): void @@ -59,9 +68,11 @@ class AdvancedValueBinderTest extends TestCase $sheet->expects(self::once()) ->method('getStyle') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('getNumberFormat') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('setFormatCode') ->with($format) @@ -81,7 +92,7 @@ class AdvancedValueBinderTest extends TestCase self::assertEquals($valueBinded, $cell->getValue()); } - public function currencyProvider() + public function currencyProvider(): array { $currencyUSD = NumberFormat::FORMAT_CURRENCY_USD_SIMPLE; $currencyEURO = str_replace('$', '€', NumberFormat::FORMAT_CURRENCY_USD_SIMPLE); @@ -121,9 +132,11 @@ class AdvancedValueBinderTest extends TestCase $sheet->expects(self::once()) ->method('getStyle') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('getNumberFormat') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('setFormatCode') ->with($format) @@ -139,7 +152,7 @@ class AdvancedValueBinderTest extends TestCase self::assertEquals($valueBinded, $cell->getValue()); } - public function fractionProvider() + public function fractionProvider(): array { return [ ['1/5', 0.2, '?/?'], @@ -179,9 +192,11 @@ class AdvancedValueBinderTest extends TestCase $sheet->expects(self::once()) ->method('getStyle') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('getNumberFormat') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('setFormatCode') ->with($format) @@ -197,7 +212,7 @@ class AdvancedValueBinderTest extends TestCase self::assertEquals($valueBinded, $cell->getValue()); } - public function percentageProvider() + public function percentageProvider(): array { return [ ['10%', 0.1, NumberFormat::FORMAT_PERCENTAGE_00], @@ -231,9 +246,11 @@ class AdvancedValueBinderTest extends TestCase $sheet->expects(self::once()) ->method('getStyle') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('getNumberFormat') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects(self::once()) ->method('setFormatCode') ->with($format) @@ -249,7 +266,7 @@ class AdvancedValueBinderTest extends TestCase self::assertEquals($valueBinded, $cell->getValue()); } - public function timeProvider() + public function timeProvider(): array { return [ ['1:20', 0.05555555556, NumberFormat::FORMAT_DATE_TIME3], @@ -279,9 +296,11 @@ class AdvancedValueBinderTest extends TestCase $sheet->expects($wrapped ? self::once() : self::never()) ->method('getStyle') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects($wrapped ? self::once() : self::never()) ->method('getAlignment') ->willReturnSelf(); + // @phpstan-ignore-next-line $sheet->expects($wrapped ? self::once() : self::never()) ->method('setWrapText') ->with($wrapped) @@ -296,7 +315,7 @@ class AdvancedValueBinderTest extends TestCase $binder->bindValue($cell, $value); } - public function stringProvider() + public function stringProvider(): array { return [ ['Hello World', false], diff --git a/tests/PhpSpreadsheetTests/Cell/CellTest.php b/tests/PhpSpreadsheetTests/Cell/CellTest.php index 0d9ce337..980f0170 100644 --- a/tests/PhpSpreadsheetTests/Cell/CellTest.php +++ b/tests/PhpSpreadsheetTests/Cell/CellTest.php @@ -23,7 +23,7 @@ class CellTest extends TestCase self::assertSame($expected, $cell->getValue()); } - public function providerSetValueExplicit() + public function providerSetValueExplicit(): array { return require 'tests/data/Cell/SetValueExplicit.php'; } @@ -42,7 +42,7 @@ class CellTest extends TestCase $cell->setValueExplicit($value, $dataType); } - public function providerSetValueExplicitException() + public function providerSetValueExplicitException(): array { return require 'tests/data/Cell/SetValueExplicitException.php'; } diff --git a/tests/PhpSpreadsheetTests/Cell/CoordinateTest.php b/tests/PhpSpreadsheetTests/Cell/CoordinateTest.php index 9225b818..9a0a2c21 100644 --- a/tests/PhpSpreadsheetTests/Cell/CoordinateTest.php +++ b/tests/PhpSpreadsheetTests/Cell/CoordinateTest.php @@ -24,7 +24,7 @@ class CoordinateTest extends TestCase self::assertEquals($stringBack, $string, 'should be able to get the original input with opposite method'); } - public function providerColumnString() + public function providerColumnString(): array { return require 'tests/data/ColumnString.php'; } @@ -74,7 +74,7 @@ class CoordinateTest extends TestCase self::assertEquals($columnIndexBack, $columnIndex, 'should be able to get the original input with opposite method'); } - public function providerColumnIndex() + public function providerColumnIndex(): array { return require 'tests/data/ColumnIndex.php'; } @@ -91,7 +91,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCoordinates() + public function providerCoordinates(): array { return require 'tests/data/CellCoordinates.php'; } @@ -167,7 +167,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerAbsoluteCoordinates() + public function providerAbsoluteCoordinates(): array { return require 'tests/data/CellAbsoluteCoordinate.php'; } @@ -199,7 +199,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerAbsoluteReferences() + public function providerAbsoluteReferences(): array { return require 'tests/data/CellAbsoluteReference.php'; } @@ -237,7 +237,7 @@ class CoordinateTest extends TestCase } } - public function providerSplitRange() + public function providerSplitRange(): array { return require 'tests/data/CellSplitRange.php'; } @@ -254,7 +254,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerBuildRange() + public function providerBuildRange(): array { return require 'tests/data/CellBuildRange.php'; } @@ -264,6 +264,7 @@ class CoordinateTest extends TestCase $this->expectException(TypeError::class); $cellRange = null; + // @phpstan-ignore-next-line Coordinate::buildRange($cellRange); } @@ -288,7 +289,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerRangeBoundaries() + public function providerRangeBoundaries(): array { return require 'tests/data/CellRangeBoundaries.php'; } @@ -305,7 +306,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerRangeDimension() + public function providerRangeDimension(): array { return require 'tests/data/CellRangeDimension.php'; } @@ -322,7 +323,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerGetRangeBoundaries() + public function providerGetRangeBoundaries(): array { return require 'tests/data/CellGetRangeBoundaries.php'; } @@ -339,7 +340,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerExtractAllCellReferencesInRange() + public function providerExtractAllCellReferencesInRange(): array { return require 'tests/data/CellExtractAllCellReferencesInRange.php'; } @@ -357,7 +358,7 @@ class CoordinateTest extends TestCase Coordinate::extractAllCellReferencesInRange($range); } - public function providerInvalidRange() + public function providerInvalidRange(): array { return [['Z1:A1'], ['A4:A1'], ['B1:A1'], ['AA1:Z1']]; } @@ -374,7 +375,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerMergeRangesInCollection() + public function providerMergeRangesInCollection(): array { return require 'tests/data/CellMergeRangesInCollection.php'; } @@ -391,7 +392,7 @@ class CoordinateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCoordinateIsRange() + public function providerCoordinateIsRange(): array { return require 'tests/data/CoordinateIsRange.php'; } diff --git a/tests/PhpSpreadsheetTests/Cell/DataTypeTest.php b/tests/PhpSpreadsheetTests/Cell/DataTypeTest.php index 95454c16..176dd6ac 100644 --- a/tests/PhpSpreadsheetTests/Cell/DataTypeTest.php +++ b/tests/PhpSpreadsheetTests/Cell/DataTypeTest.php @@ -25,6 +25,7 @@ class DataTypeTest extends TestCase $stringLimit = 32767; $randString = $this->randr($stringLimit + 10); $result2 = DataType::checkString($randString); + self::assertIsString($result2); self::assertSame($stringLimit, strlen($result2)); $dirtyString = "bla bla\r\n bla\r test\n"; diff --git a/tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php b/tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php index d85de161..cc9098bf 100644 --- a/tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php +++ b/tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php @@ -13,7 +13,7 @@ use PHPUnit\Framework\TestCase; class DefaultValueBinderTest extends TestCase { - private function createCellStub() + private function createCellStub(): Cell { // Create a stub for the Cell class. /** @var Cell&MockObject $cellStub */ @@ -42,7 +42,7 @@ class DefaultValueBinderTest extends TestCase self::assertTrue($result); } - public function binderProvider() + public function binderProvider(): array { return [ [null], @@ -74,7 +74,7 @@ class DefaultValueBinderTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDataTypeForValue() + public function providerDataTypeForValue(): array { return require 'tests/data/Cell/DefaultValueBinder.php'; } diff --git a/tests/PhpSpreadsheetTests/Cell/HyperlinkTest.php b/tests/PhpSpreadsheetTests/Cell/HyperlinkTest.php index 9c09aa75..e92fbaf3 100644 --- a/tests/PhpSpreadsheetTests/Cell/HyperlinkTest.php +++ b/tests/PhpSpreadsheetTests/Cell/HyperlinkTest.php @@ -34,7 +34,7 @@ class HyperlinkTest extends TestCase { $tooltipValue = 'PhpSpreadsheet Web Site'; - $testInstance = new Hyperlink(null, $tooltipValue); + $testInstance = new Hyperlink('', $tooltipValue); $result = $testInstance->getTooltip(); self::assertEquals($tooltipValue, $result); @@ -45,7 +45,7 @@ class HyperlinkTest extends TestCase $initialTooltipValue = 'PhpSpreadsheet Web Site'; $newTooltipValue = 'PhpSpreadsheet Repository on Github'; - $testInstance = new Hyperlink(null, $initialTooltipValue); + $testInstance = new Hyperlink('', $initialTooltipValue); $result = $testInstance->setTooltip($newTooltipValue); self::assertInstanceOf(Hyperlink::class, $result); diff --git a/tests/PhpSpreadsheetTests/Cell/ValueBinderWithOverriddenDataTypeForValue.php b/tests/PhpSpreadsheetTests/Cell/ValueBinderWithOverriddenDataTypeForValue.php index 830e712a..e2ddc602 100644 --- a/tests/PhpSpreadsheetTests/Cell/ValueBinderWithOverriddenDataTypeForValue.php +++ b/tests/PhpSpreadsheetTests/Cell/ValueBinderWithOverriddenDataTypeForValue.php @@ -6,6 +6,9 @@ use PhpOffice\PhpSpreadsheet\Cell\DefaultValueBinder; class ValueBinderWithOverriddenDataTypeForValue extends DefaultValueBinder { + /** + * @var bool + */ public static $called = false; public static function dataTypeForValue($value) diff --git a/tests/PhpSpreadsheetTests/Chart/LegendTest.php b/tests/PhpSpreadsheetTests/Chart/LegendTest.php index 30715365..b12658a4 100644 --- a/tests/PhpSpreadsheetTests/Chart/LegendTest.php +++ b/tests/PhpSpreadsheetTests/Chart/LegendTest.php @@ -98,22 +98,11 @@ class LegendTest extends TestCase $testInstance = new Legend(); foreach ($overlayValues as $overlayValue) { - $result = $testInstance->setOverlay($overlayValue); - self::assertTrue($result); + $testInstance->setOverlay($overlayValue); + self::assertSame($overlayValue, $testInstance->getOverlay()); } } - public function testSetInvalidOverlayReturnsFalse(): void - { - $testInstance = new Legend(); - - $result = $testInstance->setOverlay('INVALID'); - self::assertFalse($result); - - $result = $testInstance->getOverlay(); - self::assertFalse($result); - } - public function testGetOverlay(): void { $OverlayValue = true; diff --git a/tests/PhpSpreadsheetTests/Custom/ComplexAssert.php b/tests/PhpSpreadsheetTests/Custom/ComplexAssert.php index 4d1025d2..828329ac 100644 --- a/tests/PhpSpreadsheetTests/Custom/ComplexAssert.php +++ b/tests/PhpSpreadsheetTests/Custom/ComplexAssert.php @@ -6,9 +6,16 @@ use Complex\Complex; class ComplexAssert { + /** + * @var string + */ private $errorMessage = ''; - private function testExpectedExceptions($expected, $actual) + /** + * @param mixed $expected + * @param mixed $actual + */ + private function testExpectedExceptions($expected, $actual): bool { // Expecting an error, so we do a straight string comparison if ($expected === $actual) { @@ -21,7 +28,7 @@ class ComplexAssert return false; } - private function adjustDelta($expected, $actual, $delta) + private function adjustDelta(float $expected, float $actual, float $delta): float { $adjustedDelta = $delta; @@ -33,7 +40,11 @@ class ComplexAssert return $adjustedDelta > 1.0 ? 1.0 : $adjustedDelta; } - public function assertComplexEquals($expected, $actual, $delta = 0) + /** + * @param mixed $expected + * @param mixed $actual + */ + public function assertComplexEquals($expected, $actual, float $delta = 0): bool { if ($expected === INF || (is_string($expected) && $expected[0] === '#')) { return $this->testExpectedExceptions($expected, $actual); @@ -42,16 +53,6 @@ class ComplexAssert $expectedComplex = new Complex($expected); $actualComplex = new Complex($actual); - if (!is_numeric($actualComplex->getReal()) || !is_numeric($expectedComplex->getReal())) { - if ($actualComplex->getReal() !== $expectedComplex->getReal()) { - $this->errorMessage = 'Mismatched String: ' . $actualComplex->getReal() . ' !== ' . $expectedComplex->getReal(); - - return false; - } - - return true; - } - $adjustedDelta = $this->adjustDelta($expectedComplex->getReal(), $actualComplex->getReal(), $delta); if (abs($actualComplex->getReal() - $expectedComplex->getReal()) > $adjustedDelta) { $this->errorMessage = 'Mismatched Real part: ' . $actualComplex->getReal() . ' != ' . $expectedComplex->getReal(); @@ -75,7 +76,7 @@ class ComplexAssert return true; } - public function getErrorMessage() + public function getErrorMessage(): string { return $this->errorMessage; } diff --git a/tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php b/tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php index 14843091..4b17230e 100644 --- a/tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php +++ b/tests/PhpSpreadsheetTests/DefinedNameFormulaTest.php @@ -31,7 +31,7 @@ class DefinedNameFormulaTest extends TestCase } $allDefinedNames = $spreadSheet->getDefinedNames(); - self::assertSame(count($definedNamesForTest), count($allDefinedNames)); + self::assertCount(count($definedNamesForTest), $allDefinedNames); } public function testGetNamedRanges(): void @@ -49,7 +49,7 @@ class DefinedNameFormulaTest extends TestCase } $allNamedRanges = $spreadSheet->getNamedRanges(); - self::assertSame(count(array_filter($rangeOrFormula)), count($allNamedRanges)); + self::assertCount(count(array_filter($rangeOrFormula)), $allNamedRanges); } public function testGetScopedNamedRange(): void @@ -65,6 +65,7 @@ class DefinedNameFormulaTest extends TestCase $spreadSheet->addDefinedName(DefinedName::createInstance($rangeName, $workSheet, $localRangeValue, true)); $localScopedRange = $spreadSheet->getNamedRange($rangeName, $workSheet); + self::assertNotNull($localScopedRange); self::assertSame($localRangeValue, $localScopedRange->getValue()); } @@ -83,6 +84,7 @@ class DefinedNameFormulaTest extends TestCase $spreadSheet->addDefinedName(DefinedName::createInstance($rangeName, $workSheet1, $localRangeValue, true)); $localScopedRange = $spreadSheet->getNamedRange($rangeName, $workSheet2); + self::assertNotNull($localScopedRange); self::assertSame($globalRangeValue, $localScopedRange->getValue()); } @@ -101,7 +103,7 @@ class DefinedNameFormulaTest extends TestCase } $allNamedFormulae = $spreadSheet->getNamedFormulae(); - self::assertSame(count(array_filter($rangeOrFormula)), count($allNamedFormulae)); + self::assertCount(count(array_filter($rangeOrFormula)), $allNamedFormulae); } public function testGetScopedNamedFormula(): void @@ -117,6 +119,7 @@ class DefinedNameFormulaTest extends TestCase $spreadSheet->addDefinedName(DefinedName::createInstance($formulaName, $workSheet, $localFormulaValue, true)); $localScopedFormula = $spreadSheet->getNamedFormula($formulaName, $workSheet); + self::assertNotNull($localScopedFormula); self::assertSame($localFormulaValue, $localScopedFormula->getValue()); } @@ -135,6 +138,7 @@ class DefinedNameFormulaTest extends TestCase $spreadSheet->addDefinedName(DefinedName::createInstance($formulaName, $workSheet1, $localFormulaValue, true)); $localScopedFormula = $spreadSheet->getNamedFormula($formulaName, $workSheet2); + self::assertNotNull($localScopedFormula); self::assertSame($globalFormulaValue, $localScopedFormula->getValue()); } diff --git a/tests/PhpSpreadsheetTests/DefinedNameTest.php b/tests/PhpSpreadsheetTests/DefinedNameTest.php index 4d877e6f..43eddc8a 100644 --- a/tests/PhpSpreadsheetTests/DefinedNameTest.php +++ b/tests/PhpSpreadsheetTests/DefinedNameTest.php @@ -47,10 +47,9 @@ class DefinedNameTest extends TestCase ); self::assertCount(1, $this->spreadsheet->getDefinedNames()); - self::assertSame( - '=B1', - $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getActiveSheet())->getValue() - ); + $definedName = $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getActiveSheet()); + self::assertNotNull($definedName); + self::assertSame('=B1', $definedName->getValue()); } public function testAddScopedDefinedNameWithSameName(): void @@ -63,14 +62,13 @@ class DefinedNameTest extends TestCase ); self::assertCount(2, $this->spreadsheet->getDefinedNames()); - self::assertSame( - '=A1', - $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getActiveSheet())->getValue() - ); - self::assertSame( - '=B1', - $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getSheetByName('Sheet #2'))->getValue() - ); + $definedName1 = $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getActiveSheet()); + self::assertNotNull($definedName1); + self::assertSame('=A1', $definedName1->getValue()); + + $definedName2 = $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getSheetByName('Sheet #2')); + self::assertNotNull($definedName2); + self::assertSame('=B1', $definedName2->getValue()); } public function testRemoveDefinedName(): void @@ -99,10 +97,9 @@ class DefinedNameTest extends TestCase $this->spreadsheet->removeDefinedName('Foo', $this->spreadsheet->getActiveSheet()); self::assertCount(1, $this->spreadsheet->getDefinedNames()); - self::assertSame( - '=B1', - $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getSheetByName('Sheet #2'))->getValue() - ); + $definedName = $this->spreadsheet->getDefinedName('foo', $this->spreadsheet->getSheetByName('Sheet #2')); + self::assertNotNull($definedName); + self::assertSame('=B1', $definedName->getValue()); } public function testRemoveScopedDefinedNameWhenDuplicateNames(): void @@ -117,10 +114,9 @@ class DefinedNameTest extends TestCase $this->spreadsheet->removeDefinedName('Foo', $this->spreadsheet->getSheetByName('Sheet #2')); self::assertCount(1, $this->spreadsheet->getDefinedNames()); - self::assertSame( - '=A1', - $this->spreadsheet->getDefinedName('foo')->getValue() - ); + $definedName = $this->spreadsheet->getDefinedName('foo'); + self::assertNotNull($definedName); + self::assertSame('=A1', $definedName->getValue()); } public function testDefinedNameNoWorksheetNoScope(): void @@ -148,6 +144,9 @@ class DefinedNameTest extends TestCase { $sheet1 = $this->spreadsheet->getSheetByName('Sheet #1'); $sheet2 = $this->spreadsheet->getSheetByName('Sheet #2'); + self::assertNotNull($sheet1); + self::assertNotNull($sheet2); + $sheet1->getCell('A1')->setValue(1); $sheet2->getCell('A1')->setValue(2); $namedRange = new NamedRange('xyz', $sheet2, '$A$1'); @@ -163,6 +162,9 @@ class DefinedNameTest extends TestCase { $sheet1 = $this->spreadsheet->getSheetByName('Sheet #1'); $sheet2 = $this->spreadsheet->getSheetByName('Sheet #2'); + self::assertNotNull($sheet1); + self::assertNotNull($sheet2); + $sheet1->getCell('A1')->setValue(1); $sheet2->getCell('A1')->setValue(2); $namedRange = new NamedRange('abc', $sheet2, '$A$1'); @@ -178,6 +180,9 @@ class DefinedNameTest extends TestCase { $sheet1 = $this->spreadsheet->getSheetByName('Sheet #1'); $sheet2 = $this->spreadsheet->getSheetByName('Sheet #2'); + self::assertNotNull($sheet1); + self::assertNotNull($sheet2); + $sheet1->getCell('A1')->setValue(1); $sheet2->getCell('A1')->setValue(2); $namedRange = new NamedRange('abc', $sheet2, '$A$1'); @@ -193,12 +198,17 @@ class DefinedNameTest extends TestCase { $sheet1 = $this->spreadsheet->getSheetByName('Sheet #1'); $sheet2 = $this->spreadsheet->getSheetByName('Sheet #2'); + self::assertNotNull($sheet1); + self::assertNotNull($sheet2); + $sheet1->getCell('A1')->setValue(1); $sheet2->getCell('A1')->setValue(2); $namedRange = new NamedRange('abc', $sheet2, '$A$1'); $namedRangeClone = clone $namedRange; $ss1 = $namedRange->getWorksheet(); $ss2 = $namedRangeClone->getWorksheet(); + self::assertNotNull($ss1); + self::assertNotNull($ss2); self::assertNotSame($ss1, $ss2); self::assertEquals($ss1->getTitle(), $ss2->getTitle()); } diff --git a/tests/PhpSpreadsheetTests/Document/PropertiesTest.php b/tests/PhpSpreadsheetTests/Document/PropertiesTest.php index 567cf620..54932bb8 100644 --- a/tests/PhpSpreadsheetTests/Document/PropertiesTest.php +++ b/tests/PhpSpreadsheetTests/Document/PropertiesTest.php @@ -7,7 +7,10 @@ use PHPUnit\Framework\TestCase; class PropertiesTest extends TestCase { - protected $properties; + /** + * @var Properties + */ + private $properties; protected function setup(): void { diff --git a/tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php b/tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php index f242c698..da821532 100644 --- a/tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php +++ b/tests/PhpSpreadsheetTests/Functional/AbstractFunctional.php @@ -21,7 +21,7 @@ abstract class AbstractFunctional extends TestCase */ protected function writeAndReload(Spreadsheet $spreadsheet, $format, ?callable $readerCustomizer = null) { - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer = IOFactory::createWriter($spreadsheet, $format); $writer->save($filename); diff --git a/tests/PhpSpreadsheetTests/Functional/ActiveSheetTest.php b/tests/PhpSpreadsheetTests/Functional/ActiveSheetTest.php index ef7d9fb4..024185c6 100644 --- a/tests/PhpSpreadsheetTests/Functional/ActiveSheetTest.php +++ b/tests/PhpSpreadsheetTests/Functional/ActiveSheetTest.php @@ -7,7 +7,7 @@ use PhpOffice\PhpSpreadsheet\Style\Protection; class ActiveSheetTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xls'], diff --git a/tests/PhpSpreadsheetTests/Functional/ColumnWidthTest.php b/tests/PhpSpreadsheetTests/Functional/ColumnWidthTest.php index 045cdcd5..38117059 100644 --- a/tests/PhpSpreadsheetTests/Functional/ColumnWidthTest.php +++ b/tests/PhpSpreadsheetTests/Functional/ColumnWidthTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class ColumnWidthTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xlsx'], diff --git a/tests/PhpSpreadsheetTests/Functional/CommentsTest.php b/tests/PhpSpreadsheetTests/Functional/CommentsTest.php index 2b08c9a6..d82f7f96 100644 --- a/tests/PhpSpreadsheetTests/Functional/CommentsTest.php +++ b/tests/PhpSpreadsheetTests/Functional/CommentsTest.php @@ -7,7 +7,7 @@ use PhpOffice\PhpSpreadsheet\Style\Alignment; class CommentsTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Html'], diff --git a/tests/PhpSpreadsheetTests/Functional/ConditionalStopIfTrueTest.php b/tests/PhpSpreadsheetTests/Functional/ConditionalStopIfTrueTest.php index 3183450f..5ee0b1f5 100644 --- a/tests/PhpSpreadsheetTests/Functional/ConditionalStopIfTrueTest.php +++ b/tests/PhpSpreadsheetTests/Functional/ConditionalStopIfTrueTest.php @@ -9,7 +9,7 @@ class ConditionalStopIfTrueTest extends AbstractFunctional const COLOR_GREEN = 'FF99FF66'; const COLOR_RED = 'FFFF5050'; - public function providerFormats() + public function providerFormats(): array { return [ ['Xlsx'], diff --git a/tests/PhpSpreadsheetTests/Functional/EnclosureTest.php b/tests/PhpSpreadsheetTests/Functional/EnclosureTest.php index 1f1cb7eb..2ddecfd2 100644 --- a/tests/PhpSpreadsheetTests/Functional/EnclosureTest.php +++ b/tests/PhpSpreadsheetTests/Functional/EnclosureTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class EnclosureTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Html'], diff --git a/tests/PhpSpreadsheetTests/Functional/FreezePaneTest.php b/tests/PhpSpreadsheetTests/Functional/FreezePaneTest.php index 4e725d03..67083949 100644 --- a/tests/PhpSpreadsheetTests/Functional/FreezePaneTest.php +++ b/tests/PhpSpreadsheetTests/Functional/FreezePaneTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class FreezePaneTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xls'], diff --git a/tests/PhpSpreadsheetTests/Functional/MergedCellsTest.php b/tests/PhpSpreadsheetTests/Functional/MergedCellsTest.php index 39865817..d2e9234f 100644 --- a/tests/PhpSpreadsheetTests/Functional/MergedCellsTest.php +++ b/tests/PhpSpreadsheetTests/Functional/MergedCellsTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class MergedCellsTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Html'], diff --git a/tests/PhpSpreadsheetTests/Functional/PrintAreaTest.php b/tests/PhpSpreadsheetTests/Functional/PrintAreaTest.php index 584f6dd5..93753762 100644 --- a/tests/PhpSpreadsheetTests/Functional/PrintAreaTest.php +++ b/tests/PhpSpreadsheetTests/Functional/PrintAreaTest.php @@ -7,7 +7,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class PrintAreaTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xls'], diff --git a/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php b/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php index 9dac3437..585871dc 100644 --- a/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php +++ b/tests/PhpSpreadsheetTests/Functional/ReadBlankCellsTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class ReadBlankCellsTest extends AbstractFunctional { - public function providerSheetFormat() + public function providerSheetFormat(): array { return [ ['Xlsx'], diff --git a/tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php b/tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php index 9ab86baa..930288a7 100644 --- a/tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php +++ b/tests/PhpSpreadsheetTests/Functional/ReadFilterTest.php @@ -7,7 +7,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class ReadFilterTest extends AbstractFunctional { - public function providerCellsValues() + public function providerCellsValues(): array { $cellValues = [ // one argument as a multidimensional array diff --git a/tests/PhpSpreadsheetTests/Functional/SelectedCellsTest.php b/tests/PhpSpreadsheetTests/Functional/SelectedCellsTest.php index 625f2428..a1866b09 100644 --- a/tests/PhpSpreadsheetTests/Functional/SelectedCellsTest.php +++ b/tests/PhpSpreadsheetTests/Functional/SelectedCellsTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class SelectedCellsTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xls'], diff --git a/tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php b/tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php index e6d6377b..bebf0589 100644 --- a/tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php +++ b/tests/PhpSpreadsheetTests/Functional/TypeAttributePreservationTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class TypeAttributePreservationTest extends AbstractFunctional { - public function providerFormulae() + public function providerFormulae(): array { $formats = ['Xlsx']; $data = require 'tests/data/Functional/TypeAttributePreservation/Formula.php'; diff --git a/tests/PhpSpreadsheetTests/Functional/WorkbookViewAttributesTest.php b/tests/PhpSpreadsheetTests/Functional/WorkbookViewAttributesTest.php index f97ad9cf..8d44c4d2 100644 --- a/tests/PhpSpreadsheetTests/Functional/WorkbookViewAttributesTest.php +++ b/tests/PhpSpreadsheetTests/Functional/WorkbookViewAttributesTest.php @@ -6,7 +6,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet; class WorkbookViewAttributesTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xlsx'], diff --git a/tests/PhpSpreadsheetTests/Helper/HtmlTest.php b/tests/PhpSpreadsheetTests/Helper/HtmlTest.php index d47c2f64..b2fadf42 100644 --- a/tests/PhpSpreadsheetTests/Helper/HtmlTest.php +++ b/tests/PhpSpreadsheetTests/Helper/HtmlTest.php @@ -21,7 +21,7 @@ class HtmlTest extends TestCase self::assertSame($expected, $actual->getPlainText()); } - public function providerUtf8EncodingSupport() + public function providerUtf8EncodingSupport(): array { return [ ['foo', 'foo'], diff --git a/tests/PhpSpreadsheetTests/Helper/SampleTest.php b/tests/PhpSpreadsheetTests/Helper/SampleTest.php index 8956771c..0817f1d5 100644 --- a/tests/PhpSpreadsheetTests/Helper/SampleTest.php +++ b/tests/PhpSpreadsheetTests/Helper/SampleTest.php @@ -25,7 +25,7 @@ class SampleTest extends TestCase self::assertTrue(true); } - public function providerSample() + public function providerSample(): array { $skipped = [ 'Chart/32_Chart_read_write_PDF.php', // Unfortunately JpGraph is not up to date for latest PHP and raise many warnings diff --git a/tests/PhpSpreadsheetTests/IOFactoryTest.php b/tests/PhpSpreadsheetTests/IOFactoryTest.php index 886fcb36..4837d6cf 100644 --- a/tests/PhpSpreadsheetTests/IOFactoryTest.php +++ b/tests/PhpSpreadsheetTests/IOFactoryTest.php @@ -24,7 +24,7 @@ class IOFactoryTest extends TestCase self::assertInstanceOf($expected, $actual); } - public function providerCreateWriter() + public function providerCreateWriter(): array { return [ ['Xls', Writer\Xls::class], @@ -58,7 +58,7 @@ class IOFactoryTest extends TestCase self::assertInstanceOf($expected, $actual); } - public function providerCreateReader() + public function providerCreateReader(): array { return [ ['Xls', Reader\Xls::class], @@ -118,7 +118,7 @@ class IOFactoryTest extends TestCase self::assertInstanceOf(Spreadsheet::class, $actual); } - public function providerIdentify() + public function providerIdentify(): array { return [ ['samples/templates/26template.xlsx', 'Xlsx', Reader\Xlsx::class], diff --git a/tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php b/tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php index 9bc16ae0..1abe9940 100644 --- a/tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php +++ b/tests/PhpSpreadsheetTests/Reader/CsvContiguousFilter.php @@ -7,10 +7,19 @@ use PhpOffice\PhpSpreadsheet\Reader\IReadFilter; /** Define a Read Filter class implementing IReadFilter */ class CsvContiguousFilter implements IReadFilter { + /** + * @var int + */ private $startRow = 0; + /** + * @var int + */ private $endRow = 0; + /** + * @var int + */ private $filterType = 0; /** diff --git a/tests/PhpSpreadsheetTests/Reader/CsvContiguousTest.php b/tests/PhpSpreadsheetTests/Reader/CsvContiguousTest.php index 176e3b75..82f960e4 100644 --- a/tests/PhpSpreadsheetTests/Reader/CsvContiguousTest.php +++ b/tests/PhpSpreadsheetTests/Reader/CsvContiguousTest.php @@ -8,6 +8,9 @@ use PHPUnit\Framework\TestCase; class CsvContiguousTest extends TestCase { + /** + * @var string + */ private $inputFileName = 'samples/Reader/sampleData/example2.csv'; public function testContiguous(): void diff --git a/tests/PhpSpreadsheetTests/Reader/CsvTest.php b/tests/PhpSpreadsheetTests/Reader/CsvTest.php index e543ff48..73c281ec 100644 --- a/tests/PhpSpreadsheetTests/Reader/CsvTest.php +++ b/tests/PhpSpreadsheetTests/Reader/CsvTest.php @@ -29,7 +29,7 @@ class CsvTest extends TestCase self::assertSame($expectedValue, $actual, 'should be able to retrieve correct value'); } - public function providerDelimiterDetection() + public function providerDelimiterDetection(): array { return [ [ @@ -101,7 +101,7 @@ class CsvTest extends TestCase self::assertSame($expected, $reader->canRead($filename)); } - public function providerCanLoad() + public function providerCanLoad(): array { return [ [false, 'tests/data/Reader/Ods/data.ods'], @@ -172,7 +172,7 @@ class CsvTest extends TestCase self::assertEquals(2, $info[0]['totalColumns']); } - public function providerEncodings() + public function providerEncodings(): array { return [ ['tests/data/Reader/CSV/encoding.iso88591.csv', 'ISO-8859-1'], @@ -288,7 +288,7 @@ EOF; self::assertEquals($delimiter, $reader->getDelimiter()); } - public function providerEscapes() + public function providerEscapes(): array { return [ ['\\', ';'], @@ -310,7 +310,7 @@ EOF; self::assertEquals('sixième', $sheet->getCell('C2')->getValue()); } - public function providerGuessEncoding() + public function providerGuessEncoding(): array { return [ ['tests/data/Reader/CSV/premiere.utf8.csv'], diff --git a/tests/PhpSpreadsheetTests/Reader/Html/HtmlHelper.php b/tests/PhpSpreadsheetTests/Reader/Html/HtmlHelper.php index c09902ff..a6be40c9 100644 --- a/tests/PhpSpreadsheetTests/Reader/Html/HtmlHelper.php +++ b/tests/PhpSpreadsheetTests/Reader/Html/HtmlHelper.php @@ -3,13 +3,14 @@ namespace PhpOffice\PhpSpreadsheetTests\Reader\Html; use PhpOffice\PhpSpreadsheet\Reader\Html; +use PhpOffice\PhpSpreadsheet\Shared\File; use PhpOffice\PhpSpreadsheet\Spreadsheet; class HtmlHelper { public static function createHtml(string $html): string { - $filename = tempnam(sys_get_temp_dir(), 'html'); + $filename = File::temporaryFilename(); file_put_contents($filename, $html); return $filename; diff --git a/tests/PhpSpreadsheetTests/Reader/Html/HtmlTest.php b/tests/PhpSpreadsheetTests/Reader/Html/HtmlTest.php index 14bdb39a..7acc5527 100644 --- a/tests/PhpSpreadsheetTests/Reader/Html/HtmlTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Html/HtmlTest.php @@ -20,22 +20,22 @@ class HtmlTest extends TestCase public function testBadHtml(): void { - $this->expectException(ReaderException::class); $filename = 'tests/data/Reader/HTML/badhtml.html'; $reader = new Html(); self::assertTrue($reader->canRead($filename)); + + $this->expectException(ReaderException::class); $reader->load($filename); - self::assertTrue(false); } public function testNonHtml(): void { - $this->expectException(ReaderException::class); $filename = __FILE__; $reader = new Html(); self::assertFalse($reader->canRead($filename)); + + $this->expectException(ReaderException::class); $reader->load($filename); - self::assertTrue(false); } public function testInvalidFilename(): void @@ -45,7 +45,7 @@ class HtmlTest extends TestCase self::assertFalse($reader->canRead('')); } - public function providerCanReadVerySmallFile() + public function providerCanReadVerySmallFile(): array { $padding = str_repeat('a', 2048); diff --git a/tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php b/tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php index 2cc5377a..10910207 100644 --- a/tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Ods/OdsTest.php @@ -15,6 +15,9 @@ use PHPUnit\Framework\TestCase; */ class OdsTest extends TestCase { + /** + * @var string + */ private $timeZone; protected function setUp(): void @@ -43,7 +46,7 @@ class OdsTest extends TestCase */ private function loadOdsTestFile() { - if (!$this->spreadsheetOdsTest) { + if (!isset($this->spreadsheetOdsTest)) { $filename = 'samples/templates/OOCalcTest.ods'; // Load into this instance @@ -59,7 +62,7 @@ class OdsTest extends TestCase */ protected function loadDataFile() { - if (!$this->spreadsheetData) { + if (!isset($this->spreadsheetData)) { $filename = 'tests/data/Reader/Ods/data.ods'; // Load into this instance diff --git a/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php b/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php index c434aa60..39bc864c 100644 --- a/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Security/XmlScannerTest.php @@ -41,7 +41,7 @@ class XmlScannerTest extends TestCase } } - public function providerValidXML() + public function providerValidXML(): array { $tests = []; foreach (glob('tests/data/Reader/Xml/XEETestValid*.xml') as $file) { @@ -78,7 +78,7 @@ class XmlScannerTest extends TestCase } } - public function providerInvalidXML() + public function providerInvalidXML(): array { $tests = []; foreach (glob('tests/data/Reader/Xml/XEETestInvalidUTF*.xml') as $file) { @@ -125,7 +125,7 @@ class XmlScannerTest extends TestCase self::assertEquals(strrev($expectedResult), $xml); } - public function providerValidXMLForCallback() + public function providerValidXMLForCallback(): array { $tests = []; foreach (glob('tests/data/Reader/Xml/SecurityScannerWithCallback*.xml') as $file) { diff --git a/tests/PhpSpreadsheetTests/Reader/SlkTest.php b/tests/PhpSpreadsheetTests/Reader/SlkTest.php index e461557e..6881648d 100644 --- a/tests/PhpSpreadsheetTests/Reader/SlkTest.php +++ b/tests/PhpSpreadsheetTests/Reader/SlkTest.php @@ -11,8 +11,14 @@ use PhpOffice\PhpSpreadsheet\Style\Font; class SlkTest extends \PHPUnit\Framework\TestCase { + /** + * @var string + */ private static $testbook = __DIR__ . '/../../../samples/templates/SylkTest.slk'; + /** + * @var string + */ private $filename = ''; protected function teardown(): void diff --git a/tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php b/tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php index 63da2d05..7287b711 100644 --- a/tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Xlsx/AutoFilterTest.php @@ -36,7 +36,7 @@ class AutoFilterTest extends TestCase return $instance; } - public function loadDataProvider() + public function loadDataProvider(): array { return [ ['$B3$E8', 0, 'B3E8'], diff --git a/tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php b/tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php index 60c5440b..57fbdad2 100644 --- a/tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Xlsx/ConditionalFormattingDataBarXlsxTest.php @@ -31,7 +31,7 @@ class ConditionalFormattingDataBarXlsxTest extends TestCase { // Make sure conditionals from existing file are maintained across save $filename = 'tests/data/Reader/XLSX/conditionalFormattingDataBarTest.xlsx'; - $outfile = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outfile = File::temporaryFilename(); $reader = IOFactory::createReader('Xlsx'); $spreadshee1 = $reader->load($filename); $writer = IOFactory::createWriter($spreadshee1, 'Xlsx'); @@ -49,7 +49,7 @@ class ConditionalFormattingDataBarXlsxTest extends TestCase public function testNewXlsxConditionalFormattingDataBar(): void { // Make sure blanks/non-blanks added by PhpSpreadsheet are handled correctly - $outfile = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outfile = File::temporaryFilename(); $spreadshee1 = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); $sheet = $spreadshee1->getActiveSheet(); $sheet->setCellValue('A1', 1); diff --git a/tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php b/tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php index 1220c378..cef72121 100644 --- a/tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php +++ b/tests/PhpSpreadsheetTests/Reader/Xlsx2Test.php @@ -49,7 +49,7 @@ class Xlsx2Test extends TestCase { // Make sure conditionals from existing file are maintained across save $filename = 'tests/data/Reader/XLSX/conditionalFormatting2Test.xlsx'; - $outfile = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outfile = File::temporaryFilename(); $reader = IOFactory::createReader('Xlsx'); $spreadshee1 = $reader->load($filename); $writer = IOFactory::createWriter($spreadshee1, 'Xlsx'); @@ -87,7 +87,7 @@ class Xlsx2Test extends TestCase public function testNewXlsxConditionalFormatting2(): void { // Make sure blanks/non-blanks added by PhpSpreadsheet are handled correctly - $outfile = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outfile = File::temporaryFilename(); $spreadshee1 = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); $sheet = $spreadshee1->getActiveSheet(); $sheet->setCellValue('A2', 'a2'); diff --git a/tests/PhpSpreadsheetTests/Reader/XlsxTest.php b/tests/PhpSpreadsheetTests/Reader/XlsxTest.php index 1e240283..738a25b9 100644 --- a/tests/PhpSpreadsheetTests/Reader/XlsxTest.php +++ b/tests/PhpSpreadsheetTests/Reader/XlsxTest.php @@ -237,7 +237,7 @@ class XlsxTest extends TestCase $filename = 'tests/data/Reader/XLSX/empty_drawing.xlsx'; $reader = new Xlsx(); $excel = $reader->load($filename); - $resultFilename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $resultFilename = File::temporaryFilename(); $writer = new \PhpOffice\PhpSpreadsheet\Writer\Xlsx($excel); $writer->save($resultFilename); $excel = $reader->load($resultFilename); @@ -258,7 +258,7 @@ class XlsxTest extends TestCase self::assertEquals(preg_match('/\s/', $string), 0); } - public function providerStripsWhiteSpaceFromStyleString() + public function providerStripsWhiteSpaceFromStyleString(): array { return [ ['position:absolute;margin-left:424.5pt;margin-top:169.5pt;width:67.5pt; diff --git a/tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php b/tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php index e0b43113..8b9e05ff 100644 --- a/tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Xml/XmlOddTest.php @@ -8,6 +8,9 @@ use PHPUnit\Framework\TestCase; class XmlOddTest extends TestCase { + /** + * @var string + */ private $filename = ''; protected function teardown(): void @@ -53,7 +56,7 @@ class XmlOddTest extends TestCase EOT; - $this->filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $this->filename = File::temporaryFilename(); file_put_contents($this->filename, $xmldata); $reader = new Xml(); $spreadsheet = $reader->load($this->filename); diff --git a/tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php b/tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php index d53135f9..bcc108c1 100644 --- a/tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php +++ b/tests/PhpSpreadsheetTests/Reader/Xml/XmlTest.php @@ -19,7 +19,7 @@ class XmlTest extends TestCase $xmlReader->trySimpleXMLLoadString($filename); } - public function providerInvalidSimpleXML() + public function providerInvalidSimpleXML(): array { $tests = []; foreach (glob('tests/data/Reader/Xml/XEETestInvalidSimpleXML*.xml') as $file) { diff --git a/tests/PhpSpreadsheetTests/SettingsTest.php b/tests/PhpSpreadsheetTests/SettingsTest.php index 7641f3da..11b93ae6 100644 --- a/tests/PhpSpreadsheetTests/SettingsTest.php +++ b/tests/PhpSpreadsheetTests/SettingsTest.php @@ -10,7 +10,7 @@ class SettingsTest extends TestCase /** * @var bool */ - protected $prevValue; + private $prevValue; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Shared/CodePageTest.php b/tests/PhpSpreadsheetTests/Shared/CodePageTest.php index eb121889..e7dc7469 100644 --- a/tests/PhpSpreadsheetTests/Shared/CodePageTest.php +++ b/tests/PhpSpreadsheetTests/Shared/CodePageTest.php @@ -20,7 +20,7 @@ class CodePageTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCodePage() + public function providerCodePage(): array { return require 'tests/data/Shared/CodePage.php'; } diff --git a/tests/PhpSpreadsheetTests/Shared/DateTest.php b/tests/PhpSpreadsheetTests/Shared/DateTest.php index 4ab7461b..1ca4c674 100644 --- a/tests/PhpSpreadsheetTests/Shared/DateTest.php +++ b/tests/PhpSpreadsheetTests/Shared/DateTest.php @@ -2,14 +2,21 @@ namespace PhpOffice\PhpSpreadsheetTests\Shared; +use DateTimeZone; use PhpOffice\PhpSpreadsheet\Shared\Date; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PHPUnit\Framework\TestCase; class DateTest extends TestCase { + /** + * @var int + */ private $excelCalendar; + /** + * @var null|DateTimeZone + */ private $dttimezone; protected function setUp(): void @@ -61,7 +68,7 @@ class DateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDateTimeExcelToTimestamp1900() + public function providerDateTimeExcelToTimestamp1900(): array { return require 'tests/data/Shared/Date/ExcelToTimestamp1900.php'; } @@ -80,7 +87,7 @@ class DateTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-5); } - public function providerDateTimeTimestampToExcel1900() + public function providerDateTimeTimestampToExcel1900(): array { return require 'tests/data/Shared/Date/TimestampToExcel1900.php'; } @@ -99,7 +106,7 @@ class DateTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-5); } - public function providerDateTimeDateTimeToExcel() + public function providerDateTimeDateTimeToExcel(): array { return require 'tests/data/Shared/Date/DateTimeToExcel.php'; } @@ -117,7 +124,7 @@ class DateTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-5); } - public function providerDateTimeFormattedPHPToExcel1900() + public function providerDateTimeFormattedPHPToExcel1900(): array { return require 'tests/data/Shared/Date/FormattedPHPToExcel1900.php'; } @@ -139,7 +146,7 @@ class DateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDateTimeExcelToTimestamp1904() + public function providerDateTimeExcelToTimestamp1904(): array { return require 'tests/data/Shared/Date/ExcelToTimestamp1904.php'; } @@ -158,7 +165,7 @@ class DateTest extends TestCase self::assertEqualsWithDelta($expectedResult, $result, 1E-5); } - public function providerDateTimeTimestampToExcel1904() + public function providerDateTimeTimestampToExcel1904(): array { return require 'tests/data/Shared/Date/TimestampToExcel1904.php'; } @@ -174,7 +181,7 @@ class DateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerIsDateTimeFormatCode() + public function providerIsDateTimeFormatCode(): array { return require 'tests/data/Shared/Date/FormatCodes.php'; } @@ -197,7 +204,7 @@ class DateTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerDateTimeExcelToTimestamp1900Timezone() + public function providerDateTimeExcelToTimestamp1900Timezone(): array { return require 'tests/data/Shared/Date/ExcelToTimestamp1900Timezone.php'; } diff --git a/tests/PhpSpreadsheetTests/Shared/FontTest.php b/tests/PhpSpreadsheetTests/Shared/FontTest.php index bc917654..9bc1d18a 100644 --- a/tests/PhpSpreadsheetTests/Shared/FontTest.php +++ b/tests/PhpSpreadsheetTests/Shared/FontTest.php @@ -49,7 +49,7 @@ class FontTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerFontSizeToPixels() + public function providerFontSizeToPixels(): array { return require 'tests/data/Shared/FontSizeToPixels.php'; } @@ -66,7 +66,7 @@ class FontTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerInchSizeToPixels() + public function providerInchSizeToPixels(): array { return require 'tests/data/Shared/InchSizeToPixels.php'; } @@ -83,7 +83,7 @@ class FontTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerCentimeterSizeToPixels() + public function providerCentimeterSizeToPixels(): array { return require 'tests/data/Shared/CentimeterSizeToPixels.php'; } diff --git a/tests/PhpSpreadsheetTests/Shared/PasswordHasherTest.php b/tests/PhpSpreadsheetTests/Shared/PasswordHasherTest.php index 0d286725..e85b9fa3 100644 --- a/tests/PhpSpreadsheetTests/Shared/PasswordHasherTest.php +++ b/tests/PhpSpreadsheetTests/Shared/PasswordHasherTest.php @@ -18,7 +18,7 @@ class PasswordHasherTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerHashPassword() + public function providerHashPassword(): array { return require 'tests/data/Shared/PasswordHashes.php'; } diff --git a/tests/PhpSpreadsheetTests/Shared/StringHelperTest.php b/tests/PhpSpreadsheetTests/Shared/StringHelperTest.php index 41ed0b21..92f197a2 100644 --- a/tests/PhpSpreadsheetTests/Shared/StringHelperTest.php +++ b/tests/PhpSpreadsheetTests/Shared/StringHelperTest.php @@ -7,10 +7,19 @@ use PHPUnit\Framework\TestCase; class StringHelperTest extends TestCase { + /** + * @var string + */ private $currencyCode; + /** + * @var string + */ private $decimalSeparator; + /** + * @var string + */ private $thousandsSeparator; protected function setUp(): void diff --git a/tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php b/tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php index ff38badf..edad6e6b 100644 --- a/tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php +++ b/tests/PhpSpreadsheetTests/Shared/TimeZoneTest.php @@ -3,14 +3,21 @@ namespace PhpOffice\PhpSpreadsheetTests\Shared; use DateTime; +use DateTimeZone; use PhpOffice\PhpSpreadsheet\Shared\Date; use PhpOffice\PhpSpreadsheet\Shared\TimeZone; use PHPUnit\Framework\TestCase; class TimeZoneTest extends TestCase { + /** + * @var string + */ private $tztimezone; + /** + * @var null|DateTimeZone + */ private $dttimezone; protected function setUp(): void diff --git a/tests/PhpSpreadsheetTests/Shared/Trend/ExponentialBestFitTest.php b/tests/PhpSpreadsheetTests/Shared/Trend/ExponentialBestFitTest.php index 32fa9d31..a12a438c 100644 --- a/tests/PhpSpreadsheetTests/Shared/Trend/ExponentialBestFitTest.php +++ b/tests/PhpSpreadsheetTests/Shared/Trend/ExponentialBestFitTest.php @@ -42,7 +42,7 @@ class ExponentialBestFitTest extends TestCase self::assertSame($expectedGoodnessOfFit[1], $bestFit->getGoodnessOfFit()); } - public function providerExponentialBestFit() + public function providerExponentialBestFit(): array { return require 'tests/data/Shared/Trend/ExponentialBestFit.php'; } diff --git a/tests/PhpSpreadsheetTests/Shared/Trend/LinearBestFitTest.php b/tests/PhpSpreadsheetTests/Shared/Trend/LinearBestFitTest.php index 02b82038..9ada87a5 100644 --- a/tests/PhpSpreadsheetTests/Shared/Trend/LinearBestFitTest.php +++ b/tests/PhpSpreadsheetTests/Shared/Trend/LinearBestFitTest.php @@ -42,7 +42,7 @@ class LinearBestFitTest extends TestCase self::assertSame($expectedGoodnessOfFit[1], $bestFit->getGoodnessOfFit()); } - public function providerLinearBestFit() + public function providerLinearBestFit(): array { return require 'tests/data/Shared/Trend/LinearBestFit.php'; } diff --git a/tests/PhpSpreadsheetTests/SpreadsheetTest.php b/tests/PhpSpreadsheetTests/SpreadsheetTest.php index cf293001..7f159d67 100644 --- a/tests/PhpSpreadsheetTests/SpreadsheetTest.php +++ b/tests/PhpSpreadsheetTests/SpreadsheetTest.php @@ -26,10 +26,7 @@ class SpreadsheetTest extends TestCase $this->object->addSheet($sheet); } - /** - * @return array - */ - public function dataProviderForSheetNames() + public function dataProviderForSheetNames(): array { $array = [ [0, 'someSheet1'], diff --git a/tests/PhpSpreadsheetTests/Style/ColorTest.php b/tests/PhpSpreadsheetTests/Style/ColorTest.php index 2c017ff4..3a66192d 100644 --- a/tests/PhpSpreadsheetTests/Style/ColorTest.php +++ b/tests/PhpSpreadsheetTests/Style/ColorTest.php @@ -19,7 +19,7 @@ class ColorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerColorGetRed() + public function providerColorGetRed(): array { return require 'tests/data/Style/ColorGetRed.php'; } @@ -36,7 +36,7 @@ class ColorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerColorGetGreen() + public function providerColorGetGreen(): array { return require 'tests/data/Style/ColorGetGreen.php'; } @@ -53,7 +53,7 @@ class ColorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerColorGetBlue() + public function providerColorGetBlue(): array { return require 'tests/data/Style/ColorGetBlue.php'; } @@ -69,7 +69,7 @@ class ColorTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerColorChangeBrightness() + public function providerColorChangeBrightness(): array { return require 'tests/data/Style/ColorChangeBrightness.php'; } diff --git a/tests/PhpSpreadsheetTests/Style/NumberFormatTest.php b/tests/PhpSpreadsheetTests/Style/NumberFormatTest.php index 6bf7db04..e386b292 100644 --- a/tests/PhpSpreadsheetTests/Style/NumberFormatTest.php +++ b/tests/PhpSpreadsheetTests/Style/NumberFormatTest.php @@ -8,10 +8,19 @@ use PHPUnit\Framework\TestCase; class NumberFormatTest extends TestCase { + /** + * @var string + */ private $currencyCode; + /** + * @var string + */ private $decimalSeparator; + /** + * @var string + */ private $thousandsSeparator; protected function setUp(): void @@ -41,7 +50,7 @@ class NumberFormatTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerNumberFormat() + public function providerNumberFormat(): array { return require 'tests/data/Style/NumberFormat.php'; } @@ -57,7 +66,7 @@ class NumberFormatTest extends TestCase self::assertEquals($expectedResult, $result); } - public function providerNumberFormatDates() + public function providerNumberFormatDates(): array { return require 'tests/data/Style/NumberFormatDates.php'; } diff --git a/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/Column/RuleTest.php b/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/Column/RuleTest.php index 156a95de..276836c9 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/Column/RuleTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/Column/RuleTest.php @@ -3,12 +3,20 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet\AutoFilter\Column; use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column; +use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column\Rule; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class RuleTest extends TestCase { + /** + * @var Rule + */ private $testAutoFilterRuleObject; + /** + * @var Column&MockObject + */ private $mockAutoFilterColumnObject; protected function setUp(): void @@ -17,7 +25,7 @@ class RuleTest extends TestCase ->disableOriginalConstructor() ->getMock(); - $this->testAutoFilterRuleObject = new Column\Rule( + $this->testAutoFilterRuleObject = new Rule( $this->mockAutoFilterColumnObject ); } @@ -25,16 +33,16 @@ class RuleTest extends TestCase public function testGetRuleType(): void { $result = $this->testAutoFilterRuleObject->getRuleType(); - self::assertEquals(Column\Rule::AUTOFILTER_RULETYPE_FILTER, $result); + self::assertEquals(Rule::AUTOFILTER_RULETYPE_FILTER, $result); } public function testSetRuleType(): void { - $expectedResult = Column\Rule::AUTOFILTER_RULETYPE_DATEGROUP; + $expectedResult = Rule::AUTOFILTER_RULETYPE_DATEGROUP; // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterRuleObject->setRuleType($expectedResult); - self::assertInstanceOf(Column\Rule::class, $result); + self::assertInstanceOf(Rule::class, $result); $result = $this->testAutoFilterRuleObject->getRuleType(); self::assertEquals($expectedResult, $result); @@ -46,7 +54,7 @@ class RuleTest extends TestCase // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterRuleObject->setValue($expectedResult); - self::assertInstanceOf(Column\Rule::class, $result); + self::assertInstanceOf(Rule::class, $result); $result = $this->testAutoFilterRuleObject->getValue(); self::assertEquals($expectedResult, $result); @@ -55,16 +63,16 @@ class RuleTest extends TestCase public function testGetOperator(): void { $result = $this->testAutoFilterRuleObject->getOperator(); - self::assertEquals(Column\Rule::AUTOFILTER_COLUMN_RULE_EQUAL, $result); + self::assertEquals(Rule::AUTOFILTER_COLUMN_RULE_EQUAL, $result); } public function testSetOperator(): void { - $expectedResult = Column\Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN; + $expectedResult = Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN; // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterRuleObject->setOperator($expectedResult); - self::assertInstanceOf(Column\Rule::class, $result); + self::assertInstanceOf(Rule::class, $result); $result = $this->testAutoFilterRuleObject->getOperator(); self::assertEquals($expectedResult, $result); @@ -72,11 +80,11 @@ class RuleTest extends TestCase public function testSetGrouping(): void { - $expectedResult = Column\Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH; + $expectedResult = Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH; // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterRuleObject->setGrouping($expectedResult); - self::assertInstanceOf(Column\Rule::class, $result); + self::assertInstanceOf(Rule::class, $result); $result = $this->testAutoFilterRuleObject->getGrouping(); self::assertEquals($expectedResult, $result); @@ -92,12 +100,12 @@ class RuleTest extends TestCase { // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterRuleObject->setParent($this->mockAutoFilterColumnObject); - self::assertInstanceOf(Column\Rule::class, $result); + self::assertInstanceOf(Rule::class, $result); } public function testClone(): void { $result = clone $this->testAutoFilterRuleObject; - self::assertInstanceOf(Column\Rule::class, $result); + self::assertInstanceOf(Rule::class, $result); } } diff --git a/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php b/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php index ef67b05d..93369626 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/AutoFilter/ColumnTest.php @@ -3,14 +3,25 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet\AutoFilter; use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter; +use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class ColumnTest extends TestCase { + /** + * @var string + */ private $testInitialColumn = 'H'; + /** + * @var Column + */ private $testAutoFilterColumnObject; + /** + * @var AutoFilter&MockObject + */ private $mockAutoFilterObject; protected function setUp(): void @@ -23,7 +34,7 @@ class ColumnTest extends TestCase ->method('testColumnInRange') ->willReturn(3); - $this->testAutoFilterColumnObject = new AutoFilter\Column($this->testInitialColumn, $this->mockAutoFilterObject); + $this->testAutoFilterColumnObject = new Column($this->testInitialColumn, $this->mockAutoFilterObject); } public function testGetColumnIndex(): void @@ -38,7 +49,7 @@ class ColumnTest extends TestCase // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterColumnObject->setColumnIndex($expectedResult); - self::assertInstanceOf(AutoFilter\Column::class, $result); + self::assertInstanceOf(Column::class, $result); $result = $this->testAutoFilterColumnObject->getColumnIndex(); self::assertEquals($expectedResult, $result); @@ -54,22 +65,22 @@ class ColumnTest extends TestCase { // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterColumnObject->setParent($this->mockAutoFilterObject); - self::assertInstanceOf(AutoFilter\Column::class, $result); + self::assertInstanceOf(Column::class, $result); } public function testGetFilterType(): void { $result = $this->testAutoFilterColumnObject->getFilterType(); - self::assertEquals(AutoFilter\Column::AUTOFILTER_FILTERTYPE_FILTER, $result); + self::assertEquals(Column::AUTOFILTER_FILTERTYPE_FILTER, $result); } public function testSetFilterType(): void { - $result = $this->testAutoFilterColumnObject->setFilterType(AutoFilter\Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER); - self::assertInstanceOf(AutoFilter\Column::class, $result); + $result = $this->testAutoFilterColumnObject->setFilterType(Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER); + self::assertInstanceOf(Column::class, $result); $result = $this->testAutoFilterColumnObject->getFilterType(); - self::assertEquals(AutoFilter\Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER, $result); + self::assertEquals(Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER, $result); } public function testSetInvalidFilterTypeThrowsException(): void @@ -84,16 +95,16 @@ class ColumnTest extends TestCase public function testGetJoin(): void { $result = $this->testAutoFilterColumnObject->getJoin(); - self::assertEquals(AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_OR, $result); + self::assertEquals(Column::AUTOFILTER_COLUMN_JOIN_OR, $result); } public function testSetJoin(): void { - $result = $this->testAutoFilterColumnObject->setJoin(AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_AND); - self::assertInstanceOf(AutoFilter\Column::class, $result); + $result = $this->testAutoFilterColumnObject->setJoin(Column::AUTOFILTER_COLUMN_JOIN_AND); + self::assertInstanceOf(Column::class, $result); $result = $this->testAutoFilterColumnObject->getJoin(); - self::assertEquals(AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_AND, $result); + self::assertEquals(Column::AUTOFILTER_COLUMN_JOIN_AND, $result); } public function testSetInvalidJoinThrowsException(): void @@ -114,7 +125,7 @@ class ColumnTest extends TestCase // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterColumnObject->setAttributes($attributeSet); - self::assertInstanceOf(AutoFilter\Column::class, $result); + self::assertInstanceOf(Column::class, $result); } public function testGetAttributes(): void @@ -141,7 +152,7 @@ class ColumnTest extends TestCase foreach ($attributeSet as $attributeName => $attributeValue) { // Setters return the instance to implement the fluent interface $result = $this->testAutoFilterColumnObject->setAttribute($attributeName, $attributeValue); - self::assertInstanceOf(AutoFilter\Column::class, $result); + self::assertInstanceOf(Column::class, $result); } } @@ -166,7 +177,7 @@ class ColumnTest extends TestCase { $originalRule = $this->testAutoFilterColumnObject->createRule(); $result = clone $this->testAutoFilterColumnObject; - self::assertInstanceOf(AutoFilter\Column::class, $result); + self::assertInstanceOf(Column::class, $result); self::assertCount(1, $result->getRules()); self::assertContainsOnlyInstancesOf(AutoFilter\Column\Rule::class, $result->getRules()); $clonedRule = $result->getRules()[0]; diff --git a/tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php b/tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php index 17b4c022..7f218b54 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/AutoFilterTest.php @@ -6,10 +6,14 @@ use PhpOffice\PhpSpreadsheet\Collection\Cells; use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter; use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class AutoFilterTest extends TestCase { + /** + * @var string + */ private $testInitialRange = 'H2:O256'; /** @@ -17,8 +21,14 @@ class AutoFilterTest extends TestCase */ private $testAutoFilterObject; + /** + * @var Worksheet&MockObject + */ private $mockWorksheetObject; + /** + * @var Cells&MockObject + */ private $cellCollection; protected function setUp(): void diff --git a/tests/PhpSpreadsheetTests/Worksheet/ColumnCellIteratorTest.php b/tests/PhpSpreadsheetTests/Worksheet/ColumnCellIteratorTest.php index 1fa25330..9d5f4977 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/ColumnCellIteratorTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/ColumnCellIteratorTest.php @@ -5,13 +5,20 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Worksheet\ColumnCellIterator; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class ColumnCellIteratorTest extends TestCase { - public $mockWorksheet; + /** + * @var Worksheet&MockObject + */ + private $mockWorksheet; - public $mockCell; + /** + * @var Cell&MockObject + */ + private $mockCell; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Worksheet/ColumnDimensionTest.php b/tests/PhpSpreadsheetTests/Worksheet/ColumnDimensionTest.php index b10875c2..8062a24c 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/ColumnDimensionTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/ColumnDimensionTest.php @@ -40,6 +40,6 @@ class ColumnDimensionTest extends TestCase $columnDimension = new ColumnDimension(); $columnDimension->setAutoSize($expected); $result = $columnDimension->getAutoSize(); - self::assertSame($expected, $result); + self::assertTrue($result); } } diff --git a/tests/PhpSpreadsheetTests/Worksheet/ColumnIteratorTest.php b/tests/PhpSpreadsheetTests/Worksheet/ColumnIteratorTest.php index 71a05d48..98a402fe 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/ColumnIteratorTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/ColumnIteratorTest.php @@ -5,20 +5,18 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Worksheet\Column; use PhpOffice\PhpSpreadsheet\Worksheet\ColumnIterator; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class ColumnIteratorTest extends TestCase { - public $mockWorksheet; - - public $mockColumn; + /** + * @var Worksheet&MockObject + */ + private $mockWorksheet; protected function setUp(): void { - $this->mockColumn = $this->getMockBuilder(Column::class) - ->disableOriginalConstructor() - ->getMock(); - $this->mockWorksheet = $this->getMockBuilder(Worksheet::class) ->disableOriginalConstructor() ->getMock(); diff --git a/tests/PhpSpreadsheetTests/Worksheet/ColumnTest.php b/tests/PhpSpreadsheetTests/Worksheet/ColumnTest.php index 0abff0ec..7795b5ae 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/ColumnTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/ColumnTest.php @@ -5,13 +5,15 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Worksheet\Column; use PhpOffice\PhpSpreadsheet\Worksheet\ColumnCellIterator; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class ColumnTest extends TestCase { - public $mockWorksheet; - - public $mockColumn; + /** + * @var Worksheet&MockObject + */ + private $mockWorksheet; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Worksheet/RowCellIteratorTest.php b/tests/PhpSpreadsheetTests/Worksheet/RowCellIteratorTest.php index 4105c91c..85191746 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/RowCellIteratorTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/RowCellIteratorTest.php @@ -5,13 +5,20 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class RowCellIteratorTest extends TestCase { - public $mockWorksheet; + /** + * @var Worksheet&MockObject + */ + private $mockWorksheet; - public $mockCell; + /** + * @var Cell&MockObject + */ + private $mockCell; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Worksheet/RowIteratorTest.php b/tests/PhpSpreadsheetTests/Worksheet/RowIteratorTest.php index c527f434..6228a320 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/RowIteratorTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/RowIteratorTest.php @@ -5,20 +5,18 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Worksheet\Row; use PhpOffice\PhpSpreadsheet\Worksheet\RowIterator; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class RowIteratorTest extends TestCase { - public $mockWorksheet; - - public $mockRow; + /** + * @var Worksheet&MockObject + */ + private $mockWorksheet; protected function setUp(): void { - $this->mockRow = $this->getMockBuilder(Row::class) - ->disableOriginalConstructor() - ->getMock(); - $this->mockWorksheet = $this->getMockBuilder(Worksheet::class) ->disableOriginalConstructor() ->getMock(); diff --git a/tests/PhpSpreadsheetTests/Worksheet/RowTest.php b/tests/PhpSpreadsheetTests/Worksheet/RowTest.php index 93ff589c..9dea36aa 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/RowTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/RowTest.php @@ -5,13 +5,15 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Worksheet\Row; use PhpOffice\PhpSpreadsheet\Worksheet\RowCellIterator; use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; class RowTest extends TestCase { - public $mockWorksheet; - - public $mockRow; + /** + * @var Worksheet&MockObject + */ + private $mockWorksheet; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php b/tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php index 62238b68..24775e3b 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/WorksheetNamedRangesTest.php @@ -5,11 +5,15 @@ namespace PhpOffice\PhpSpreadsheetTests\Worksheet; use PhpOffice\PhpSpreadsheet\Exception; use PhpOffice\PhpSpreadsheet\Reader\Xlsx; use PhpOffice\PhpSpreadsheet\Settings; +use PhpOffice\PhpSpreadsheet\Spreadsheet; use PHPUnit\Framework\TestCase; class WorksheetNamedRangesTest extends TestCase { - protected $spreadsheet; + /** + * @var Spreadsheet + */ + private $spreadsheet; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php b/tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php index 46c848ba..5377444d 100644 --- a/tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php +++ b/tests/PhpSpreadsheetTests/Worksheet/WorksheetTest.php @@ -18,7 +18,7 @@ class WorksheetTest extends TestCase self::assertSame($testTitle, $worksheet->getTitle()); } - public function setTitleInvalidProvider() + public function setTitleInvalidProvider(): array { return [ [str_repeat('a', 32), 'Maximum 31 characters allowed in sheet title.'], @@ -76,7 +76,7 @@ class WorksheetTest extends TestCase self::assertSame($testCodeName, $worksheet->getCodeName()); } - public function setCodeNameInvalidProvider() + public function setCodeNameInvalidProvider(): array { return [ [str_repeat('a', 32), 'Maximum 31 characters allowed in sheet code name.'], @@ -132,7 +132,7 @@ class WorksheetTest extends TestCase self::assertSame('B2', $worksheet->getTopLeftCell()); } - public function extractSheetTitleProvider() + public function extractSheetTitleProvider(): array { return [ ['B2', '', '', 'B2'], @@ -274,7 +274,7 @@ class WorksheetTest extends TestCase self::assertSame($expectedData, $worksheet->toArray()); } - public function removeRowsProvider() + public function removeRowsProvider(): array { return [ 'Remove all rows except first one' => [ diff --git a/tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php b/tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php index d048183c..716a3dcc 100644 --- a/tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Csv/CsvEnclosureTest.php @@ -33,7 +33,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional $writer = new CsvWriter($spreadsheet); $writer->setDelimiter($delimiter); $writer->setEnclosure($enclosure); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $filedata = file_get_contents($filename); $filedata = preg_replace('/\\r?\\n/', $delimiter, $filedata); @@ -64,7 +64,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional $writer->setDelimiter($delimiter); $writer->setEnclosure($enclosure); self::assertEquals('', $writer->getEnclosure()); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $filedata = file_get_contents($filename); $filedata = preg_replace('/\\r?\\n/', $delimiter, $filedata); @@ -95,7 +95,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional $writer = new CsvWriter($spreadsheet); self::assertTrue($writer->getEnclosureRequired()); $writer->setEnclosureRequired(false)->setDelimiter($delimiter)->setEnclosure($enclosure); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $filedata = file_get_contents($filename); $filedata = preg_replace('/\\r?\\n/', $delimiter, $filedata); @@ -149,7 +149,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional $writer = new CsvWriter($spreadsheet); self::assertTrue($writer->getEnclosureRequired()); $writer->setEnclosureRequired(false)->setDelimiter($delimiter)->setEnclosure($enclosure); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $filedata = file_get_contents($filename); $filedata = preg_replace('/\\r/', '', $filedata); @@ -176,7 +176,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional $sheet->setCellValue('C1', '4'); $writer = new CsvWriter($spreadsheet); $writer->setEnclosureRequired(false)->setDelimiter($delimiter)->setEnclosure($enclosure); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $reader = new CsvReader(); $reader->setDelimiter($delimiter); @@ -200,7 +200,7 @@ class CsvEnclosureTest extends Functional\AbstractFunctional $sheet->setCellValue('C1', '4'); $writer = new CsvWriter($spreadsheet); $writer->setDelimiter($delimiter)->setEnclosure($enclosure); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $reader = new CsvReader(); $reader->setDelimiter($delimiter); diff --git a/tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php b/tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php index 510515c3..81e4428e 100644 --- a/tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Csv/CsvOutputEncodingTest.php @@ -18,7 +18,7 @@ class CsvOutputEncodingTest extends Functional\AbstractFunctional $writer = new CsvWriter($spreadsheet); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test-SJIS-win'); + $filename = File::temporaryFilename(); $writer->setUseBOM(false); $writer->setOutputEncoding('SJIS-win'); $writer->save($filename); diff --git a/tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php b/tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php index 7fe1902b..aa9a8fc3 100644 --- a/tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Csv/CsvWriteTest.php @@ -23,7 +23,7 @@ class CsvWriteTest extends Functional\AbstractFunctional $writer = new CsvWriter($spreadsheet); $writer->setSheetIndex(1); self::assertEquals(1, $writer->getSheetIndex()); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $reader = new CsvReader(); $newspreadsheet = $reader->load($filename); diff --git a/tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php b/tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php index 94c201a7..ae71ca55 100644 --- a/tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Html/CallbackTest.php @@ -42,7 +42,7 @@ EOF; self::assertEquals($html3, $html1); $writer->setEditHtmlCallback([$this, 'yellowBody']); - $oufil = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $oufil = File::temporaryFilename(); $writer->save($oufil); $html4 = file_get_contents($oufil); unlink($oufil); diff --git a/tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php b/tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php index 0d43d7eb..a4f474fa 100644 --- a/tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Html/HtmlCommentsTest.php @@ -8,9 +8,12 @@ use PhpOffice\PhpSpreadsheetTests\Functional; class HtmlCommentsTest extends Functional\AbstractFunctional { + /** + * @var Spreadsheet + */ private $spreadsheet; - public function providerCommentRichText() + public function providerCommentRichText(): array { $valueSingle = 'I am comment.'; $valueMulti = 'I am ' . PHP_EOL . 'multi-line' . PHP_EOL . 'comment.'; diff --git a/tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php b/tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php index 340e820b..199ab529 100644 --- a/tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Html/HtmlNumberFormatTest.php @@ -10,10 +10,19 @@ use PhpOffice\PhpSpreadsheetTests\Functional; class HtmlNumberFormatTest extends Functional\AbstractFunctional { + /** + * @var string + */ private $currency; + /** + * @var string + */ private $decsep; + /** + * @var string + */ private $thosep; protected function setUp(): void @@ -172,7 +181,7 @@ class HtmlNumberFormatTest extends Functional\AbstractFunctional $this->writeAndReload($spreadsheet, 'Html'); } - public function providerNumberFormat() + public function providerNumberFormat(): array { return require __DIR__ . '/../../../data/Style/NumberFormat.php'; } @@ -208,7 +217,7 @@ class HtmlNumberFormatTest extends Functional\AbstractFunctional $this->writeAndReload($spreadsheet, 'Html'); } - public function providerNumberFormatDates() + public function providerNumberFormatDates(): array { return require __DIR__ . '/../../../data/Style/NumberFormatDates.php'; } diff --git a/tests/PhpSpreadsheetTests/Writer/Html/ImagesRootTest.php b/tests/PhpSpreadsheetTests/Writer/Html/ImagesRootTest.php index 6cc7f18f..40099177 100644 --- a/tests/PhpSpreadsheetTests/Writer/Html/ImagesRootTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Html/ImagesRootTest.php @@ -9,6 +9,9 @@ use PhpOffice\PhpSpreadsheetTests\Functional; class ImagesRootTest extends Functional\AbstractFunctional { + /** + * @var false|string + */ private $curdir; protected function setUp(): void diff --git a/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php b/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php index de0ac54d..4d8b03a5 100644 --- a/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php @@ -10,7 +10,7 @@ use PhpOffice\PhpSpreadsheetTests\Functional; class XssVulnerabilityTest extends Functional\AbstractFunctional { - public function providerAcceptableMarkupRichText() + public function providerAcceptableMarkupRichText(): array { return [ 'basic text' => ['Hello, I am safely viewing your site', 'Hello, I am safely viewing your site'], @@ -37,7 +37,7 @@ class XssVulnerabilityTest extends Functional\AbstractFunctional ->getComment('A1') ->setText($richText); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer = IOFactory::createWriter($spreadsheet, 'Html'); $writer->save($filename); @@ -48,7 +48,7 @@ class XssVulnerabilityTest extends Functional\AbstractFunctional self::assertStringContainsString($adjustedTextString, $verify); } - public function providerXssRichText() + public function providerXssRichText(): array { return [ 'script tag' => ["Hello, I am trying to your site"], @@ -77,7 +77,7 @@ class XssVulnerabilityTest extends Functional\AbstractFunctional ->getComment('A1') ->setText($richText); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer = IOFactory::createWriter($spreadsheet, 'Html'); $writer->save($filename); diff --git a/tests/PhpSpreadsheetTests/Writer/Ods/ContentTest.php b/tests/PhpSpreadsheetTests/Writer/Ods/ContentTest.php index 2ebd4984..917a0410 100644 --- a/tests/PhpSpreadsheetTests/Writer/Ods/ContentTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Ods/ContentTest.php @@ -16,8 +16,15 @@ use PHPUnit\Framework\TestCase; class ContentTest extends TestCase { + /** + * @var string + */ private $samplesPath = 'tests/data/Writer/Ods'; + /** + * @var string + */ + /** * @var string */ diff --git a/tests/PhpSpreadsheetTests/Writer/RetainSelectedCellsTest.php b/tests/PhpSpreadsheetTests/Writer/RetainSelectedCellsTest.php index c1a57eb5..59f480fd 100644 --- a/tests/PhpSpreadsheetTests/Writer/RetainSelectedCellsTest.php +++ b/tests/PhpSpreadsheetTests/Writer/RetainSelectedCellsTest.php @@ -7,7 +7,7 @@ use PhpOffice\PhpSpreadsheetTests\Functional\AbstractFunctional; class RetainSelectedCellsTest extends AbstractFunctional { - public function providerFormats() + public function providerFormats(): array { return [ ['Xls'], diff --git a/tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php b/tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php index bbb00d89..3965db62 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xls/FormulaErrTest.php @@ -19,7 +19,7 @@ class FormulaErrTest extends TestCase $sheet0->setCellValue('C1', '=DEFNAM=2'); $sheet0->setCellValue('D1', '=CONCAT("X",DEFNAM)'); $writer = IOFactory::createWriter($obj, 'Xls'); - $filename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $filename = File::temporaryFilename(); $writer->save($filename); $reader = IOFactory::createReader('Xls'); $robj = $reader->load($filename); diff --git a/tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php b/tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php index 5ebe645f..160a665a 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xls/WorkbookTest.php @@ -47,7 +47,7 @@ class WorkbookTest extends TestCase self::assertEquals($expectedResult, $palette); } - public function providerAddColor() + public function providerAddColor(): array { $this->setUp(); diff --git a/tests/PhpSpreadsheetTests/Writer/Xls/XlsGifBmpTest.php b/tests/PhpSpreadsheetTests/Writer/Xls/XlsGifBmpTest.php index ceba7e54..03f201be 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xls/XlsGifBmpTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xls/XlsGifBmpTest.php @@ -9,6 +9,9 @@ use PhpOffice\PhpSpreadsheetTests\Functional\AbstractFunctional; class XlsGifBmpTest extends AbstractFunctional { + /** + * @var string + */ private $filename = ''; protected function tearDown(): void diff --git a/tests/PhpSpreadsheetTests/Writer/Xlsx/DrawingsTest.php b/tests/PhpSpreadsheetTests/Writer/Xlsx/DrawingsTest.php index ef2002b5..88c63306 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xlsx/DrawingsTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xlsx/DrawingsTest.php @@ -13,7 +13,7 @@ class DrawingsTest extends AbstractFunctional /** * @var int */ - protected $prevValue; + private $prevValue; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php b/tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php index 746b9846..22f3284b 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xlsx/FloatsRetainedTest.php @@ -18,7 +18,7 @@ class FloatsRetainedTest extends TestCase */ public function testIntyFloatsRetainedByWriter($value): void { - $outputFilename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outputFilename = File::temporaryFilename(); Settings::setLibXmlLoaderOptions(null); $sheet = new Spreadsheet(); $sheet->getActiveSheet()->getCell('A1')->setValue($value); @@ -33,7 +33,7 @@ class FloatsRetainedTest extends TestCase self::assertSame($value, $sheet->getActiveSheet()->getCell('A1')->getValue()); } - public function providerIntyFloatsRetainedByWriter() + public function providerIntyFloatsRetainedByWriter(): array { return [ [-1.0], diff --git a/tests/PhpSpreadsheetTests/Writer/Xlsx/LocaleFloatsTest.php b/tests/PhpSpreadsheetTests/Writer/Xlsx/LocaleFloatsTest.php index 373ef37f..3a9fb1cc 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xlsx/LocaleFloatsTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xlsx/LocaleFloatsTest.php @@ -6,9 +6,15 @@ use PHPUnit\Framework\TestCase; class LocaleFloatsTest extends TestCase { - protected $localeAdjusted; + /** + * @var bool + */ + private $localeAdjusted; - protected $currentLocale; + /** + * @var false|string + */ + private $currentLocale; protected function setUp(): void { diff --git a/tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php b/tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php index d4fe5b22..826c482d 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xlsx/StartsWithHashTest.php @@ -15,7 +15,7 @@ class StartsWithHashTest extends TestCase { public function testStartWithHash(): void { - $outputFilename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outputFilename = File::temporaryFilename(); Settings::setLibXmlLoaderOptions(null); $spreadsheet = new Spreadsheet(); $sheet = $spreadsheet->getActiveSheet(); @@ -40,7 +40,7 @@ class StartsWithHashTest extends TestCase public function testStartWithHashReadRaw(): void { // Make sure raw data indicates A3 is an error, but A2 isn't. - $outputFilename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $outputFilename = File::temporaryFilename(); Settings::setLibXmlLoaderOptions(null); $spreadsheet = new Spreadsheet(); $sheet = $spreadsheet->getActiveSheet(); diff --git a/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php b/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php index 660e40fe..def6f70e 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php @@ -15,7 +15,7 @@ class UnparsedDataCloneTest extends TestCase public function testLoadSaveXlsxWithUnparsedDataClone(): void { $sampleFilename = 'tests/data/Writer/XLSX/drawing_on_2nd_page.xlsx'; - $resultFilename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $resultFilename = File::temporaryFilename(); Settings::setLibXmlLoaderOptions(null); // reset to default options $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); $spreadsheet = $reader->load($sampleFilename); @@ -60,8 +60,8 @@ class UnparsedDataCloneTest extends TestCase public function testSaveTwice(): void { $sampleFilename = 'tests/data/Writer/XLSX/drawing_on_2nd_page.xlsx'; - $resultFilename1 = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test1'); - $resultFilename2 = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test2'); + $resultFilename1 = File::temporaryFilename(); + $resultFilename2 = File::temporaryFilename(); self::assertNotEquals($resultFilename1, $resultFilename2); Settings::setLibXmlLoaderOptions(null); // reset to default options $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); diff --git a/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php b/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php index 4ea6f955..a2f21aef 100644 --- a/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataTest.php @@ -16,7 +16,7 @@ class UnparsedDataTest extends TestCase public function testLoadSaveXlsxWithUnparsedData(): void { $sampleFilename = 'tests/data/Writer/XLSX/form_pass_print.xlsm'; - $resultFilename = tempnam(File::sysGetTempDir(), 'phpspreadsheet-test'); + $resultFilename = File::temporaryFilename(); Settings::setLibXmlLoaderOptions(null); // reset to default options $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); $excel = $reader->load($sampleFilename); diff --git a/tests/data/Calculation/Calculation.php b/tests/data/Calculation/Calculation.php index 2f9e0a0c..e49bed9f 100644 --- a/tests/data/Calculation/Calculation.php +++ b/tests/data/Calculation/Calculation.php @@ -1,6 +1,6 @@ 0, 2 > 0, + true, true, ], [ true, @@ -15,23 +15,23 @@ return [ ], [ true, - 1 > 0, 0 > 1, + true, false, ], [ true, - 0 > 1, 2 > 0, + false, true, ], [ false, - 0 > 1, 0 > 2, + false, false, ], [ false, - 1 > 0, 2 > 0, 0 > 1, 0 > 2, + true, true, false, false, ], [ true, - 1 > 0, 2 > 0, 3 > 0, 0 > 1, + true, true, true, false, ], [ false,