forked from async-aws/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
33 lines (28 loc) · 1.7 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
33 lines (28 loc) · 1.7 KB
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
32
includes:
- phpstan-baseline.neon
parameters:
level: 5
paths:
- src
autoload_files:
- src/Integration/Flysystem/S3/tests/version-bridge.php
excludes_analyse:
- src/*/tests/*
- src/**/tests/*
- src/CodeGenerator/src/Generator/PhpGenerator/ClassFactory.php
- src/CodeGenerator/src/Generator/TestGenerator.php
- src/Core/src/Test/TestCase.php
- src/Integration/Flysystem/S3/src/S3FilesystemV1.php
ignoreErrors:
- '#Ternary operator condition is always true\.#'
- '#Negated boolean expression is always false\.#'
- '#^PHPDoc tag @param has invalid value#'
- '#^PHPDoc tag @return with type AsyncAws\\[^\\]+\\Enum\\[^ ]+ is incompatible with native type string(\|null)?\.$#'
- '#^Method AsyncAws\\[^ ]+ should return string\|null but returns AsyncAws\\[^\\]+\\Enum\\[^\.]+\.$#'
- '#^Property AsyncAws\\[^ ]+ \(AsyncAws\\[^\\]+\\Enum\\[^\)]+\) does not accept string\|null\.$#'
- '#^Parameter \#3 ...\$args of function sprintf expects bool\|float\|int\|string\|null, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#'
- '#^Parameter \#1 \$value of static method AsyncAws\\[^\\]+\\Enum\\[^:]+::exists\(\) expects string, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#'
- '#^PHPDoc tag @(var|return) has invalid value \(list<[^:]+::\*>\): Unexpected token "::", expected .>. at offset \d+.$#'
- '#^Parameter \#4 \$headers of class AsyncAws\\Core\\Request constructor expects array<array<string>\|string>, array<string, AsyncAws\\[^\\]+\\Enum\\[^ ]+ given\.$#'
- message: '#^Class AsyncAws\\S3\\(Result|Input)\\[^ ]* not found\.$#'
path: src/Integration/Flysystem/S3/src