mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-28 16:08:11 +00:00
4323fcff5a
Phpstan Level 9 - Part 8 of Many - TextData
272 lines
10 KiB
Plaintext
272 lines
10 KiB
Plaintext
parameters:
|
|
ignoreErrors:
|
|
-
|
|
message: '#^Method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Hyperlink\:\:set\(\) should return string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$string of function trim expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$tooltip of method PhpOffice\\PhpSpreadsheet\\Cell\\Hyperlink\:\:setTooltip\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$url of method PhpOffice\\PhpSpreadsheet\\Cell\\Hyperlink\:\:setUrl\(\) expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$lookupVector of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Lookup\:\:verifyLookupValues\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$resultVector of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Lookup\:\:verifyResultVector\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$resultVector of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Lookup\:\:verifyLookupValues\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Lookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$message of class PhpOffice\\PhpSpreadsheet\\Calculation\\Exception constructor expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/LookupRefValidations.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\|string on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_keys expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Matrix.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between int and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between mixed and int results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and 1 results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to int\.$#'
|
|
identifier: cast.int
|
|
count: 4
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Offset.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$sortIndex of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Sort\:\:validateArrayArgumentsForSort\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Sort.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$sortOrder of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Sort\:\:sortByColumn\(\) expects array\<int\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Sort.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$sortOrder of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\Sort\:\:sortByRow\(\) expects array\<int\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/Sort.php
|
|
|
|
-
|
|
message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Cannot access offset int\|string\|null on mixed\.$#'
|
|
identifier: offsetAccess.nonOffsetAccessible
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Cannot cast mixed to string\.$#'
|
|
identifier: cast.string
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_keys expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function uasort expects TArray of array\<TKey of int\|string, mixed\>, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$lookup_array of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\LookupBase\:\:validateIndexLookup\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$index_number of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\LookupBase\:\:validateIndexLookup\(\) expects float\|int\|string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$lookupArray of static method PhpOffice\\PhpSpreadsheet\\Calculation\\LookupRef\\VLookup\:\:vLookupSearch\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/LookupRef/VLookup.php
|
|
|
|
-
|
|
message: '#^Cannot call method getWorksheet\(\) on mixed\.$#'
|
|
identifier: method.nonObject
|
|
count: 4
|
|
path: src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
|
|
|
|
-
|
|
message: '#^Method PhpOffice\\PhpSpreadsheet\\Calculation\\MathTrig\\Subtotal\:\:evaluate\(\) should return float\|int\|string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$array of function array_filter expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$string of function explode expects string, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 2
|
|
path: src/PhpSpreadsheet/Calculation/MathTrig/Subtotal.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
|
|
identifier: assignOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Averages.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between mixed and float\|int\|string results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Averages.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$condition of static method PhpOffice\\PhpSpreadsheet\\Calculation\\Statistical\\Conditional\:\:AVERAGEIF\(\) expects array\|string\|null, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Conditional.php
|
|
|
|
-
|
|
message: '#^Method PhpOffice\\PhpSpreadsheet\\Calculation\\Statistical\\Confidence\:\:CONFIDENCE\(\) should return array\|float\|string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Confidence.php
|
|
|
|
-
|
|
message: '#^Method PhpOffice\\PhpSpreadsheet\\Calculation\\Statistical\\Distributions\\ChiSquared\:\:test\(\) should return float\|string but returns mixed\.$#'
|
|
identifier: return.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$value of function count expects array\|Countable, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php
|
|
|
|
-
|
|
message: '#^Binary operation "\*" between 2 and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 2
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php
|
|
|
|
-
|
|
message: '#^Binary operation "\+" between 1 and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php
|
|
|
|
-
|
|
message: '#^Binary operation "\-" between 1 and mixed results in an error\.$#'
|
|
identifier: binaryOp.invalid
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Distributions/Fisher.php
|
|
|
|
-
|
|
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
|
|
identifier: foreach.nonIterable
|
|
count: 1
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
|
|
|
|
-
|
|
message: '#^Parameter \#1 \$yValues of static method PhpOffice\\PhpSpreadsheet\\Calculation\\Statistical\\Trends\:\:validateTrendArrays\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$xValues of static method PhpOffice\\PhpSpreadsheet\\Calculation\\Statistical\\Trends\:\:validateTrendArrays\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
|
|
|
|
-
|
|
message: '#^Parameter \#2 \$yValues of static method PhpOffice\\PhpSpreadsheet\\Shared\\Trend\\Trend\:\:calculate\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$xValues of static method PhpOffice\\PhpSpreadsheet\\Shared\\Trend\\Trend\:\:calculate\(\) expects array, mixed given\.$#'
|
|
identifier: argument.type
|
|
count: 9
|
|
path: src/PhpSpreadsheet/Calculation/Statistical/Trends.php
|