forked from thephpleague/csv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
23 lines (23 loc) · 1.28 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: max
paths:
- src
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
ignoreErrors:
- message: '#Call to function is_resource\(\) with resource will always evaluate to true.#'
path: src/Stream.php
- message: '#Parameter \#2 \$special_chars of class League\\Csv\\EscapeFormula constructor expects array<string>, array<int, stdClass> given.#'
path: src/EscapeFormulaTest.php
- message: '#Parameter \#2 \$delimiters of static method League\\Csv\\Info::getDelimiterStats\(\) expects array<string>, array<int, array\|string> given.#'
path: src/InfoTest.php
- message: '#Parameter \#1 \$header of method League\\Csv\\Reader::getRecords\(\) expects array<string>, array<int, int\|string> given.#'
path: src/ReaderTest.php
- message: '#Parameter \#2 \$header of method League\\Csv\\Statement::process\(\) expects array<string>, array<int, int\|string> given.#'
path: src/ResultSetTest.php
reportUnmatchedIgnoredErrors: true