Skip to content

Commit 8a2dd3f

Browse files
committed
Bump php-cs-fixer to version 3.87.x
1 parent 6997695 commit 8a2dd3f

File tree

920 files changed

+9135
-8959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

920 files changed

+9135
-8959
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"symfony/service-contracts": "^1.0 || ^2.0 || ^3.0"
1818
},
1919
"require-dev": {
20-
"friendsofphp/php-cs-fixer": "~3.64.0",
20+
"friendsofphp/php-cs-fixer": "~3.87.0",
2121
"illuminate/cache": "^6.18.13 || ^7.10 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
2222
"illuminate/queue": "^6.18.11 || ^7.10 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
2323
"illuminate/support": "^6.18.13 || ^7.10 || ^8.0 || ^9.0 || ^10.0 || ^11.0",

src/CodeGenerator/src/Command/GenerateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ private function getServiceNames(?string $inputServiceName, bool $returnAll, Sym
375375

376376
/**
377377
* @param array{operations: array<string, mixed>,...} $definition
378-
* @param array{waiters: array<string, mixed>} $waiter
379-
* @param array{methods: list<string>,...} $manifest
378+
* @param array{waiters: array<string, mixed>} $waiter
379+
* @param array{methods: list<string>,...} $manifest
380380
*
381381
* @return string[]|int
382382
*/

src/Core/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- Apply no CodingStandard from latest php-cs-fixer.
8+
59
## 1.27.1
610

711
### Fixed
812

9-
- SignerV4: fix sort of query parameters to build correct canoncal query string
13+
- SignerV4: fix sort of query parameters to build correct canoncal query string
1014

1115
## 1.27.0
1216

src/Core/src/RequestContext.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ final class RequestContext
5959

6060
/**
6161
* @param array{
62-
* operation?: null|string,
63-
* region?: null|string,
64-
* expirationDate?: null|\DateTimeImmutable,
65-
* currentDate?: null|\DateTimeImmutable,
62+
* operation?: string|null,
63+
* region?: string|null,
64+
* expirationDate?: \DateTimeImmutable|null,
65+
* currentDate?: \DateTimeImmutable|null,
6666
* exceptionMapping?: array<string, class-string<HttpException>>,
6767
* usesEndpointDiscovery?: bool,
6868
* requiresEndpointDiscovery?: bool,

src/Core/src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ final public static function wait(iterable $responses, ?float $timeout = null, b
288288
* @return array{
289289
* resolved: bool,
290290
* body_downloaded: bool,
291-
* response: \Symfony\Contracts\HttpClient\ResponseInterface,
291+
* response: ResponseInterface,
292292
* status: int,
293293
* }
294294
*/

src/Core/src/Sts/Input/AssumeRoleRequest.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -258,16 +258,16 @@ final class AssumeRoleRequest extends Input
258258
* @param array{
259259
* RoleArn?: string,
260260
* RoleSessionName?: string,
261-
* PolicyArns?: null|array<PolicyDescriptorType|array>,
262-
* Policy?: null|string,
263-
* DurationSeconds?: null|int,
264-
* Tags?: null|array<Tag|array>,
265-
* TransitiveTagKeys?: null|string[],
266-
* ExternalId?: null|string,
267-
* SerialNumber?: null|string,
268-
* TokenCode?: null|string,
269-
* SourceIdentity?: null|string,
270-
* ProvidedContexts?: null|array<ProvidedContext|array>,
261+
* PolicyArns?: array<PolicyDescriptorType|array>|null,
262+
* Policy?: string|null,
263+
* DurationSeconds?: int|null,
264+
* Tags?: array<Tag|array>|null,
265+
* TransitiveTagKeys?: string[]|null,
266+
* ExternalId?: string|null,
267+
* SerialNumber?: string|null,
268+
* TokenCode?: string|null,
269+
* SourceIdentity?: string|null,
270+
* ProvidedContexts?: array<ProvidedContext|array>|null,
271271
* '@region'?: string|null,
272272
* } $input
273273
*/
@@ -292,16 +292,16 @@ public function __construct(array $input = [])
292292
* @param array{
293293
* RoleArn?: string,
294294
* RoleSessionName?: string,
295-
* PolicyArns?: null|array<PolicyDescriptorType|array>,
296-
* Policy?: null|string,
297-
* DurationSeconds?: null|int,
298-
* Tags?: null|array<Tag|array>,
299-
* TransitiveTagKeys?: null|string[],
300-
* ExternalId?: null|string,
301-
* SerialNumber?: null|string,
302-
* TokenCode?: null|string,
303-
* SourceIdentity?: null|string,
304-
* ProvidedContexts?: null|array<ProvidedContext|array>,
295+
* PolicyArns?: array<PolicyDescriptorType|array>|null,
296+
* Policy?: string|null,
297+
* DurationSeconds?: int|null,
298+
* Tags?: array<Tag|array>|null,
299+
* TransitiveTagKeys?: string[]|null,
300+
* ExternalId?: string|null,
301+
* SerialNumber?: string|null,
302+
* TokenCode?: string|null,
303+
* SourceIdentity?: string|null,
304+
* ProvidedContexts?: array<ProvidedContext|array>|null,
305305
* '@region'?: string|null,
306306
* }|AssumeRoleRequest $input
307307
*/

src/Core/src/Sts/Input/AssumeRoleWithWebIdentityRequest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ final class AssumeRoleWithWebIdentityRequest extends Input
156156
* RoleArn?: string,
157157
* RoleSessionName?: string,
158158
* WebIdentityToken?: string,
159-
* ProviderId?: null|string,
160-
* PolicyArns?: null|array<PolicyDescriptorType|array>,
161-
* Policy?: null|string,
162-
* DurationSeconds?: null|int,
159+
* ProviderId?: string|null,
160+
* PolicyArns?: array<PolicyDescriptorType|array>|null,
161+
* Policy?: string|null,
162+
* DurationSeconds?: int|null,
163163
* '@region'?: string|null,
164164
* } $input
165165
*/
@@ -180,10 +180,10 @@ public function __construct(array $input = [])
180180
* RoleArn?: string,
181181
* RoleSessionName?: string,
182182
* WebIdentityToken?: string,
183-
* ProviderId?: null|string,
184-
* PolicyArns?: null|array<PolicyDescriptorType|array>,
185-
* Policy?: null|string,
186-
* DurationSeconds?: null|int,
183+
* ProviderId?: string|null,
184+
* PolicyArns?: array<PolicyDescriptorType|array>|null,
185+
* Policy?: string|null,
186+
* DurationSeconds?: int|null,
187187
* '@region'?: string|null,
188188
* }|AssumeRoleWithWebIdentityRequest $input
189189
*/

