forked from jeremykendall/php-domain-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.src.neon
17 lines (17 loc) · 902 Bytes
/
phpstan.src.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- message: '#Call to function is_iterable\(\) with iterable will always evaluate to true.#'
path: src/Cache.php
- message: '#Call to function is_string\(\) with string will always evaluate to true.#'
path: src/Cache.php
- message: '#Call to function is_object\(\) with \*NEVER\* will always evaluate to true.#'
path: src/Cache.php
- message: '#Else branch is unreachable because ternary operator condition is always true.#'
path: src/Cache.php
- message: '#Property Pdp\\TopLevelDomains::\$modifiedDate \(DateTimeImmutable\) does not accept DateTimeInterface.#'
path: src/TopLevelDomains.php
reportUnmatchedIgnoredErrors: true