forked from browscap/browscap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
31 lines (30 loc) · 1.05 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
24
25
26
27
28
29
30
31
parameters:
level: max
paths:
- src
- tests/UserAgentsTest
- tests/BrowscapTest
- tests/fixtures
autoload_files:
- %currentWorkingDirectory%/vendor/autoload.php
# exceptionRules:
# reportUnusedCatchesOfUncheckedExceptions: false
# uncheckedExceptions: []
excludes_analyse:
- */tests/*/data/*
- */V3/*Test.php
ignoreErrors:
# - '~is not subtype of Throwable~'
- '~expects string, Exception given~'
- '~expects string, Twig\\Error\\LoaderError|Twig\\Error\\RuntimeError|Twig\\Error\\SyntaxError given~'
- '~expects string, BrowserDetector\\Loader\\NotFoundException given~'
- '~MockObject~'
checkMissingIterableValueType: false
#includes:
# - vendor/phpstan/phpstan-strict-rules/rules.neon
# - vendor/phpstan/phpstan-phpunit/extension.neon
# - vendor/phpstan/phpstan-phpunit/rules.neon
# - vendor/pepakriz/phpstan-exception-rules/extension.neon
# - vendor/phpstan/phpstan-deprecation-rules/rules.neon
# - vendor/phpstan/phpstan-beberlei-assert/extension.neon
# - vendor/localheinz/phpstan-rules/rules.neon