Skip to content

Commit 2dc9f83

Browse files
committed
Update php-cs-fixer
1 parent 45657f8 commit 2dc9f83

File tree

307 files changed

+816
-511
lines changed

Some content is hidden

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

307 files changed

+816
-511
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
restore-keys: php-cs-fixer-
6666

6767
- name: PHP-CS-Fixer
68-
uses: docker://oskarstark/php-cs-fixer-ga:3.7.0
68+
uses: docker://oskarstark/php-cs-fixer-ga:3.13.0
6969
with:
7070
args: --dry-run --diff
7171

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.7.0",
20+
"friendsofphp/php-cs-fixer": "3.13.*",
2121
"illuminate/cache": "^6.18.13 || ^7.10 || ^8.0 || ^9.0",
2222
"illuminate/filesystem": "^6.18.13 || ^7.10 || ^8.0",
2323
"illuminate/mail": "^6.18.13 || ^7.10 || ^8.0",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ final class AssumeRoleRequest extends Input
130130
* SerialNumber?: string,
131131
* TokenCode?: string,
132132
* SourceIdentity?: string,
133+
*
133134
* @region?: string,
134135
* } $input
135136
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ final class AssumeRoleWithWebIdentityRequest extends Input
8787
* PolicyArns?: PolicyDescriptorType[],
8888
* Policy?: string,
8989
* DurationSeconds?: int,
90+
*
9091
* @region?: string,
9192
* } $input
9293
*/

src/Core/src/Sts/Input/GetCallerIdentityRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ final class GetCallerIdentityRequest extends Input
1010
{
1111
/**
1212
* @param array{
13+
*
1314
* @region?: string,
1415
* } $input
1516
*/

src/Core/src/Sts/StsClient.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class StsClient extends AbstractApi
4848
* SerialNumber?: string,
4949
* TokenCode?: string,
5050
* SourceIdentity?: string,
51+
*
5152
* @region?: string,
5253
* }|AssumeRoleRequest $input
5354
*
@@ -86,6 +87,7 @@ public function assumeRole($input): AssumeRoleResponse
8687
* PolicyArns?: PolicyDescriptorType[],
8788
* Policy?: string,
8889
* DurationSeconds?: int,
90+
*
8991
* @region?: string,
9092
* }|AssumeRoleWithWebIdentityRequest $input
9193
*
@@ -120,6 +122,7 @@ public function assumeRoleWithWebIdentity($input): AssumeRoleWithWebIdentityResp
120122
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-sts-2011-06-15.html#getcalleridentity
121123
*
122124
* @param array{
125+
*
123126
* @region?: string,
124127
* }|GetCallerIdentityRequest $input
125128
*/
@@ -215,7 +218,7 @@ protected function getEndpointMetadata(?string $region): array
215218
];
216219
}
217220

218-
return [
221+
return [
219222
'endpoint' => "https://sts.$region.amazonaws.com",
220223
'signRegion' => $region,
221224
'signService' => 'sts',

src/Core/tests/Unit/Stream/CallableStreamTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public function testChunk(callable $content, array $expected): void
4141

4242
public function provideLengths(): iterable
4343
{
44-
yield [(function () {
44+
yield [function () {
4545
return 'Hello world';
46-
}), null];
46+
}, null];
4747
}
4848

4949
public function provideStrings(): iterable

src/Service/AppSync/src/AppSyncClient.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class AppSyncClient extends AbstractApi
6767
* maxBatchSize?: int,
6868
* runtime?: AppSyncRuntime|array,
6969
* code?: string,
70+
*
7071
* @region?: string,
7172
* }|CreateResolverRequest $input
7273
*
@@ -100,6 +101,7 @@ public function createResolver($input): CreateResolverResponse
100101
* apiId: string,
101102
* typeName: string,
102103
* fieldName: string,
104+
*
103105
* @region?: string,
104106
* }|DeleteResolverRequest $input
105107
*
@@ -131,6 +133,7 @@ public function deleteResolver($input): DeleteResolverResponse
131133
*
132134
* @param array{
133135
* apiId: string,
136+
*
134137
* @region?: string,
135138
* }|GetSchemaCreationStatusRequest $input
136139
*
@@ -162,6 +165,7 @@ public function getSchemaCreationStatus($input): GetSchemaCreationStatusResponse
162165
* apiId: string,
163166
* nextToken?: string,
164167
* maxResults?: int,
168+
*
165169
* @region?: string,
166170
* }|ListApiKeysRequest $input
167171
*
@@ -194,6 +198,7 @@ public function listApiKeys($input): ListApiKeysResponse
194198
* typeName: string,
195199
* nextToken?: string,
196200
* maxResults?: int,
201+
*
197202
* @region?: string,
198203
* }|ListResolversRequest $input
199204
*
@@ -224,6 +229,7 @@ public function listResolvers($input): ListResolversResponse
224229
* @param array{
225230
* apiId: string,
226231
* definition: string,
232+
*
227233
* @region?: string,
228234
* }|StartSchemaCreationRequest $input
229235
*
@@ -258,6 +264,7 @@ public function startSchemaCreation($input): StartSchemaCreationResponse
258264
* id: string,
259265
* description?: string,
260266
* expires?: string,
267+
*
261268
* @region?: string,
262269
* }|UpdateApiKeyRequest $input
263270
*
@@ -301,6 +308,7 @@ public function updateApiKey($input): UpdateApiKeyResponse
301308
* openSearchServiceConfig?: OpenSearchServiceDataSourceConfig|array,
302309
* httpConfig?: HttpDataSourceConfig|array,
303310
* relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig|array,
311+
*
304312
* @region?: string,
305313
* }|UpdateDataSourceRequest $input
306314
*
@@ -344,6 +352,7 @@ public function updateDataSource($input): UpdateDataSourceResponse
344352
* maxBatchSize?: int,
345353
* runtime?: AppSyncRuntime|array,
346354
* code?: string,
355+
*
347356
* @region?: string,
348357
* }|UpdateResolverRequest $input
349358
*
@@ -389,7 +398,7 @@ protected function getEndpointMetadata(?string $region): array
389398
];
390399
}
391400

392-
return [
401+
return [
393402
'endpoint' => "https://appsync.$region.amazonaws.com",
394403
'signRegion' => $region,
395404
'signService' => 'appsync',

src/Service/AppSync/src/Input/CreateResolverRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ final class CreateResolverRequest extends Input
125125
* maxBatchSize?: int,
126126
* runtime?: AppSyncRuntime|array,
127127
* code?: string,
128+
*
128129
* @region?: string,
129130
* } $input
130131
*/

src/Service/AppSync/src/Input/DeleteResolverRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ final class DeleteResolverRequest extends Input
4141
* apiId?: string,
4242
* typeName?: string,
4343
* fieldName?: string,
44+
*
4445
* @region?: string,
4546
* } $input
4647
*/

0 commit comments

Comments
 (0)