Skip to content

Commit 1a1d51e

Browse files
authored
Merge pull request #6 from bilfeldt/updates/php-83
Add PHP 8.3 compatibility
2 parents 2eab4ee + f8fa806 commit 1a1d51e

6 files changed

+6
-7
lines changed

.github/workflows/run-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.2, 8.1]
16+
php: [8.3, 8.2, 8.1]
1717
laravel: [10.*]
1818
dependency-version: [prefer-stable]
1919
include:

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes will be documented in this file
44

5+
## 1.1.0 - 2024-01-007
6+
7+
- Add PHP 8.3 compatibility
8+
59
## 1.0.1 - 2023-10-12
610

711
- Fix binary file response issue

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": "~8.1.0 || ~8.2.0",
24+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
2525
"illuminate/contracts": "^10.0"
2626
},
2727
"require-dev": {

tests/Feature/ClientRequestIdMiddlewareTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
class ClientRequestIdMiddlewareTest extends TestCase
1313
{
14-
#[Test]
1514
public function test_adds_request_id_to_response_header(): void
1615
{
1716
$uuid = Str::orderedUuid();

tests/Feature/CorrelationIdMiddlewareTest.php

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
class CorrelationIdMiddlewareTest extends TestCase
1313
{
14-
#[Test]
1514
public function test_adds_request_correlation_id_header(): void
1615
{
1716
$uuid = Str::orderedUuid();
@@ -26,7 +25,6 @@ public function test_adds_request_correlation_id_header(): void
2625
$this->assertEquals($uuid, $request->headers->get('Correlation-ID'));
2726
}
2827

29-
#[Test]
3028
public function test_adds_response_correlation_id_header(): void
3129
{
3230
$request = new Request();

tests/Feature/LogContextMiddlewareTest.php

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
class LogContextMiddlewareTest extends TestCase
1212
{
13-
#[Test]
1413
public function test_adds_request_correlation_id_to_log_context(): void
1514
{
1615
$id = 'test-correlation-id';
@@ -28,7 +27,6 @@ public function test_adds_request_correlation_id_to_log_context(): void
2827
$this->assertEquals($id, Log::sharedContext()['correlation_id']); // Assert context is set AFTER the request is processed.
2928
}
3029

31-
#[Test]
3230
public function test_adds_request_id_to_log_context(): void
3331
{
3432
$request = new Request();

0 commit comments

Comments
 (0)