2019-02-04 00:29:13 +01:00
|
|
|
includes:
|
2019-02-04 02:14:03 +01:00
|
|
|
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
2019-02-04 02:08:59 +01:00
|
|
|
- vendor/phpstan/phpstan-phpunit/extension.neon
|
|
|
|
- vendor/phpstan/phpstan-phpunit/rules.neon
|
2018-08-22 18:30:48 +02:00
|
|
|
parameters:
|
|
|
|
fileExtensions:
|
|
|
|
- php
|
|
|
|
- phpt
|
|
|
|
ignoreErrors:
|
2020-07-22 14:02:39 +02:00
|
|
|
-
|
2023-02-18 17:38:47 +01:00
|
|
|
# Why: SimpleXMLElement is weird and doesn't implement anything ArrayAccess-like
|
2020-07-22 14:02:39 +02:00
|
|
|
message: '/Instanceof between mixed and SimpleXMLElement will always evaluate to false\./'
|
|
|
|
path: library/Rules/ArrayVal.php
|
2021-02-06 12:51:56 +01:00
|
|
|
|
2024-01-27 19:49:44 +01:00
|
|
|
-
|
|
|
|
# Why: I don't want to make changes to the code just to make phpstan happy
|
|
|
|
message: '/Parameter #2 \$values of function vsprintf expects array<bool\|float\|int\|string\|null>, array<string, array<bool\|int\|string>\|bool\|float\|int\|string> given./'
|
|
|
|
path: library/Rules/AbstractAge.php
|
2023-02-18 17:38:47 +01:00
|
|
|
level: 8
|
2018-08-22 18:30:48 +02:00
|
|
|
paths:
|
|
|
|
- library/
|
|
|
|
- tests/
|
2024-01-27 19:49:44 +01:00
|
|
|
excludePaths:
|
|
|
|
- tests/integration/
|