Skip to content

Commit

Permalink
Merge pull request #6 from bilfeldt/updates/php-83
Browse files Browse the repository at this point in the history
Add PHP 8.3 compatibility
  • Loading branch information
bilfeldt authored Jan 7, 2024
2 parents 2eab4ee + f8fa806 commit 1a1d51e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1]
php: [8.3, 8.2, 8.1]
laravel: [10.*]
dependency-version: [prefer-stable]
include:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes will be documented in this file

## 1.1.0 - 2024-01-007

- Add PHP 8.3 compatibility

## 1.0.1 - 2023-10-12

- Fix binary file response issue
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"illuminate/contracts": "^10.0"
},
"require-dev": {
Expand Down
1 change: 0 additions & 1 deletion tests/Feature/ClientRequestIdMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class ClientRequestIdMiddlewareTest extends TestCase
{
#[Test]
public function test_adds_request_id_to_response_header(): void
{
$uuid = Str::orderedUuid();
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/CorrelationIdMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class CorrelationIdMiddlewareTest extends TestCase
{
#[Test]
public function test_adds_request_correlation_id_header(): void
{
$uuid = Str::orderedUuid();
Expand All @@ -26,7 +25,6 @@ public function test_adds_request_correlation_id_header(): void
$this->assertEquals($uuid, $request->headers->get('Correlation-ID'));
}

#[Test]
public function test_adds_response_correlation_id_header(): void
{
$request = new Request();
Expand Down
2 changes: 0 additions & 2 deletions tests/Feature/LogContextMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

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

#[Test]
public function test_adds_request_id_to_log_context(): void
{
$request = new Request();
Expand Down

0 comments on commit 1a1d51e

Please sign in to comment.