Skip to content

Commit 255a957

Browse files
authored
Bump php-cs-fixer to version 3.87.x (#1942)
1 parent 41cb562 commit 255a957

File tree

8 files changed

+74
-70
lines changed

8 files changed

+74
-70
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
## 2.3.1
610

711
### Changed

src/Input/GetParameterRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class GetParameterRequest extends Input
3737
/**
3838
* @param array{
3939
* Name?: string,
40-
* WithDecryption?: null|bool,
40+
* WithDecryption?: bool|null,
4141
* '@region'?: string|null,
4242
* } $input
4343
*/
@@ -51,7 +51,7 @@ public function __construct(array $input = [])
5151
/**
5252
* @param array{
5353
* Name?: string,
54-
* WithDecryption?: null|bool,
54+
* WithDecryption?: bool|null,
5555
* '@region'?: string|null,
5656
* }|GetParameterRequest $input
5757
*/

src/Input/GetParametersByPathRequest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ final class GetParametersByPathRequest extends Input
7171
/**
7272
* @param array{
7373
* Path?: string,
74-
* Recursive?: null|bool,
75-
* ParameterFilters?: null|array<ParameterStringFilter|array>,
76-
* WithDecryption?: null|bool,
77-
* MaxResults?: null|int,
78-
* NextToken?: null|string,
74+
* Recursive?: bool|null,
75+
* ParameterFilters?: array<ParameterStringFilter|array>|null,
76+
* WithDecryption?: bool|null,
77+
* MaxResults?: int|null,
78+
* NextToken?: string|null,
7979
* '@region'?: string|null,
8080
* } $input
8181
*/
@@ -93,11 +93,11 @@ public function __construct(array $input = [])
9393
/**
9494
* @param array{
9595
* Path?: string,
96-
* Recursive?: null|bool,
97-
* ParameterFilters?: null|array<ParameterStringFilter|array>,
98-
* WithDecryption?: null|bool,
99-
* MaxResults?: null|int,
100-
* NextToken?: null|string,
96+
* Recursive?: bool|null,
97+
* ParameterFilters?: array<ParameterStringFilter|array>|null,
98+
* WithDecryption?: bool|null,
99+
* MaxResults?: int|null,
100+
* NextToken?: string|null,
101101
* '@region'?: string|null,
102102
* }|GetParametersByPathRequest $input
103103
*/

src/Input/GetParametersRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class GetParametersRequest extends Input
3939
/**
4040
* @param array{
4141
* Names?: string[],
42-
* WithDecryption?: null|bool,
42+
* WithDecryption?: bool|null,
4343
* '@region'?: string|null,
4444
* } $input
4545
*/
@@ -53,7 +53,7 @@ public function __construct(array $input = [])
5353
/**
5454
* @param array{
5555
* Names?: string[],
56-
* WithDecryption?: null|bool,
56+
* WithDecryption?: bool|null,
5757
* '@region'?: string|null,
5858
* }|GetParametersRequest $input
5959
*/

src/Input/PutParameterRequest.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -250,16 +250,16 @@ final class PutParameterRequest extends Input
250250
/**
251251
* @param array{
252252
* Name?: string,
253-
* Description?: null|string,
253+
* Description?: string|null,
254254
* Value?: string,
255-
* Type?: null|ParameterType::*,
256-
* KeyId?: null|string,
257-
* Overwrite?: null|bool,
258-
* AllowedPattern?: null|string,
259-
* Tags?: null|array<Tag|array>,
260-
* Tier?: null|ParameterTier::*,
261-
* Policies?: null|string,
262-
* DataType?: null|string,
255+
* Type?: ParameterType::*|null,
256+
* KeyId?: string|null,
257+
* Overwrite?: bool|null,
258+
* AllowedPattern?: string|null,
259+
* Tags?: array<Tag|array>|null,
260+
* Tier?: ParameterTier::*|null,
261+
* Policies?: string|null,
262+
* DataType?: string|null,
263263
* '@region'?: string|null,
264264
* } $input
265265
*/
@@ -282,16 +282,16 @@ public function __construct(array $input = [])
282282
/**
283283
* @param array{
284284
* Name?: string,
285-
* Description?: null|string,
285+
* Description?: string|null,
286286
* Value?: string,
287-
* Type?: null|ParameterType::*,
288-
* KeyId?: null|string,
289-
* Overwrite?: null|bool,
290-
* AllowedPattern?: null|string,
291-
* Tags?: null|array<Tag|array>,
292-
* Tier?: null|ParameterTier::*,
293-
* Policies?: null|string,
294-
* DataType?: null|string,
287+
* Type?: ParameterType::*|null,
288+
* KeyId?: string|null,
289+
* Overwrite?: bool|null,
290+
* AllowedPattern?: string|null,
291+
* Tags?: array<Tag|array>|null,
292+
* Tier?: ParameterTier::*|null,
293+
* Policies?: string|null,
294+
* DataType?: string|null,
295295
* '@region'?: string|null,
296296
* }|PutParameterRequest $input
297297
*/

src/SsmClient.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function deleteParameters($input): DeleteParametersResult
112112
*
113113
* @param array{
114114
* Name: string,
115-
* WithDecryption?: null|bool,
115+
* WithDecryption?: bool|null,
116116
* '@region'?: string|null,
117117
* }|GetParameterRequest $input
118118
*
@@ -148,7 +148,7 @@ public function getParameter($input): GetParameterResult
148148
*
149149
* @param array{
150150
* Names: string[],
151-
* WithDecryption?: null|bool,
151+
* WithDecryption?: bool|null,
152152
* '@region'?: string|null,
153153
* }|GetParametersRequest $input
154154
*
@@ -184,11 +184,11 @@ public function getParameters($input): GetParametersResult
184184
*
185185
* @param array{
186186
* Path: string,
187-
* Recursive?: null|bool,
188-
* ParameterFilters?: null|array<ParameterStringFilter|array>,
189-
* WithDecryption?: null|bool,
190-
* MaxResults?: null|int,
191-
* NextToken?: null|string,
187+
* Recursive?: bool|null,
188+
* ParameterFilters?: array<ParameterStringFilter|array>|null,
189+
* WithDecryption?: bool|null,
190+
* MaxResults?: int|null,
191+
* NextToken?: string|null,
192192
* '@region'?: string|null,
193193
* }|GetParametersByPathRequest $input
194194
*
@@ -222,16 +222,16 @@ public function getParametersByPath($input): GetParametersByPathResult
222222
*
223223
* @param array{
224224
* Name: string,
225-
* Description?: null|string,
225+
* Description?: string|null,
226226
* Value: string,
227-
* Type?: null|ParameterType::*,
228-
* KeyId?: null|string,
229-
* Overwrite?: null|bool,
230-
* AllowedPattern?: null|string,
231-
* Tags?: null|array<Tag|array>,
232-
* Tier?: null|ParameterTier::*,
233-
* Policies?: null|string,
234-
* DataType?: null|string,
227+
* Type?: ParameterType::*|null,
228+
* KeyId?: string|null,
229+
* Overwrite?: bool|null,
230+
* AllowedPattern?: string|null,
231+
* Tags?: array<Tag|array>|null,
232+
* Tier?: ParameterTier::*|null,
233+
* Policies?: string|null,
234+
* DataType?: string|null,
235235
* '@region'?: string|null,
236236
* }|PutParameterRequest $input
237237
*

src/ValueObject/Parameter.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ final class Parameter
8686

8787
/**
8888
* @param array{
89-
* Name?: null|string,
90-
* Type?: null|ParameterType::*,
91-
* Value?: null|string,
92-
* Version?: null|int,
93-
* Selector?: null|string,
94-
* SourceResult?: null|string,
95-
* LastModifiedDate?: null|\DateTimeImmutable,
96-
* ARN?: null|string,
97-
* DataType?: null|string,
89+
* Name?: string|null,
90+
* Type?: ParameterType::*|null,
91+
* Value?: string|null,
92+
* Version?: int|null,
93+
* Selector?: string|null,
94+
* SourceResult?: string|null,
95+
* LastModifiedDate?: \DateTimeImmutable|null,
96+
* ARN?: string|null,
97+
* DataType?: string|null,
9898
* } $input
9999
*/
100100
public function __construct(array $input)
@@ -112,15 +112,15 @@ public function __construct(array $input)
112112

113113
/**
114114
* @param array{
115-
* Name?: null|string,
116-
* Type?: null|ParameterType::*,
117-
* Value?: null|string,
118-
* Version?: null|int,
119-
* Selector?: null|string,
120-
* SourceResult?: null|string,
121-
* LastModifiedDate?: null|\DateTimeImmutable,
122-
* ARN?: null|string,
123-
* DataType?: null|string,
115+
* Name?: string|null,
116+
* Type?: ParameterType::*|null,
117+
* Value?: string|null,
118+
* Version?: int|null,
119+
* Selector?: string|null,
120+
* SourceResult?: string|null,
121+
* LastModifiedDate?: \DateTimeImmutable|null,
122+
* ARN?: string|null,
123+
* DataType?: string|null,
124124
* }|Parameter $input
125125
*/
126126
public static function create($input): self

src/ValueObject/ParameterStringFilter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ final class ParameterStringFilter
5151
/**
5252
* @param array{
5353
* Key: string,
54-
* Option?: null|string,
55-
* Values?: null|string[],
54+
* Option?: string|null,
55+
* Values?: string[]|null,
5656
* } $input
5757
*/
5858
public function __construct(array $input)
@@ -65,8 +65,8 @@ public function __construct(array $input)
6565
/**
6666
* @param array{
6767
* Key: string,
68-
* Option?: null|string,
69-
* Values?: null|string[],
68+
* Option?: string|null,
69+
* Values?: string[]|null,
7070
* }|ParameterStringFilter $input
7171
*/
7272
public static function create($input): self

0 commit comments

Comments
 (0)