diff options
| author | 2025-09-14 21:27:55 +0200 | |
|---|---|---|
| committer | 2025-09-14 21:27:55 +0200 | |
| commit | a7e633bc58bb8ebf466241dac99c58bdafdab937 (patch) | |
| tree | d39cfb548cddf331d39af921e09089f80867c955 /tests/app | |
| parent | 697240813d9f086bff30b7e6424538fbef933359 (diff) | |
Minor explicit namespace fix for PHPUnit (#7960)
* Minor explicit namespace fix for PHPUnit
* final
Diffstat (limited to 'tests/app')
| -rw-r--r-- | tests/app/Models/CategoryTest.php | 2 | ||||
| -rw-r--r-- | tests/app/Models/FeedDAOTest.php | 2 | ||||
| -rw-r--r-- | tests/app/Models/SearchTest.php | 2 | ||||
| -rw-r--r-- | tests/app/Utils/dotNotationUtilTest.php | 2 | ||||
| -rw-r--r-- | tests/app/Utils/passwordUtilTest.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/app/Models/CategoryTest.php b/tests/app/Models/CategoryTest.php index 0290b6b61..480448552 100644 --- a/tests/app/Models/CategoryTest.php +++ b/tests/app/Models/CategoryTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); use PHPUnit\Framework\Attributes\DataProvider; -class CategoryTest extends PHPUnit\Framework\TestCase { +final class CategoryTest extends \PHPUnit\Framework\TestCase { public static function test__construct_whenNoParameters_createsObjectWithDefaultValues(): void { $category = new FreshRSS_Category(); diff --git a/tests/app/Models/FeedDAOTest.php b/tests/app/Models/FeedDAOTest.php index 2c7f6488f..77f21244a 100644 --- a/tests/app/Models/FeedDAOTest.php +++ b/tests/app/Models/FeedDAOTest.php @@ -1,7 +1,7 @@ <?php declare(strict_types=1); -class FeedDAOTest extends PHPUnit\Framework\TestCase { +final class FeedDAOTest extends \PHPUnit\Framework\TestCase { public static function test_ttl_min(): void { $feed = new FreshRSS_Feed('https://example.net/', false); $feed->_ttl(-5); diff --git a/tests/app/Models/SearchTest.php b/tests/app/Models/SearchTest.php index e6efdbe55..4c66880db 100644 --- a/tests/app/Models/SearchTest.php +++ b/tests/app/Models/SearchTest.php @@ -5,7 +5,7 @@ use PHPUnit\Framework\Attributes\DataProvider; require_once LIB_PATH . '/lib_date.php'; -class SearchTest extends PHPUnit\Framework\TestCase { +final class SearchTest extends \PHPUnit\Framework\TestCase { #[DataProvider('provideEmptyInput')] public static function test__construct_whenInputIsEmpty_getsOnlyNullValues(string $input): void { diff --git a/tests/app/Utils/dotNotationUtilTest.php b/tests/app/Utils/dotNotationUtilTest.php index 787d3ddf3..5efa85295 100644 --- a/tests/app/Utils/dotNotationUtilTest.php +++ b/tests/app/Utils/dotNotationUtilTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); use PHPUnit\Framework\Attributes\DataProvider; -class dotNotationUtilTest extends PHPUnit\Framework\TestCase { +final class dotNotationUtilTest extends \PHPUnit\Framework\TestCase { /** * @return Traversable<array{array<string,mixed>,string,string}> diff --git a/tests/app/Utils/passwordUtilTest.php b/tests/app/Utils/passwordUtilTest.php index c6d7a37e9..2d98c5051 100644 --- a/tests/app/Utils/passwordUtilTest.php +++ b/tests/app/Utils/passwordUtilTest.php @@ -1,7 +1,7 @@ <?php declare(strict_types=1); -class passwordUtilTest extends PHPUnit\Framework\TestCase { +final class passwordUtilTest extends \PHPUnit\Framework\TestCase { public function testCheck(): void { $password = '1234567'; |
