Skip to content

Commit 83d9343

Browse files
authored
Upgrade CI tools versions (#1098)
* Upgrade php-cs-fixer to 3.1.0 * Upgrade psalm to 4.10.0 * Upgrade phpstan to 0.12.98 * Fiix psalm
1 parent 609851d commit 83d9343

10 files changed

+24
-24
lines changed

src/Input/BatchGetItemInput.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class BatchGetItemInput extends Input
2525
private $requestItems;
2626

2727
/**
28-
* @var null|ReturnConsumedCapacity::*
28+
* @var ReturnConsumedCapacity::*|null
2929
*/
3030
private $returnConsumedCapacity;
3131

src/Input/BatchWriteItemInput.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class BatchWriteItemInput extends Input
2626
private $requestItems;
2727

2828
/**
29-
* @var null|ReturnConsumedCapacity::*
29+
* @var ReturnConsumedCapacity::*|null
3030
*/
3131
private $returnConsumedCapacity;
3232

@@ -35,7 +35,7 @@ final class BatchWriteItemInput extends Input
3535
* item collections, if any, that were modified during the operation are returned in the response. If set to `NONE` (the
3636
* default), no statistics are returned.
3737
*
38-
* @var null|ReturnItemCollectionMetrics::*
38+
* @var ReturnItemCollectionMetrics::*|null
3939
*/
4040
private $returnItemCollectionMetrics;
4141

src/Input/CreateTableInput.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ final class CreateTableInput extends Input
7272
* Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed
7373
* later.
7474
*
75-
* @var null|BillingMode::*
75+
* @var BillingMode::*|null
7676
*/
7777
private $billingMode;
7878

src/Input/DeleteItemInput.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ final class DeleteItemInput extends Input
5252
*
5353
* @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
5454
*
55-
* @var null|ConditionalOperator::*
55+
* @var ConditionalOperator::*|null
5656
*/
5757
private $conditionalOperator;
5858

5959
/**
6060
* Use `ReturnValues` if you want to get the item attributes as they appeared before they were deleted. For
6161
* `DeleteItem`, the valid values are:.
6262
*
63-
* @var null|ReturnValue::*
63+
* @var ReturnValue::*|null
6464
*/
6565
private $returnValues;
6666

6767
/**
68-
* @var null|ReturnConsumedCapacity::*
68+
* @var ReturnConsumedCapacity::*|null
6969
*/
7070
private $returnConsumedCapacity;
7171

@@ -74,7 +74,7 @@ final class DeleteItemInput extends Input
7474
* item collections, if any, that were modified during the operation are returned in the response. If set to `NONE` (the
7575
* default), no statistics are returned.
7676
*
77-
* @var null|ReturnItemCollectionMetrics::*
77+
* @var ReturnItemCollectionMetrics::*|null
7878
*/
7979
private $returnItemCollectionMetrics;
8080

src/Input/GetItemInput.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ final class GetItemInput extends Input
5151
private $consistentRead;
5252

5353
/**
54-
* @var null|ReturnConsumedCapacity::*
54+
* @var ReturnConsumedCapacity::*|null
5555
*/
5656
private $returnConsumedCapacity;
5757

src/Input/PutItemInput.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ final class PutItemInput extends Input
5151
* Use `ReturnValues` if you want to get the item attributes as they appeared before they were updated with the
5252
* `PutItem` request. For `PutItem`, the valid values are:.
5353
*
54-
* @var null|ReturnValue::*
54+
* @var ReturnValue::*|null
5555
*/
5656
private $returnValues;
5757

5858
/**
59-
* @var null|ReturnConsumedCapacity::*
59+
* @var ReturnConsumedCapacity::*|null
6060
*/
6161
private $returnConsumedCapacity;
6262

@@ -65,7 +65,7 @@ final class PutItemInput extends Input
6565
* item collections, if any, that were modified during the operation are returned in the response. If set to `NONE` (the
6666
* default), no statistics are returned.
6767
*
68-
* @var null|ReturnItemCollectionMetrics::*
68+
* @var ReturnItemCollectionMetrics::*|null
6969
*/
7070
private $returnItemCollectionMetrics;
7171

@@ -75,7 +75,7 @@ final class PutItemInput extends Input
7575
*
7676
* @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
7777
*
78-
* @var null|ConditionalOperator::*
78+
* @var ConditionalOperator::*|null
7979
*/
8080
private $conditionalOperator;
8181

src/Input/QueryInput.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class QueryInput extends Input
3838
* The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the
3939
* count of matching items, or in the case of an index, some or all of the attributes projected into the index.
4040
*
41-
* @var null|Select::*
41+
* @var Select::*|null
4242
*/
4343
private $select;
4444

@@ -101,7 +101,7 @@ final class QueryInput extends Input
101101
*
102102
* @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
103103
*
104-
* @var null|ConditionalOperator::*
104+
* @var ConditionalOperator::*|null
105105
*/
106106
private $conditionalOperator;
107107

@@ -122,7 +122,7 @@ final class QueryInput extends Input
122122
private $exclusiveStartKey;
123123

124124
/**
125-
* @var null|ReturnConsumedCapacity::*
125+
* @var ReturnConsumedCapacity::*|null
126126
*/
127127
private $returnConsumedCapacity;
128128

src/Input/ScanInput.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ final class ScanInput extends Input
6464
* The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the
6565
* count of matching items, or in the case of an index, some or all of the attributes projected into the index.
6666
*
67-
* @var null|Select::*
67+
* @var Select::*|null
6868
*/
6969
private $select;
7070

@@ -84,7 +84,7 @@ final class ScanInput extends Input
8484
*
8585
* @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
8686
*
87-
* @var null|ConditionalOperator::*
87+
* @var ConditionalOperator::*|null
8888
*/
8989
private $conditionalOperator;
9090

@@ -97,7 +97,7 @@ final class ScanInput extends Input
9797
private $exclusiveStartKey;
9898

9999
/**
100-
* @var null|ReturnConsumedCapacity::*
100+
* @var ReturnConsumedCapacity::*|null
101101
*/
102102
private $returnConsumedCapacity;
103103

src/Input/UpdateItemInput.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,20 @@ final class UpdateItemInput extends Input
6363
*
6464
* @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
6565
*
66-
* @var null|ConditionalOperator::*
66+
* @var ConditionalOperator::*|null
6767
*/
6868
private $conditionalOperator;
6969

7070
/**
7171
* Use `ReturnValues` if you want to get the item attributes as they appear before or after they are updated. For
7272
* `UpdateItem`, the valid values are:.
7373
*
74-
* @var null|ReturnValue::*
74+
* @var ReturnValue::*|null
7575
*/
7676
private $returnValues;
7777

7878
/**
79-
* @var null|ReturnConsumedCapacity::*
79+
* @var ReturnConsumedCapacity::*|null
8080
*/
8181
private $returnConsumedCapacity;
8282

@@ -85,7 +85,7 @@ final class UpdateItemInput extends Input
8585
* item collections, if any, that were modified during the operation are returned in the response. If set to `NONE` (the
8686
* default), no statistics are returned.
8787
*
88-
* @var null|ReturnItemCollectionMetrics::*
88+
* @var ReturnItemCollectionMetrics::*|null
8989
*/
9090
private $returnItemCollectionMetrics;
9191

src/Input/UpdateTableInput.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class UpdateTableInput extends Input
4242
* capacity values are estimated based on the consumed read and write capacity of your table and global secondary
4343
* indexes over the past 30 minutes.
4444
*
45-
* @var null|BillingMode::*
45+
* @var BillingMode::*|null
4646
*/
4747
private $billingMode;
4848

0 commit comments

Comments
 (0)