Skip to content

Commit 01385df

Browse files
authored
Bump php-cs-fixer to version 3.87.x (#1942)
1 parent 01486c0 commit 01385df

17 files changed

+173
-169
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.4.0
610

711
### Added

src/ElastiCacheClient.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class ElastiCacheClient extends AbstractApi
3939
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-elasticache-2015-02-02.html#describecacheclusters
4040
*
4141
* @param array{
42-
* CacheClusterId?: null|string,
43-
* MaxRecords?: null|int,
44-
* Marker?: null|string,
45-
* ShowCacheNodeInfo?: null|bool,
46-
* ShowCacheClustersNotInReplicationGroups?: null|bool,
42+
* CacheClusterId?: string|null,
43+
* MaxRecords?: int|null,
44+
* Marker?: string|null,
45+
* ShowCacheNodeInfo?: bool|null,
46+
* ShowCacheClustersNotInReplicationGroups?: bool|null,
4747
* '@region'?: string|null,
4848
* }|DescribeCacheClustersMessage $input
4949
*

src/Input/DescribeCacheClustersMessage.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ final class DescribeCacheClustersMessage extends Input
5959

6060
/**
6161
* @param array{
62-
* CacheClusterId?: null|string,
63-
* MaxRecords?: null|int,
64-
* Marker?: null|string,
65-
* ShowCacheNodeInfo?: null|bool,
66-
* ShowCacheClustersNotInReplicationGroups?: null|bool,
62+
* CacheClusterId?: string|null,
63+
* MaxRecords?: int|null,
64+
* Marker?: string|null,
65+
* ShowCacheNodeInfo?: bool|null,
66+
* ShowCacheClustersNotInReplicationGroups?: bool|null,
6767
* '@region'?: string|null,
6868
* } $input
6969
*/
@@ -79,11 +79,11 @@ public function __construct(array $input = [])
7979

8080
/**
8181
* @param array{
82-
* CacheClusterId?: null|string,
83-
* MaxRecords?: null|int,
84-
* Marker?: null|string,
85-
* ShowCacheNodeInfo?: null|bool,
86-
* ShowCacheClustersNotInReplicationGroups?: null|bool,
82+
* CacheClusterId?: string|null,
83+
* MaxRecords?: int|null,
84+
* Marker?: string|null,
85+
* ShowCacheNodeInfo?: bool|null,
86+
* ShowCacheClustersNotInReplicationGroups?: bool|null,
8787
* '@region'?: string|null,
8888
* }|DescribeCacheClustersMessage $input
8989
*/

src/ValueObject/CacheCluster.php

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -374,39 +374,39 @@ final class CacheCluster
374374

375375
/**
376376
* @param array{
377-
* CacheClusterId?: null|string,
378-
* ConfigurationEndpoint?: null|Endpoint|array,
379-
* ClientDownloadLandingPage?: null|string,
380-
* CacheNodeType?: null|string,
381-
* Engine?: null|string,
382-
* EngineVersion?: null|string,
383-
* CacheClusterStatus?: null|string,
384-
* NumCacheNodes?: null|int,
385-
* PreferredAvailabilityZone?: null|string,
386-
* PreferredOutpostArn?: null|string,
387-
* CacheClusterCreateTime?: null|\DateTimeImmutable,
388-
* PreferredMaintenanceWindow?: null|string,
389-
* PendingModifiedValues?: null|PendingModifiedValues|array,
390-
* NotificationConfiguration?: null|NotificationConfiguration|array,
391-
* CacheSecurityGroups?: null|array<CacheSecurityGroupMembership|array>,
392-
* CacheParameterGroup?: null|CacheParameterGroupStatus|array,
393-
* CacheSubnetGroupName?: null|string,
394-
* CacheNodes?: null|array<CacheNode|array>,
395-
* AutoMinorVersionUpgrade?: null|bool,
396-
* SecurityGroups?: null|array<SecurityGroupMembership|array>,
397-
* ReplicationGroupId?: null|string,
398-
* SnapshotRetentionLimit?: null|int,
399-
* SnapshotWindow?: null|string,
400-
* AuthTokenEnabled?: null|bool,
401-
* AuthTokenLastModifiedDate?: null|\DateTimeImmutable,
402-
* TransitEncryptionEnabled?: null|bool,
403-
* AtRestEncryptionEnabled?: null|bool,
404-
* ARN?: null|string,
405-
* ReplicationGroupLogDeliveryEnabled?: null|bool,
406-
* LogDeliveryConfigurations?: null|array<LogDeliveryConfiguration|array>,
407-
* NetworkType?: null|NetworkType::*,
408-
* IpDiscovery?: null|IpDiscovery::*,
409-
* TransitEncryptionMode?: null|TransitEncryptionMode::*,
377+
* CacheClusterId?: string|null,
378+
* ConfigurationEndpoint?: Endpoint|array|null,
379+
* ClientDownloadLandingPage?: string|null,
380+
* CacheNodeType?: string|null,
381+
* Engine?: string|null,
382+
* EngineVersion?: string|null,
383+
* CacheClusterStatus?: string|null,
384+
* NumCacheNodes?: int|null,
385+
* PreferredAvailabilityZone?: string|null,
386+
* PreferredOutpostArn?: string|null,
387+
* CacheClusterCreateTime?: \DateTimeImmutable|null,
388+
* PreferredMaintenanceWindow?: string|null,
389+
* PendingModifiedValues?: PendingModifiedValues|array|null,
390+
* NotificationConfiguration?: NotificationConfiguration|array|null,
391+
* CacheSecurityGroups?: array<CacheSecurityGroupMembership|array>|null,
392+
* CacheParameterGroup?: CacheParameterGroupStatus|array|null,
393+
* CacheSubnetGroupName?: string|null,
394+
* CacheNodes?: array<CacheNode|array>|null,
395+
* AutoMinorVersionUpgrade?: bool|null,
396+
* SecurityGroups?: array<SecurityGroupMembership|array>|null,
397+
* ReplicationGroupId?: string|null,
398+
* SnapshotRetentionLimit?: int|null,
399+
* SnapshotWindow?: string|null,
400+
* AuthTokenEnabled?: bool|null,
401+
* AuthTokenLastModifiedDate?: \DateTimeImmutable|null,
402+
* TransitEncryptionEnabled?: bool|null,
403+
* AtRestEncryptionEnabled?: bool|null,
404+
* ARN?: string|null,
405+
* ReplicationGroupLogDeliveryEnabled?: bool|null,
406+
* LogDeliveryConfigurations?: array<LogDeliveryConfiguration|array>|null,
407+
* NetworkType?: NetworkType::*|null,
408+
* IpDiscovery?: IpDiscovery::*|null,
409+
* TransitEncryptionMode?: TransitEncryptionMode::*|null,
410410
* } $input
411411
*/
412412
public function __construct(array $input)
@@ -448,39 +448,39 @@ public function __construct(array $input)
448448

449449
/**
450450
* @param array{
451-
* CacheClusterId?: null|string,
452-
* ConfigurationEndpoint?: null|Endpoint|array,
453-
* ClientDownloadLandingPage?: null|string,
454-
* CacheNodeType?: null|string,
455-
* Engine?: null|string,
456-
* EngineVersion?: null|string,
457-
* CacheClusterStatus?: null|string,
458-
* NumCacheNodes?: null|int,
459-
* PreferredAvailabilityZone?: null|string,
460-
* PreferredOutpostArn?: null|string,
461-
* CacheClusterCreateTime?: null|\DateTimeImmutable,
462-
* PreferredMaintenanceWindow?: null|string,
463-
* PendingModifiedValues?: null|PendingModifiedValues|array,
464-
* NotificationConfiguration?: null|NotificationConfiguration|array,
465-
* CacheSecurityGroups?: null|array<CacheSecurityGroupMembership|array>,
466-
* CacheParameterGroup?: null|CacheParameterGroupStatus|array,
467-
* CacheSubnetGroupName?: null|string,
468-
* CacheNodes?: null|array<CacheNode|array>,
469-
* AutoMinorVersionUpgrade?: null|bool,
470-
* SecurityGroups?: null|array<SecurityGroupMembership|array>,
471-
* ReplicationGroupId?: null|string,
472-
* SnapshotRetentionLimit?: null|int,
473-
* SnapshotWindow?: null|string,
474-
* AuthTokenEnabled?: null|bool,
475-
* AuthTokenLastModifiedDate?: null|\DateTimeImmutable,
476-
* TransitEncryptionEnabled?: null|bool,
477-
* AtRestEncryptionEnabled?: null|bool,
478-
* ARN?: null|string,
479-
* ReplicationGroupLogDeliveryEnabled?: null|bool,
480-
* LogDeliveryConfigurations?: null|array<LogDeliveryConfiguration|array>,
481-
* NetworkType?: null|NetworkType::*,
482-
* IpDiscovery?: null|IpDiscovery::*,
483-
* TransitEncryptionMode?: null|TransitEncryptionMode::*,
451+
* CacheClusterId?: string|null,
452+
* ConfigurationEndpoint?: Endpoint|array|null,
453+
* ClientDownloadLandingPage?: string|null,
454+
* CacheNodeType?: string|null,
455+
* Engine?: string|null,
456+
* EngineVersion?: string|null,
457+
* CacheClusterStatus?: string|null,
458+
* NumCacheNodes?: int|null,
459+
* PreferredAvailabilityZone?: string|null,
460+
* PreferredOutpostArn?: string|null,
461+
* CacheClusterCreateTime?: \DateTimeImmutable|null,
462+
* PreferredMaintenanceWindow?: string|null,
463+
* PendingModifiedValues?: PendingModifiedValues|array|null,
464+
* NotificationConfiguration?: NotificationConfiguration|array|null,
465+
* CacheSecurityGroups?: array<CacheSecurityGroupMembership|array>|null,
466+
* CacheParameterGroup?: CacheParameterGroupStatus|array|null,
467+
* CacheSubnetGroupName?: string|null,
468+
* CacheNodes?: array<CacheNode|array>|null,
469+
* AutoMinorVersionUpgrade?: bool|null,
470+
* SecurityGroups?: array<SecurityGroupMembership|array>|null,
471+
* ReplicationGroupId?: string|null,
472+
* SnapshotRetentionLimit?: int|null,
473+
* SnapshotWindow?: string|null,
474+
* AuthTokenEnabled?: bool|null,
475+
* AuthTokenLastModifiedDate?: \DateTimeImmutable|null,
476+
* TransitEncryptionEnabled?: bool|null,
477+
* AtRestEncryptionEnabled?: bool|null,
478+
* ARN?: string|null,
479+
* ReplicationGroupLogDeliveryEnabled?: bool|null,
480+
* LogDeliveryConfigurations?: array<LogDeliveryConfiguration|array>|null,
481+
* NetworkType?: NetworkType::*|null,
482+
* IpDiscovery?: IpDiscovery::*|null,
483+
* TransitEncryptionMode?: TransitEncryptionMode::*|null,
484484
* }|CacheCluster $input
485485
*/
486486
public static function create($input): self

src/ValueObject/CacheNode.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,14 @@ final class CacheNode
150150

151151
/**
152152
* @param array{
153-
* CacheNodeId?: null|string,
154-
* CacheNodeStatus?: null|string,
155-
* CacheNodeCreateTime?: null|\DateTimeImmutable,
156-
* Endpoint?: null|Endpoint|array,
157-
* ParameterGroupStatus?: null|string,
158-
* SourceCacheNodeId?: null|string,
159-
* CustomerAvailabilityZone?: null|string,
160-
* CustomerOutpostArn?: null|string,
153+
* CacheNodeId?: string|null,
154+
* CacheNodeStatus?: string|null,
155+
* CacheNodeCreateTime?: \DateTimeImmutable|null,
156+
* Endpoint?: Endpoint|array|null,
157+
* ParameterGroupStatus?: string|null,
158+
* SourceCacheNodeId?: string|null,
159+
* CustomerAvailabilityZone?: string|null,
160+
* CustomerOutpostArn?: string|null,
161161
* } $input
162162
*/
163163
public function __construct(array $input)
@@ -174,14 +174,14 @@ public function __construct(array $input)
174174

175175
/**
176176
* @param array{
177-
* CacheNodeId?: null|string,
178-
* CacheNodeStatus?: null|string,
179-
* CacheNodeCreateTime?: null|\DateTimeImmutable,
180-
* Endpoint?: null|Endpoint|array,
181-
* ParameterGroupStatus?: null|string,
182-
* SourceCacheNodeId?: null|string,
183-
* CustomerAvailabilityZone?: null|string,
184-
* CustomerOutpostArn?: null|string,
177+
* CacheNodeId?: string|null,
178+
* CacheNodeStatus?: string|null,
179+
* CacheNodeCreateTime?: \DateTimeImmutable|null,
180+
* Endpoint?: Endpoint|array|null,
181+
* ParameterGroupStatus?: string|null,
182+
* SourceCacheNodeId?: string|null,
183+
* CustomerAvailabilityZone?: string|null,
184+
* CustomerOutpostArn?: string|null,
185185
* }|CacheNode $input
186186
*/
187187
public static function create($input): self

src/ValueObject/CacheParameterGroupStatus.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ final class CacheParameterGroupStatus
3131

3232
/**
3333
* @param array{
34-
* CacheParameterGroupName?: null|string,
35-
* ParameterApplyStatus?: null|string,
36-
* CacheNodeIdsToReboot?: null|string[],
34+
* CacheParameterGroupName?: string|null,
35+
* ParameterApplyStatus?: string|null,
36+
* CacheNodeIdsToReboot?: string[]|null,
3737
* } $input
3838
*/
3939
public function __construct(array $input)
@@ -45,9 +45,9 @@ public function __construct(array $input)
4545

4646
/**
4747
* @param array{
48-
* CacheParameterGroupName?: null|string,
49-
* ParameterApplyStatus?: null|string,
50-
* CacheNodeIdsToReboot?: null|string[],
48+
* CacheParameterGroupName?: string|null,
49+
* ParameterApplyStatus?: string|null,
50+
* CacheNodeIdsToReboot?: string[]|null,
5151
* }|CacheParameterGroupStatus $input
5252
*/
5353
public static function create($input): self

src/ValueObject/CacheSecurityGroupMembership.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ final class CacheSecurityGroupMembership
2424

2525
/**
2626
* @param array{
27-
* CacheSecurityGroupName?: null|string,
28-
* Status?: null|string,
27+
* CacheSecurityGroupName?: string|null,
28+
* Status?: string|null,
2929
* } $input
3030
*/
3131
public function __construct(array $input)
@@ -36,8 +36,8 @@ public function __construct(array $input)
3636

3737
/**
3838
* @param array{
39-
* CacheSecurityGroupName?: null|string,
40-
* Status?: null|string,
39+
* CacheSecurityGroupName?: string|null,
40+
* Status?: string|null,
4141
* }|CacheSecurityGroupMembership $input
4242
*/
4343
public static function create($input): self

src/ValueObject/CloudWatchLogsDestinationDetails.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class CloudWatchLogsDestinationDetails
1616

1717
/**
1818
* @param array{
19-
* LogGroup?: null|string,
19+
* LogGroup?: string|null,
2020
* } $input
2121
*/
2222
public function __construct(array $input)
@@ -26,7 +26,7 @@ public function __construct(array $input)
2626

2727
/**
2828
* @param array{
29-
* LogGroup?: null|string,
29+
* LogGroup?: string|null,
3030
* }|CloudWatchLogsDestinationDetails $input
3131
*/
3232
public static function create($input): self

src/ValueObject/DestinationDetails.php

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

2424
/**
2525
* @param array{
26-
* CloudWatchLogsDetails?: null|CloudWatchLogsDestinationDetails|array,
27-
* KinesisFirehoseDetails?: null|KinesisFirehoseDestinationDetails|array,
26+
* CloudWatchLogsDetails?: CloudWatchLogsDestinationDetails|array|null,
27+
* KinesisFirehoseDetails?: KinesisFirehoseDestinationDetails|array|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-
* CloudWatchLogsDetails?: null|CloudWatchLogsDestinationDetails|array,
39-
* KinesisFirehoseDetails?: null|KinesisFirehoseDestinationDetails|array,
38+
* CloudWatchLogsDetails?: CloudWatchLogsDestinationDetails|array|null,
39+
* KinesisFirehoseDetails?: KinesisFirehoseDestinationDetails|array|null,
4040
* }|DestinationDetails $input
4141
*/
4242
public static function create($input): self

src/ValueObject/Endpoint.php

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

2424
/**
2525
* @param array{
26-
* Address?: null|string,
27-
* Port?: null|int,
26+
* Address?: string|null,
27+
* Port?: int|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-
* Address?: null|string,
39-
* Port?: null|int,
38+
* Address?: string|null,
39+
* Port?: int|null,
4040
* }|Endpoint $input
4141
*/
4242
public static function create($input): self

0 commit comments

Comments
 (0)