From ce1612b0cf1628aafc6324c27f03b26cadeb80e1 Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Wed, 26 Feb 2025 14:00:03 -0500 Subject: [PATCH] build(deps): drop Laravel 10 support --- .github/workflows/tests.yml | 9 +-------- composer.json | 10 +++++----- tests/Feature/GraylogDriverTest.php | 4 ---- tests/Feature/Processor/ExtraProcessorTest.php | 1 - tests/Feature/Processor/LaravelProcessorTest.php | 1 - tests/Unit/Transport/TransportFactoryTest.php | 6 ------ 6 files changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3f144f0..bca4cfa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,17 +9,10 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] + php: [8.2, 8.3] laravel: [10.*, 11.*, 12.*] dependency-version: [prefer-lowest, prefer-stable] - exclude: - - php: 8.1 - laravel: 11.* - - php: 8.1 - laravel: 12.* include: - - laravel: 10.* - testbench: 8.* - laravel: 11.* testbench: 9.* - laravel: 12.* diff --git a/composer.json b/composer.json index 2706c54..ef554d0 100644 --- a/composer.json +++ b/composer.json @@ -25,9 +25,9 @@ "require": { "php": "^8.1", "graylog2/gelf-php": "^1.7", - "illuminate/contracts": "^10.0|^11.0|^12.0", - "illuminate/log": "^10.0|^11.0|^12.0", - "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/contracts": "^11.0|^12.0", + "illuminate/log": "^11.0|^12.0", + "illuminate/support": "^11.0|^12.0", "monolog/monolog": "^2.0|^3.3" }, "require-dev": { @@ -36,8 +36,8 @@ "exolnet/phpcs-config": "^2.0", "laravel/pint": "^1.2", "mockery/mockery": "^1.4", - "orchestra/testbench": "^8.0|^9.0|^10.0", - "phpunit/phpunit": "^10.5|^11.5.3", + "orchestra/testbench": "^9.0|^10.0", + "phpunit/phpunit": "^11.5.3", "squizlabs/php_codesniffer": "^3.6" }, "autoload": { diff --git a/tests/Feature/GraylogDriverTest.php b/tests/Feature/GraylogDriverTest.php index 43e859f..cf41a20 100644 --- a/tests/Feature/GraylogDriverTest.php +++ b/tests/Feature/GraylogDriverTest.php @@ -35,7 +35,6 @@ protected function setUp(): void /** * @return void - * @test */ public function testIsAnIlluminateLogger(): void { @@ -44,7 +43,6 @@ public function testIsAnIlluminateLogger(): void /** * @return void - * @test */ public function testUseAMonologDriver(): void { @@ -53,7 +51,6 @@ public function testUseAMonologDriver(): void /** * @return void - * @test */ public function testUseGraylogHandler(): void { @@ -66,7 +63,6 @@ public function testUseGraylogHandler(): void /** * @return void - * @test */ public function testLogging(): void { diff --git a/tests/Feature/Processor/ExtraProcessorTest.php b/tests/Feature/Processor/ExtraProcessorTest.php index ac19937..e2db0cc 100644 --- a/tests/Feature/Processor/ExtraProcessorTest.php +++ b/tests/Feature/Processor/ExtraProcessorTest.php @@ -12,7 +12,6 @@ class ExtraProcessorTest extends TestCase { /** * @return void - * @test */ public function testInvoke(): void { diff --git a/tests/Feature/Processor/LaravelProcessorTest.php b/tests/Feature/Processor/LaravelProcessorTest.php index 2391fb5..dc1617e 100644 --- a/tests/Feature/Processor/LaravelProcessorTest.php +++ b/tests/Feature/Processor/LaravelProcessorTest.php @@ -12,7 +12,6 @@ class LaravelProcessorTest extends TestCase { /** * @return void - * @test */ public function testInvoke(): void { diff --git a/tests/Unit/Transport/TransportFactoryTest.php b/tests/Unit/Transport/TransportFactoryTest.php index 10e9f67..d5f2c45 100644 --- a/tests/Unit/Transport/TransportFactoryTest.php +++ b/tests/Unit/Transport/TransportFactoryTest.php @@ -32,7 +32,6 @@ protected function setUp(): void /** * @return void - * @test */ public function testInvalidTransport(): void { @@ -43,7 +42,6 @@ public function testInvalidTransport(): void /** * @return void - * @test */ public function testMakeUdpTransport(): void { @@ -54,7 +52,6 @@ public function testMakeUdpTransport(): void /** * @return void - * @test */ public function testMakeTcpTransport(): void { @@ -65,7 +62,6 @@ public function testMakeTcpTransport(): void /** * @return void - * @test */ public function testMakeSslTransport(): void { @@ -76,7 +72,6 @@ public function testMakeSslTransport(): void /** * @return void - * @test */ public function testMakeHttpTransport(): void { @@ -88,7 +83,6 @@ public function testMakeHttpTransport(): void /** * @return void - * @test */ public function testMakeHttpsTransport(): void {