From 48235b26daf40b43a4aa948667953af0eb98e1dd Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 3 Mar 2024 19:10:57 +0000 Subject: [PATCH] Define test classes as `final` --- tests/Unit/Connectors/PubSubConnectorTests.php | 2 +- tests/Unit/Jobs/PubSubJobTests.php | 2 +- tests/Unit/PubSubQueueTests.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Unit/Connectors/PubSubConnectorTests.php b/tests/Unit/Connectors/PubSubConnectorTests.php index 9dbe806..5821831 100644 --- a/tests/Unit/Connectors/PubSubConnectorTests.php +++ b/tests/Unit/Connectors/PubSubConnectorTests.php @@ -8,7 +8,7 @@ use PHPUnit\Framework\TestCase; use ReflectionClass; -class PubSubConnectorTests extends TestCase +final class PubSubConnectorTests extends TestCase { public function testImplementsConnectorInterface(): void { diff --git a/tests/Unit/Jobs/PubSubJobTests.php b/tests/Unit/Jobs/PubSubJobTests.php index 97a13e0..bcaf829 100644 --- a/tests/Unit/Jobs/PubSubJobTests.php +++ b/tests/Unit/Jobs/PubSubJobTests.php @@ -11,7 +11,7 @@ use PHPUnit\Framework\TestCase; use ReflectionClass; -class PubSubJobTests extends TestCase +final class PubSubJobTests extends TestCase { /** * @var string diff --git a/tests/Unit/PubSubQueueTests.php b/tests/Unit/PubSubQueueTests.php index 74d42cd..7bb55bd 100644 --- a/tests/Unit/PubSubQueueTests.php +++ b/tests/Unit/PubSubQueueTests.php @@ -14,7 +14,7 @@ use PHPUnit\Framework\TestCase; use ReflectionClass; -class PubSubQueueTests extends TestCase +final class PubSubQueueTests extends TestCase { /** * @var string