Skip to content

Commit 00b3436

Browse files
authored
Bump php-cs-fixer to version 3.87.x (#1942)
1 parent 0b144cc commit 00b3436

14 files changed

+109
-105
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

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

711
### Changed

src/CodeCommitClient.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ class CodeCommitClient extends AbstractApi
8787
*
8888
* @param array{
8989
* repositoryName: string,
90-
* repositoryDescription?: null|string,
91-
* tags?: null|array<string, string>,
92-
* kmsKeyId?: null|string,
90+
* repositoryDescription?: string|null,
91+
* tags?: array<string, string>|null,
92+
* kmsKeyId?: string|null,
9393
* '@region'?: string|null,
9494
* }|CreateRepositoryInput $input
9595
*
@@ -228,8 +228,8 @@ public function getBlob($input): GetBlobOutput
228228
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-codecommit-2015-04-13.html#getbranch
229229
*
230230
* @param array{
231-
* repositoryName?: null|string,
232-
* branchName?: null|string,
231+
* repositoryName?: string|null,
232+
* branchName?: string|null,
233233
* '@region'?: string|null,
234234
* }|GetBranchInput $input
235235
*
@@ -318,12 +318,12 @@ public function getCommit($input): GetCommitOutput
318318
*
319319
* @param array{
320320
* repositoryName: string,
321-
* beforeCommitSpecifier?: null|string,
321+
* beforeCommitSpecifier?: string|null,
322322
* afterCommitSpecifier: string,
323-
* beforePath?: null|string,
324-
* afterPath?: null|string,
325-
* MaxResults?: null|int,
326-
* NextToken?: null|string,
323+
* beforePath?: string|null,
324+
* afterPath?: string|null,
325+
* MaxResults?: int|null,
326+
* NextToken?: string|null,
327327
* '@region'?: string|null,
328328
* }|GetDifferencesInput $input
329329
*
@@ -376,9 +376,9 @@ public function getDifferences($input): GetDifferencesOutput
376376
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-codecommit-2015-04-13.html#listrepositories
377377
*
378378
* @param array{
379-
* nextToken?: null|string,
380-
* sortBy?: null|SortByEnum::*,
381-
* order?: null|OrderEnum::*,
379+
* nextToken?: string|null,
380+
* sortBy?: SortByEnum::*|null,
381+
* order?: OrderEnum::*|null,
382382
* '@region'?: string|null,
383383
* }|ListRepositoriesInput $input
384384
*

src/Input/CreateRepositoryInput.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ final class CreateRepositoryInput extends Input
6363
/**
6464
* @param array{
6565
* repositoryName?: string,
66-
* repositoryDescription?: null|string,
67-
* tags?: null|array<string, string>,
68-
* kmsKeyId?: null|string,
66+
* repositoryDescription?: string|null,
67+
* tags?: array<string, string>|null,
68+
* kmsKeyId?: string|null,
6969
* '@region'?: string|null,
7070
* } $input
7171
*/
@@ -81,9 +81,9 @@ public function __construct(array $input = [])
8181
/**
8282
* @param array{
8383
* repositoryName?: string,
84-
* repositoryDescription?: null|string,
85-
* tags?: null|array<string, string>,
86-
* kmsKeyId?: null|string,
84+
* repositoryDescription?: string|null,
85+
* tags?: array<string, string>|null,
86+
* kmsKeyId?: string|null,
8787
* '@region'?: string|null,
8888
* }|CreateRepositoryInput $input
8989
*/

src/Input/GetBranchInput.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ final class GetBranchInput extends Input
2727

2828
/**
2929
* @param array{
30-
* repositoryName?: null|string,
31-
* branchName?: null|string,
30+
* repositoryName?: string|null,
31+
* branchName?: string|null,
3232
* '@region'?: string|null,
3333
* } $input
3434
*/
@@ -41,8 +41,8 @@ public function __construct(array $input = [])
4141

4242
/**
4343
* @param array{
44-
* repositoryName?: null|string,
45-
* branchName?: null|string,
44+
* repositoryName?: string|null,
45+
* branchName?: string|null,
4646
* '@region'?: string|null,
4747
* }|GetBranchInput $input
4848
*/

src/Input/GetDifferencesInput.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ final class GetDifferencesInput extends Input
7070
/**
7171
* @param array{
7272
* repositoryName?: string,
73-
* beforeCommitSpecifier?: null|string,
73+
* beforeCommitSpecifier?: string|null,
7474
* afterCommitSpecifier?: string,
75-
* beforePath?: null|string,
76-
* afterPath?: null|string,
77-
* MaxResults?: null|int,
78-
* NextToken?: null|string,
75+
* beforePath?: string|null,
76+
* afterPath?: string|null,
77+
* MaxResults?: int|null,
78+
* NextToken?: string|null,
7979
* '@region'?: string|null,
8080
* } $input
8181
*/
@@ -94,12 +94,12 @@ public function __construct(array $input = [])
9494
/**
9595
* @param array{
9696
* repositoryName?: string,
97-
* beforeCommitSpecifier?: null|string,
97+
* beforeCommitSpecifier?: string|null,
9898
* afterCommitSpecifier?: string,
99-
* beforePath?: null|string,
100-
* afterPath?: null|string,
101-
* MaxResults?: null|int,
102-
* NextToken?: null|string,
99+
* beforePath?: string|null,
100+
* afterPath?: string|null,
101+
* MaxResults?: int|null,
102+
* NextToken?: string|null,
103103
* '@region'?: string|null,
104104
* }|GetDifferencesInput $input
105105
*/

src/Input/ListRepositoriesInput.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ final class ListRepositoriesInput extends Input
3939

4040
/**
4141
* @param array{
42-
* nextToken?: null|string,
43-
* sortBy?: null|SortByEnum::*,
44-
* order?: null|OrderEnum::*,
42+
* nextToken?: string|null,
43+
* sortBy?: SortByEnum::*|null,
44+
* order?: OrderEnum::*|null,
4545
* '@region'?: string|null,
4646
* } $input
4747
*/
@@ -55,9 +55,9 @@ public function __construct(array $input = [])
5555

5656
/**
5757
* @param array{
58-
* nextToken?: null|string,
59-
* sortBy?: null|SortByEnum::*,
60-
* order?: null|OrderEnum::*,
58+
* nextToken?: string|null,
59+
* sortBy?: SortByEnum::*|null,
60+
* order?: OrderEnum::*|null,
6161
* '@region'?: string|null,
6262
* }|ListRepositoriesInput $input
6363
*/

src/ValueObject/BlobMetadata.php

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

3636
/**
3737
* @param array{
38-
* blobId?: null|string,
39-
* path?: null|string,
40-
* mode?: null|string,
38+
* blobId?: string|null,
39+
* path?: string|null,
40+
* mode?: string|null,
4141
* } $input
4242
*/
4343
public function __construct(array $input)
@@ -49,9 +49,9 @@ public function __construct(array $input)
4949

5050
/**
5151
* @param array{
52-
* blobId?: null|string,
53-
* path?: null|string,
54-
* mode?: null|string,
52+
* blobId?: string|null,
53+
* path?: string|null,
54+
* mode?: string|null,
5555
* }|BlobMetadata $input
5656
*/
5757
public static function create($input): self

src/ValueObject/BranchInfo.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ final class BranchInfo
2323

2424
/**
2525
* @param array{
26-
* branchName?: null|string,
27-
* commitId?: null|string,
26+
* branchName?: string|null,
27+
* commitId?: string|null,
2828
* } $input
2929
*/
3030
public function __construct(array $input)
@@ -35,8 +35,8 @@ public function __construct(array $input)
3535

3636
/**
3737
* @param array{
38-
* branchName?: null|string,
39-
* commitId?: null|string,
38+
* branchName?: string|null,
39+
* commitId?: string|null,
4040
* }|BranchInfo $input
4141
*/
4242
public static function create($input): self

src/ValueObject/Commit.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ final class Commit
6666

6767
/**
6868
* @param array{
69-
* commitId?: null|string,
70-
* treeId?: null|string,
71-
* parents?: null|string[],
72-
* message?: null|string,
73-
* author?: null|UserInfo|array,
74-
* committer?: null|UserInfo|array,
75-
* additionalData?: null|string,
69+
* commitId?: string|null,
70+
* treeId?: string|null,
71+
* parents?: string[]|null,
72+
* message?: string|null,
73+
* author?: UserInfo|array|null,
74+
* committer?: UserInfo|array|null,
75+
* additionalData?: string|null,
7676
* } $input
7777
*/
7878
public function __construct(array $input)
@@ -88,13 +88,13 @@ public function __construct(array $input)
8888

8989
/**
9090
* @param array{
91-
* commitId?: null|string,
92-
* treeId?: null|string,
93-
* parents?: null|string[],
94-
* message?: null|string,
95-
* author?: null|UserInfo|array,
96-
* committer?: null|UserInfo|array,
97-
* additionalData?: null|string,
91+
* commitId?: string|null,
92+
* treeId?: string|null,
93+
* parents?: string[]|null,
94+
* message?: string|null,
95+
* author?: UserInfo|array|null,
96+
* committer?: UserInfo|array|null,
97+
* additionalData?: string|null,
9898
* }|Commit $input
9999
*/
100100
public static function create($input): self

src/ValueObject/Difference.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ final class Difference
3232

3333
/**
3434
* @param array{
35-
* beforeBlob?: null|BlobMetadata|array,
36-
* afterBlob?: null|BlobMetadata|array,
37-
* changeType?: null|ChangeTypeEnum::*,
35+
* beforeBlob?: BlobMetadata|array|null,
36+
* afterBlob?: BlobMetadata|array|null,
37+
* changeType?: ChangeTypeEnum::*|null,
3838
* } $input
3939
*/
4040
public function __construct(array $input)
@@ -46,9 +46,9 @@ public function __construct(array $input)
4646

4747
/**
4848
* @param array{
49-
* beforeBlob?: null|BlobMetadata|array,
50-
* afterBlob?: null|BlobMetadata|array,
51-
* changeType?: null|ChangeTypeEnum::*,
49+
* beforeBlob?: BlobMetadata|array|null,
50+
* afterBlob?: BlobMetadata|array|null,
51+
* changeType?: ChangeTypeEnum::*|null,
5252
* }|Difference $input
5353
*/
5454
public static function create($input): self

0 commit comments

Comments
 (0)