src/Core/src/Sts/StsClient.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ class StsClient extends AbstractApi
112112
* @param array{
113113
* RoleArn: string,
114114
* RoleSessionName: string,
115-
* PolicyArns?: null|array<PolicyDescriptorType|array>,
116-
* Policy?: null|string,
117-
* DurationSeconds?: null|int,
118-
* Tags?: null|array<Tag|array>,
119-
* TransitiveTagKeys?: null|string[],
120-
* ExternalId?: null|string,
121-
* SerialNumber?: null|string,
122-
* TokenCode?: null|string,
123-
* SourceIdentity?: null|string,
124-
* ProvidedContexts?: null|array<ProvidedContext|array>,
115+
* PolicyArns?: array<PolicyDescriptorType|array>|null,
116+
* Policy?: string|null,
117+
* DurationSeconds?: int|null,
118+
* Tags?: array<Tag|array>|null,
119+
* TransitiveTagKeys?: string[]|null,
120+
* ExternalId?: string|null,
121+
* SerialNumber?: string|null,
122+
* TokenCode?: string|null,
123+
* SourceIdentity?: string|null,
124+
* ProvidedContexts?: array<ProvidedContext|array>|null,
125125
* '@region'?: string|null,
126126
* }|AssumeRoleRequest $input
127127
*
@@ -266,10 +266,10 @@ public function assumeRole($input): AssumeRoleResponse
266266
* RoleArn: string,
267267
* RoleSessionName: string,
268268
* WebIdentityToken: string,
269-
* ProviderId?: null|string,
270-
* PolicyArns?: null|array<PolicyDescriptorType|array>,
271-
* Policy?: null|string,
272-
* DurationSeconds?: null|int,
269+
* ProviderId?: string|null,
270+
* PolicyArns?: array<PolicyDescriptorType|array>|null,
271+
* Policy?: string|null,
272+
* DurationSeconds?: int|null,
273273
* '@region'?: string|null,
274274
* }|AssumeRoleWithWebIdentityRequest $input
275275
*

src/Core/src/Sts/ValueObject/PolicyDescriptorType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class PolicyDescriptorType
2121

2222
/**
2323
* @param array{
24-
* arn?: null|string,
24+
* arn?: string|null,
2525
* } $input
2626
*/
2727
public function __construct(array $input)
@@ -31,7 +31,7 @@ public function __construct(array $input)
3131

3232
/**
3333
* @param array{
34-
* arn?: null|string,
34+
* arn?: string|null,
3535
* }|PolicyDescriptorType $input
3636
*/
3737
public static function create($input): self

src/Core/src/Sts/ValueObject/ProvidedContext.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ final class ProvidedContext
2525

2626
/**
2727
* @param array{
28-
* ProviderArn?: null|string,
29-
* ContextAssertion?: null|string,
28+
* ProviderArn?: string|null,
29+
* ContextAssertion?: string|null,
3030
* } $input
3131
*/
3232
public function __construct(array $input)
@@ -37,8 +37,8 @@ public function __construct(array $input)
3737

3838
/**
3939
* @param array{
40-
* ProviderArn?: null|string,
41-
* ContextAssertion?: null|string,
40+
* ProviderArn?: string|null,
41+
* ContextAssertion?: string|null,
4242
* }|ProvidedContext $input
4343
*/
4444
public static function create($input): self

0 commit comments

Comments
 (0)