Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dirx committed Oct 21, 2024
1 parent 4bbaa02 commit 6de613c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/RdKafka/Admin/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use RdKafka\KafkaConsumer;
use RdKafka\Producer;
use RdKafka\TopicPartition;
use RequireVersionTrait;

/**
* @covers \RdKafka\Admin\AlterConfigsOptions
Expand Down Expand Up @@ -37,7 +38,7 @@
*/
class ClientTest extends TestCase
{
use \RequireVersionTrait;
use RequireVersionTrait;

public static function setUpBeforeClass(): void
{
Expand Down
3 changes: 2 additions & 1 deletion tests/RdKafka/FFI/LibraryPreloadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use FFI;
use PHPUnit\Framework\TestCase;
use RequireVersionTrait;

/**
* @covers \RdKafka\FFI\Library
Expand All @@ -14,7 +15,7 @@
*/
class LibraryPreloadTest extends TestCase
{
use \RequireVersionTrait;
use RequireVersionTrait;

protected function tearDown(): void
{
Expand Down
3 changes: 2 additions & 1 deletion tests/RdKafka/FFI/LibraryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use FFI;
use PHPUnit\Framework\TestCase;
use RequireVersionTrait;
use RuntimeException;

/**
Expand All @@ -15,7 +16,7 @@
*/
class LibraryTest extends TestCase
{
use \RequireVersionTrait;
use RequireVersionTrait;

protected function tearDown(): void
{
Expand Down
3 changes: 2 additions & 1 deletion tests/RdKafka/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6de613c

Please sign in to comment.