Skip to content

Commit 0684391

Browse files
authored
Bump php-cs-fixer to version 3.87.x (#1942)
1 parent e6ac090 commit 0684391

15 files changed

+109
-108
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66

77
- AWS enhancement: Documentation updates.
8+
- Apply no CodingStandard from latest php-cs-fixer.
89

910
## 2.7.1
1011

src/Input/CreateQueueRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ final class CreateQueueRequest extends Input
191191
/**
192192
* @param array{
193193
* QueueName?: string,
194-
* Attributes?: null|array<QueueAttributeName::*, string>,
195-
* tags?: null|array<string, string>,
194+
* Attributes?: array<QueueAttributeName::*, string>|null,
195+
* tags?: array<string, string>|null,
196196
* '@region'?: string|null,
197197
* } $input
198198
*/
@@ -207,8 +207,8 @@ public function __construct(array $input = [])
207207
/**
208208
* @param array{
209209
* QueueName?: string,
210-
* Attributes?: null|array<QueueAttributeName::*, string>,
211-
* tags?: null|array<string, string>,
210+
* Attributes?: array<QueueAttributeName::*, string>|null,
211+
* tags?: array<string, string>|null,
212212
* '@region'?: string|null,
213213
* }|CreateQueueRequest $input
214214
*/

src/Input/GetQueueAttributesRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ final class GetQueueAttributesRequest extends Input
156156
/**
157157
* @param array{
158158
* QueueUrl?: string,
159-
* AttributeNames?: null|array<QueueAttributeName::*>,
159+
* AttributeNames?: array<QueueAttributeName::*>|null,
160160
* '@region'?: string|null,
161161
* } $input
162162
*/
@@ -170,7 +170,7 @@ public function __construct(array $input = [])
170170
/**
171171
* @param array{
172172
* QueueUrl?: string,
173-
* AttributeNames?: null|array<QueueAttributeName::*>,
173+
* AttributeNames?: array<QueueAttributeName::*>|null,
174174
* '@region'?: string|null,
175175
* }|GetQueueAttributesRequest $input
176176
*/

src/Input/GetQueueUrlRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class GetQueueUrlRequest extends Input
3333
/**
3434
* @param array{
3535
* QueueName?: string,
36-
* QueueOwnerAWSAccountId?: null|string,
36+
* QueueOwnerAWSAccountId?: string|null,
3737
* '@region'?: string|null,
3838
* } $input
3939
*/
@@ -47,7 +47,7 @@ public function __construct(array $input = [])
4747
/**
4848
* @param array{
4949
* QueueName?: string,
50-
* QueueOwnerAWSAccountId?: null|string,
50+
* QueueOwnerAWSAccountId?: string|null,
5151
* '@region'?: string|null,
5252
* }|GetQueueUrlRequest $input
5353
*/

src/Input/ListQueuesRequest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ final class ListQueuesRequest extends Input
3535

3636
/**
3737
* @param array{
38-
* QueueNamePrefix?: null|string,
39-
* NextToken?: null|string,
40-
* MaxResults?: null|int,
38+
* QueueNamePrefix?: string|null,
39+
* NextToken?: string|null,
40+
* MaxResults?: int|null,
4141
* '@region'?: string|null,
4242
* } $input
4343
*/
@@ -51,9 +51,9 @@ public function __construct(array $input = [])
5151

5252
/**
5353
* @param array{
54-
* QueueNamePrefix?: null|string,
55-
* NextToken?: null|string,
56-
* MaxResults?: null|int,
54+
* QueueNamePrefix?: string|null,
55+
* NextToken?: string|null,
56+
* MaxResults?: int|null,
5757
* '@region'?: string|null,
5858
* }|ListQueuesRequest $input
5959
*/

src/Input/ReceiveMessageRequest.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ final class ReceiveMessageRequest extends Input
176176
/**
177177
* @param array{
178178
* QueueUrl?: string,
179-
* AttributeNames?: null|array<MessageSystemAttributeName::*>,
180-
* MessageSystemAttributeNames?: null|array<MessageSystemAttributeName::*>,
181-
* MessageAttributeNames?: null|string[],
182-
* MaxNumberOfMessages?: null|int,
183-
* VisibilityTimeout?: null|int,
184-
* WaitTimeSeconds?: null|int,
185-
* ReceiveRequestAttemptId?: null|string,
179+
* AttributeNames?: array<MessageSystemAttributeName::*>|null,
180+
* MessageSystemAttributeNames?: array<MessageSystemAttributeName::*>|null,
181+
* MessageAttributeNames?: string[]|null,
182+
* MaxNumberOfMessages?: int|null,
183+
* VisibilityTimeout?: int|null,
184+
* WaitTimeSeconds?: int|null,
185+
* ReceiveRequestAttemptId?: string|null,
186186
* '@region'?: string|null,
187187
* } $input
188188
*/
@@ -202,13 +202,13 @@ public function __construct(array $input = [])
202202
/**
203203
* @param array{
204204
* QueueUrl?: string,
205-
* AttributeNames?: null|array<MessageSystemAttributeName::*>,
206-
* MessageSystemAttributeNames?: null|array<MessageSystemAttributeName::*>,
207-
* MessageAttributeNames?: null|string[],
208-
* MaxNumberOfMessages?: null|int,
209-
* VisibilityTimeout?: null|int,
210-
* WaitTimeSeconds?: null|int,
211-
* ReceiveRequestAttemptId?: null|string,
205+
* AttributeNames?: array<MessageSystemAttributeName::*>|null,
206+
* MessageSystemAttributeNames?: array<MessageSystemAttributeName::*>|null,
207+
* MessageAttributeNames?: string[]|null,
208+
* MaxNumberOfMessages?: int|null,
209+
* VisibilityTimeout?: int|null,
210+
* WaitTimeSeconds?: int|null,
211+
* ReceiveRequestAttemptId?: string|null,
212212
* '@region'?: string|null,
213213
* }|ReceiveMessageRequest $input
214214
*/

src/Input/SendMessageRequest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ final class SendMessageRequest extends Input
163163
* @param array{
164164
* QueueUrl?: string,
165165
* MessageBody?: string,
166-
* DelaySeconds?: null|int,
167-
* MessageAttributes?: null|array<string, MessageAttributeValue|array>,
168-
* MessageSystemAttributes?: null|array<MessageSystemAttributeNameForSends::*, MessageSystemAttributeValue|array>,
169-
* MessageDeduplicationId?: null|string,
170-
* MessageGroupId?: null|string,
166+
* DelaySeconds?: int|null,
167+
* MessageAttributes?: array<string, MessageAttributeValue|array>|null,
168+
* MessageSystemAttributes?: array<MessageSystemAttributeNameForSends::*, MessageSystemAttributeValue|array>|null,
169+
* MessageDeduplicationId?: string|null,
170+
* MessageGroupId?: string|null,
171171
* '@region'?: string|null,
172172
* } $input
173173
*/
@@ -199,11 +199,11 @@ public function __construct(array $input = [])
199199
* @param array{
200200
* QueueUrl?: string,
201201
* MessageBody?: string,
202-
* DelaySeconds?: null|int,
203-
* MessageAttributes?: null|array<string, MessageAttributeValue|array>,
204-
* MessageSystemAttributes?: null|array<MessageSystemAttributeNameForSends::*, MessageSystemAttributeValue|array>,
205-
* MessageDeduplicationId?: null|string,
206-
* MessageGroupId?: null|string,
202+
* DelaySeconds?: int|null,
203+
* MessageAttributes?: array<string, MessageAttributeValue|array>|null,
204+
* MessageSystemAttributes?: array<MessageSystemAttributeNameForSends::*, MessageSystemAttributeValue|array>|null,
205+
* MessageDeduplicationId?: string|null,
206+
* MessageGroupId?: string|null,
207207
* '@region'?: string|null,
208208
* }|SendMessageRequest $input
209209
*/

src/SqsClient.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ public function changeMessageVisibilityBatch($input): ChangeMessageVisibilityBat
293293
*
294294
* @param array{
295295
* QueueName: string,
296-
* Attributes?: null|array<QueueAttributeName::*, string>,
297-
* tags?: null|array<string, string>,
296+
* Attributes?: array<QueueAttributeName::*, string>|null,
297+
* tags?: array<string, string>|null,
298298
* '@region'?: string|null,
299299
* }|CreateQueueRequest $input
300300
*
@@ -478,7 +478,7 @@ public function deleteQueue($input): Result
478478
*
479479
* @param array{
480480
* QueueUrl: string,
481-
* AttributeNames?: null|array<QueueAttributeName::*>,
481+
* AttributeNames?: array<QueueAttributeName::*>|null,
482482
* '@region'?: string|null,
483483
* }|GetQueueAttributesRequest $input
484484
*
@@ -520,7 +520,7 @@ public function getQueueAttributes($input): GetQueueAttributesResult
520520
*
521521
* @param array{
522522
* QueueName: string,
523-
* QueueOwnerAWSAccountId?: null|string,
523+
* QueueOwnerAWSAccountId?: string|null,
524524
* '@region'?: string|null,
525525
* }|GetQueueUrlRequest $input
526526
*
@@ -563,9 +563,9 @@ public function getQueueUrl($input): GetQueueUrlResult
563563
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-sqs-2012-11-05.html#listqueues
564564
*
565565
* @param array{
566-
* QueueNamePrefix?: null|string,
567-
* NextToken?: null|string,
568-
* MaxResults?: null|int,
566+
* QueueNamePrefix?: string|null,
567+
* NextToken?: string|null,
568+
* MaxResults?: int|null,
569569
* '@region'?: string|null,
570570
* }|ListQueuesRequest $input
571571
*
@@ -634,7 +634,7 @@ public function purgeQueue($input): Result
634634
*
635635
* @param array{
636636
* QueueName: string,
637-
* QueueOwnerAWSAccountId?: null|string,
637+
* QueueOwnerAWSAccountId?: string|null,
638638
* '@region'?: string|null,
639639
* }|GetQueueUrlRequest $input
640640
*/
@@ -690,13 +690,13 @@ public function queueExists($input): QueueExistsWaiter
690690
*
691691
* @param array{
692692
* QueueUrl: string,
693-
* AttributeNames?: null|array<MessageSystemAttributeName::*>,
694-
* MessageSystemAttributeNames?: null|array<MessageSystemAttributeName::*>,
695-
* MessageAttributeNames?: null|string[],
696-
* MaxNumberOfMessages?: null|int,
697-
* VisibilityTimeout?: null|int,
698-
* WaitTimeSeconds?: null|int,
699-
* ReceiveRequestAttemptId?: null|string,
693+
* AttributeNames?: array<MessageSystemAttributeName::*>|null,
694+
* MessageSystemAttributeNames?: array<MessageSystemAttributeName::*>|null,
695+
* MessageAttributeNames?: string[]|null,
696+
* MaxNumberOfMessages?: int|null,
697+
* VisibilityTimeout?: int|null,
698+
* WaitTimeSeconds?: int|null,
699+
* ReceiveRequestAttemptId?: string|null,
700700
* '@region'?: string|null,
701701
* }|ReceiveMessageRequest $input
702702
*
@@ -755,11 +755,11 @@ public function receiveMessage($input): ReceiveMessageResult
755755
* @param array{
756756
* QueueUrl: string,
757757
* MessageBody: string,
758-
* DelaySeconds?: null|int,
759-
* MessageAttributes?: null|array<string, MessageAttributeValue|array>,
760-
* MessageSystemAttributes?: null|array<MessageSystemAttributeNameForSends::*, MessageSystemAttributeValue|array>,
761-
* MessageDeduplicationId?: null|string,
762-
* MessageGroupId?: null|string,
758+
* DelaySeconds?: int|null,
759+
* MessageAttributes?: array<string, MessageAttributeValue|array>|null,
760+
* MessageSystemAttributes?: array<MessageSystemAttributeNameForSends::*, MessageSystemAttributeValue|array>|null,
761+
* MessageDeduplicationId?: string|null,
762+
* MessageGroupId?: string|null,
763763
* '@region'?: string|null,
764764
* }|SendMessageRequest $input
765765
*

src/ValueObject/BatchResultErrorEntry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class BatchResultErrorEntry
4242
* Id: string,
4343
* SenderFault: bool,
4444
* Code: string,
45-
* Message?: null|string,
45+
* Message?: string|null,
4646
* } $input
4747
*/
4848
public function __construct(array $input)
@@ -58,7 +58,7 @@ public function __construct(array $input)
5858
* Id: string,
5959
* SenderFault: bool,
6060
* Code: string,
61-
* Message?: null|string,
61+
* Message?: string|null,
6262
* }|BatchResultErrorEntry $input
6363
*/
6464
public static function create($input): self

src/ValueObject/ChangeMessageVisibilityBatchRequestEntry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class ChangeMessageVisibilityBatchRequestEntry
3939
* @param array{
4040
* Id: string,
4141
* ReceiptHandle: string,
42-
* VisibilityTimeout?: null|int,
42+
* VisibilityTimeout?: int|null,
4343
* } $input
4444
*/
4545
public function __construct(array $input)
@@ -53,7 +53,7 @@ public function __construct(array $input)
5353
* @param array{
5454
* Id: string,
5555
* ReceiptHandle: string,
56-
* VisibilityTimeout?: null|int,
56+
* VisibilityTimeout?: int|null,
5757
* }|ChangeMessageVisibilityBatchRequestEntry $input
5858
*/
5959
public static function create($input): self

0 commit comments

Comments
 (0)