-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathphpstan-php7.neon
More file actions
15 lines (15 loc) · 713 Bytes
/
phpstan-php7.neon
File metadata and controls
15 lines (15 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
includes:
- phpstan.neon
parameters:
phpVersion: 70400
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#Function str_contains not found#'
- '#Function str_ends_with not found#'
- '#Function str_starts_with not found#'
- '#Caught class ValueError not found#'
- '#Dead catch - Error is never thrown in the try block#'
- '#should return string but returns string\|false#'
- '#PHPDoc tag @var with type .+ is not subtype of type .+#'
- '#Parameter \#1 \$val of function mb_convert_encoding expects array\|string, string\|false given#'
- '#Strict comparison using !== between int<0, max> and null will always evaluate to true#'