Skip to content

Commit c826df1

Browse files
authored
Configure phpstan to not complain about safety checks (#1461)
1 parent ed70336 commit c826df1

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

phpstan.neon.dist

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
parameters:
22
level: 5
3+
treatPhpDocTypesAsCertain: false
34
reportUnmatchedIgnoredErrors: false
45
paths:
56
- src
@@ -22,39 +23,7 @@ parameters:
2223
- '#PHPDoc tag @throws with type Psr\\Cache\\CacheException is not subtype of Throwable$#'
2324
- '#^Dead catch - JsonException is never thrown in the try block\.$#'
2425
- '#^Unsafe access to private property AsyncAws\\Flysystem\\S3\\AsyncAwsS3Adapter::\$[^ ]+ through static::\.$#'
25-
- '#^Variable \$s3SignerOptions in empty\(\) always exists and is always falsy.#'
2626
- '#^Method AsyncAws\\[^\\]+\\Result\\[^ ]+ should return #'
2727
- '#^Parameter \#1 \$input of class AsyncAws\\[^\\]+\\ValueObject\\[^ ]+ constructor expects #'
2828
- '#^Argument 1 of AsyncAws\\Scheduler\\ValueObject\\ScheduleGroupSummary::__construct expects #'
2929
- '#^Property AsyncAws\\Sqs\\Input\\SendMessageRequest::\$messageSystemAttributes \([^)]+\) does not accept non-empty-array#'
30-
- message: '#always exists and is not nullable\.$#'
31-
paths:
32-
- src/Core/src/Sts/ValueObject
33-
- src/Service/AppSync/src/ValueObject
34-
- src/Service/Athena/src/ValueObject
35-
- src/Service/CodeBuild/src/ValueObject
36-
- src/Service/CodeCommit/src/ValueObject
37-
- src/Service/CloudFormation/src/ValueObject
38-
- src/Service/CloudFront/src/ValueObject
39-
- src/Service/CloudWatch/src/ValueObject
40-
- src/Service/CloudWatchLogs/src/ValueObject
41-
- src/Service/CognitoIdentityProvider/src/ValueObject
42-
- src/Service/DynamoDb/src/ValueObject
43-
- src/Service/Firehose/src/ValueObject
44-
- src/Service/Iam/src/ValueObject
45-
- src/Service/Kms/src/ValueObject/KeyMetadata.php
46-
- src/Service/Kms/src/ValueObject/Tag.php
47-
- src/Service/Kinesis/src/ValueObject
48-
- src/Service/Lambda/src/ValueObject
49-
- src/Service/MediaConvert/src/ValueObject
50-
- src/Service/Iot/src/ValueObject/Tag.php
51-
- src/Service/Rekognition/src/ValueObject
52-
- src/Service/Route53/src/ValueObject
53-
- src/Service/S3/src/ValueObject
54-
- src/Service/Scheduler/src/ValueObject
55-
- src/Service/Ses/src/ValueObject
56-
- src/Service/Sns/src/ValueObject
57-
- src/Service/Sqs/src/ValueObject
58-
- src/Service/Ssm/src/ValueObject
59-
- src/Service/TimestreamQuery/src/ValueObject
60-
- src/Service/TimestreamWrite/src/ValueObject

0 commit comments

Comments
 (0)