From 6de613c9432ab8418e2e0455f3f9a3c9eb2738db Mon Sep 17 00:00:00 2001 From: Dirk Adler Date: Mon, 21 Oct 2024 23:23:43 +0200 Subject: [PATCH] Minor cleanup --- tests/RdKafka/Admin/ClientTest.php | 3 ++- tests/RdKafka/FFI/LibraryPreloadTest.php | 3 ++- tests/RdKafka/FFI/LibraryTest.php | 3 ++- tests/RdKafka/MessageTest.php | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/RdKafka/Admin/ClientTest.php b/tests/RdKafka/Admin/ClientTest.php index e2d594cc..a2bea75d 100644 --- a/tests/RdKafka/Admin/ClientTest.php +++ b/tests/RdKafka/Admin/ClientTest.php @@ -10,6 +10,7 @@ use RdKafka\KafkaConsumer; use RdKafka\Producer; use RdKafka\TopicPartition; +use RequireVersionTrait; /** * @covers \RdKafka\Admin\AlterConfigsOptions @@ -37,7 +38,7 @@ */ class ClientTest extends TestCase { - use \RequireVersionTrait; + use RequireVersionTrait; public static function setUpBeforeClass(): void { diff --git a/tests/RdKafka/FFI/LibraryPreloadTest.php b/tests/RdKafka/FFI/LibraryPreloadTest.php index 6d9b344f..3424d640 100644 --- a/tests/RdKafka/FFI/LibraryPreloadTest.php +++ b/tests/RdKafka/FFI/LibraryPreloadTest.php @@ -6,6 +6,7 @@ use FFI; use PHPUnit\Framework\TestCase; +use RequireVersionTrait; /** * @covers \RdKafka\FFI\Library @@ -14,7 +15,7 @@ */ class LibraryPreloadTest extends TestCase { - use \RequireVersionTrait; + use RequireVersionTrait; protected function tearDown(): void { diff --git a/tests/RdKafka/FFI/LibraryTest.php b/tests/RdKafka/FFI/LibraryTest.php index 0403a965..235d4a6d 100644 --- a/tests/RdKafka/FFI/LibraryTest.php +++ b/tests/RdKafka/FFI/LibraryTest.php @@ -6,6 +6,7 @@ use FFI; use PHPUnit\Framework\TestCase; +use RequireVersionTrait; use RuntimeException; /** @@ -15,7 +16,7 @@ */ class LibraryTest extends TestCase { - use \RequireVersionTrait; + use RequireVersionTrait; protected function tearDown(): void { diff --git a/tests/RdKafka/MessageTest.php b/tests/RdKafka/MessageTest.php index cd988a6a..a922032b 100644 --- a/tests/RdKafka/MessageTest.php +++ b/tests/RdKafka/MessageTest.php @@ -5,13 +5,14 @@ namespace RdKafka; use PHPUnit\Framework\TestCase; +use RequireVersionTrait; /** * @covers \RdKafka\Message */ class MessageTest extends TestCase { - use \RequireVersionTrait; + use RequireVersionTrait; private ?Message $message; private Message $producedMessage;