From ebd2b0bde30ea5946ed5f4ec69f99ea0fb04008d Mon Sep 17 00:00:00 2001 From: Anders Bilfeldt Date: Thu, 28 Sep 2023 00:22:16 +0200 Subject: [PATCH] StyleCI fix --- CHANGELOG.md | 3 ++- src/Models/RequestLog.php | 1 - tests/Unit/RequestMacroTest.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7843711..e7a65e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,8 @@ No breaking changes. The only changes are to the development dependencies used f ### 3.0.0 - Rely on the [`bilfeldt/laravel-correlation-id`](https://packagist.org/packages/bilfeldt/laravel-correlation-id) package for request and response headers and unique id. -- Log both `Correlation-ID` and `Request-ID`. +- Log both `Correlation-ID` header and the unique _Request ID_. +- Remove dependency on `spatie/laravel-package-tools` ### 2.2.0 - 2023-08-29 diff --git a/src/Models/RequestLog.php b/src/Models/RequestLog.php index 12154e7..f7b8581 100644 --- a/src/Models/RequestLog.php +++ b/src/Models/RequestLog.php @@ -5,7 +5,6 @@ use Bilfeldt\RequestLogger\Contracts\RequestLoggerInterface; use Bilfeldt\RequestLogger\Database\Factories\RequestLogFactory; use Bilfeldt\RequestLogger\RequestLoggerFacade; -use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\MassPrunable; use Illuminate\Database\Eloquent\Model; diff --git a/tests/Unit/RequestMacroTest.php b/tests/Unit/RequestMacroTest.php index f912260..bbae64e 100644 --- a/tests/Unit/RequestMacroTest.php +++ b/tests/Unit/RequestMacroTest.php @@ -4,7 +4,6 @@ use Bilfeldt\RequestLogger\Tests\TestCase; use Illuminate\Http\Request; -use Illuminate\Support\Str; class RequestMacroTest extends TestCase {