forked from async-aws/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
25 lines (22 loc) · 1.13 KB
/
phpstan.neon.dist
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
parameters:
level: 5
paths:
- src
bootstrapFiles:
- src/Integration/Flysystem/S3/tests/version-bridge.php
excludes_analyse:
- src/*/tests/*
- src/**/tests/*
- src/CodeGenerator/src/Generator/TestGenerator.php
- src/Core/src/AbstractApi.php # requires symfony/http-client: 5.2
- src/Core/src/HttpClient/AwsRetryStrategy.php # requires symfony/http-client: 5.2
- src/Core/src/Test/TestCase.php
- src/Integration/Flysystem/S3/src/S3FilesystemV1.php
- src/Integration/Laravel/Filesystem/src/AsyncAwsFilesystemManager.php
- src/Integration/Laravel/Filesystem/src/AsyncAwsFilesystemAdapter.php
ignoreErrors:
- '#Ternary operator condition is always true\.#'
- '#Negated boolean expression is always false\.#'
- '#^PHPDoc tag @param has invalid value#'
- '#^Parameter \#1 \$input of class AsyncAws\\[^\\]+\\ValueObject\\[^ ]+ constructor expects (array\(\)\|)?array\([^\)]+\), array\([^\)]+\) given\.#'
- '#Method AsyncAws\\[^:]+::[^(]+\(\) should return array<[^>]+> but returns array<int(\|string)?, string>\.$#'