forked from getsentry/sentry-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
20 lines (20 loc) · 882 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
tipsOfTheDay: false
level: 7
paths:
- src
- tests
ignoreErrors:
- '/Argument of an invalid type object supplied for foreach, only iterables are supported/'
- '/Binary operation "\*" between array and 2 results in an error\./'
- '/Http\\Client\\Curl\\Client/'
- '/^Parameter #1 \$object of method ReflectionProperty::setValue\(\) expects object, null given\.$/' # https://github.com/phpstan/phpstan/pull/2340
-
message: /^Cannot assign offset 'os' to array\|string\.$/
path: src/Event.php
-
message: "/^Parameter #1 \\$function of function register_shutdown_function expects callable\\(\\): void, 'register_shutdown…' given\\.$/"
path: src/Transport/HttpTransport.php
excludes_analyse:
- tests/resources
- tests/Fixtures