Skip to content

Commit 312f6fd

Browse files
committed
v4.2.0 -- Updates for symfony 6.4.x deprecations.
1 parent adc13aa commit 312f6fd

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG-4.x.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
This changelog references the relevant changes done in 4.x versions.
33

44

5+
## v4.2.0
6+
* Updates for symfony 6.4.x deprecations.
7+
8+
59
## v4.1.1
610
* Update `DynamoDbEventStore::doPipeAllEvents` to allow iteration key in piping events to be string or int.
711

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"gdbots/query-parser": "^3.0",
1010
"gdbots/schemas": "^3.0",
1111
"psr/log": "^1|^2|^3",
12-
"symfony/event-dispatcher": "^6.2"
12+
"symfony/event-dispatcher": "^6.4 || ^7.0"
1313
},
1414
"require-dev": {
15-
"phpunit/phpunit": "^9.5",
15+
"phpunit/phpunit": "^10.5",
1616
"aws/aws-sdk-php": "^3.138",
1717
"gdbots/acme-schemas": "^3.0",
1818
"ruflin/elastica": "^7.1"

src/Util/StatusCodeUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static function httpToVendor(HttpCode $httpCode = HttpCode::HTTP_OK): Cod
110110
return Code::INTERNAL;
111111
}
112112

113-
if ($httpCode->value >= 400) {
113+
if ($httpCode->value > 400) {
114114
return Code::INVALID_ARGUMENT;
115115
}
116116

tests/PbjxTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function testInvalidSamples(string $token): void
108108
$this->fail("Created invalid token from: {$token}");
109109
}
110110

111-
public function getInvalidSamples(): array
111+
public static function getInvalidSamples(): array
112112
{
113113
return [
114114
['not.a.token'],

0 commit comments

Comments
 (0)