forked from async-aws/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
60 lines (58 loc) · 3.32 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
parameters:
level: 5
reportUnmatchedIgnoredErrors: false
paths:
- src
tmpDir: .cache/phpstan/
excludePaths:
- 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/Laravel/Filesystem/src/AsyncAwsFilesystemManager.php
- src/Integration/Laravel/Filesystem/src/AsyncAwsFilesystemAdapter.php
ignoreErrors:
- '#^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>\.$#'
- '#PHPDoc tag @throws with type Psr\\Cache\\CacheException is not subtype of Throwable$#'
- '#^Dead catch - JsonException is never thrown in the try block\.$#'
- '#^Unsafe access to private property AsyncAws\\Flysystem\\S3\\AsyncAwsS3Adapter::\$[^ ]+ through static::\.$#'
- '#^Variable \$s3SignerOptions in empty\(\) always exists and is always falsy.#'
- '#^Method AsyncAws\\[^\\]+\\Result\\[^ ]+ should return #'
- '#^Parameter \#1 \$input of class AsyncAws\\[^\\]+\\ValueObject\\[^ ]+ constructor expects #'
- '#^Argument 1 of AsyncAws\\Scheduler\\ValueObject\\ScheduleGroupSummary::__construct expects #'
- '#^Property AsyncAws\\Sqs\\Input\\SendMessageRequest::\$messageSystemAttributes \([^)]+\) does not accept non-empty-array#'
- message: '#always exists and is not nullable\.$#'
paths:
- src/Core/src/Sts/ValueObject
- src/Service/AppSync/src/ValueObject
- src/Service/Athena/src/ValueObject
- src/Service/CodeBuild/src/ValueObject
- src/Service/CodeCommit/src/ValueObject
- src/Service/CloudFormation/src/ValueObject
- src/Service/CloudFront/src/ValueObject
- src/Service/CloudWatch/src/ValueObject
- src/Service/CloudWatchLogs/src/ValueObject
- src/Service/CognitoIdentityProvider/src/ValueObject
- src/Service/DynamoDb/src/ValueObject
- src/Service/Firehose/src/ValueObject
- src/Service/Iam/src/ValueObject
- src/Service/Kms/src/ValueObject/KeyMetadata.php
- src/Service/Kms/src/ValueObject/Tag.php
- src/Service/Kinesis/src/ValueObject
- src/Service/Lambda/src/ValueObject
- src/Service/MediaConvert/src/ValueObject
- src/Service/Iot/src/ValueObject/Tag.php
- src/Service/Rekognition/src/ValueObject
- src/Service/Route53/src/ValueObject
- src/Service/S3/src/ValueObject
- src/Service/Scheduler/src/ValueObject
- src/Service/Ses/src/ValueObject
- src/Service/Sns/src/ValueObject
- src/Service/Sqs/src/ValueObject
- src/Service/Ssm/src/ValueObject
- src/Service/TimestreamQuery/src/ValueObject
- src/Service/TimestreamWrite/src/ValueObject