From 9107b058f512f577075f90aa0a7d3bb76a653971 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 27 Dec 2024 23:58:49 -0500 Subject: [PATCH] Traits are no longer covered explicitly --- tests/cases/Db/MySQL/TestCreation.php | 1 - tests/cases/Db/MySQL/TestDriver.php | 2 -- tests/cases/Db/MySQL/TestResult.php | 2 -- tests/cases/Db/MySQL/TestStatement.php | 2 -- tests/cases/Db/MySQL/TestUpdate.php | 2 -- tests/cases/Db/MySQLPDO/TestCreation.php | 1 - tests/cases/Db/MySQLPDO/TestDriver.php | 4 ---- tests/cases/Db/MySQLPDO/TestResult.php | 3 --- tests/cases/Db/MySQLPDO/TestStatement.php | 3 --- tests/cases/Db/MySQLPDO/TestUpdate.php | 4 ---- tests/cases/Db/PostgreSQL/TestDriver.php | 2 -- tests/cases/Db/PostgreSQL/TestStatement.php | 2 -- tests/cases/Db/PostgreSQL/TestUpdate.php | 1 - tests/cases/Db/PostgreSQLPDO/TestDriver.php | 3 --- tests/cases/Db/PostgreSQLPDO/TestStatement.php | 2 -- tests/cases/Db/PostgreSQLPDO/TestUpdate.php | 3 --- tests/cases/Db/SQLite3/TestCreation.php | 1 - tests/cases/Db/SQLite3/TestDriver.php | 1 - tests/cases/Db/SQLite3/TestStatement.php | 1 - tests/cases/Db/SQLite3/TestUpdate.php | 1 - tests/cases/Db/SQLite3PDO/TestCreation.php | 3 --- tests/cases/Db/SQLite3PDO/TestDriver.php | 3 --- tests/cases/Db/SQLite3PDO/TestStatement.php | 2 -- tests/cases/Db/SQLite3PDO/TestUpdate.php | 3 --- 24 files changed, 52 deletions(-) diff --git a/tests/cases/Db/MySQL/TestCreation.php b/tests/cases/Db/MySQL/TestCreation.php index 99fdb401..38fac438 100644 --- a/tests/cases/Db/MySQL/TestCreation.php +++ b/tests/cases/Db/MySQL/TestCreation.php @@ -13,7 +13,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest { public function setUp(): void { if (!Driver::requirementsMet()) { diff --git a/tests/cases/Db/MySQL/TestDriver.php b/tests/cases/Db/MySQL/TestDriver.php index 53eeb323..4a15b3f9 100644 --- a/tests/cases/Db/MySQL/TestDriver.php +++ b/tests/cases/Db/MySQL/TestDriver.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQL; diff --git a/tests/cases/Db/MySQL/TestResult.php b/tests/cases/Db/MySQL/TestResult.php index 4a6ccfe5..2153e3d8 100644 --- a/tests/cases/Db/MySQL/TestResult.php +++ b/tests/cases/Db/MySQL/TestResult.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\Result::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestResult extends \JKingWeb\Arsse\TestCase\Db\BaseResult { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQL; diff --git a/tests/cases/Db/MySQL/TestStatement.php b/tests/cases/Db/MySQL/TestStatement.php index a5d6d39d..f7e01f95 100644 --- a/tests/cases/Db/MySQL/TestStatement.php +++ b/tests/cases/Db/MySQL/TestStatement.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\Statement::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQL; diff --git a/tests/cases/Db/MySQL/TestUpdate.php b/tests/cases/Db/MySQL/TestUpdate.php index ec85acb4..64e85c30 100644 --- a/tests/cases/Db/MySQL/TestUpdate.php +++ b/tests/cases/Db/MySQL/TestUpdate.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQL; diff --git a/tests/cases/Db/MySQLPDO/TestCreation.php b/tests/cases/Db/MySQLPDO/TestCreation.php index dad1d7fd..19e03539 100644 --- a/tests/cases/Db/MySQLPDO/TestCreation.php +++ b/tests/cases/Db/MySQLPDO/TestCreation.php @@ -13,7 +13,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest { public function setUp(): void { if (!Driver::requirementsMet()) { diff --git a/tests/cases/Db/MySQLPDO/TestDriver.php b/tests/cases/Db/MySQLPDO/TestDriver.php index e723362c..5c58e8fa 100644 --- a/tests/cases/Db/MySQLPDO/TestDriver.php +++ b/tests/cases/Db/MySQLPDO/TestDriver.php @@ -12,10 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQLPDO; diff --git a/tests/cases/Db/MySQLPDO/TestResult.php b/tests/cases/Db/MySQLPDO/TestResult.php index 7b1162f4..0ed25cc4 100644 --- a/tests/cases/Db/MySQLPDO/TestResult.php +++ b/tests/cases/Db/MySQLPDO/TestResult.php @@ -12,9 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PDOResult::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestResult extends \JKingWeb\Arsse\TestCase\Db\BaseResult { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQLPDO; diff --git a/tests/cases/Db/MySQLPDO/TestStatement.php b/tests/cases/Db/MySQLPDO/TestStatement.php index 2c82dd15..127670c9 100644 --- a/tests/cases/Db/MySQLPDO/TestStatement.php +++ b/tests/cases/Db/MySQLPDO/TestStatement.php @@ -12,9 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\PDOStatement::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQLPDO; diff --git a/tests/cases/Db/MySQLPDO/TestUpdate.php b/tests/cases/Db/MySQLPDO/TestUpdate.php index c31a089c..4971ca39 100644 --- a/tests/cases/Db/MySQLPDO/TestUpdate.php +++ b/tests/cases/Db/MySQLPDO/TestUpdate.php @@ -12,10 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\MySQL\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\MySQL\ExceptionBuilder::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate { use \JKingWeb\Arsse\Test\DatabaseDrivers\MySQLPDO; diff --git a/tests/cases/Db/PostgreSQL/TestDriver.php b/tests/cases/Db/PostgreSQL/TestDriver.php index 4a4db62c..97d43556 100644 --- a/tests/cases/Db/PostgreSQL/TestDriver.php +++ b/tests/cases/Db/PostgreSQL/TestDriver.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\Dispatch::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver { use \JKingWeb\Arsse\Test\DatabaseDrivers\PostgreSQL; diff --git a/tests/cases/Db/PostgreSQL/TestStatement.php b/tests/cases/Db/PostgreSQL/TestStatement.php index 076a4250..5895f2cc 100644 --- a/tests/cases/Db/PostgreSQL/TestStatement.php +++ b/tests/cases/Db/PostgreSQL/TestStatement.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\Statement::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\Dispatch::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement { use \JKingWeb\Arsse\Test\DatabaseDrivers\PostgreSQL; diff --git a/tests/cases/Db/PostgreSQL/TestUpdate.php b/tests/cases/Db/PostgreSQL/TestUpdate.php index 03034c6b..0e89d117 100644 --- a/tests/cases/Db/PostgreSQL/TestUpdate.php +++ b/tests/cases/Db/PostgreSQL/TestUpdate.php @@ -12,7 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate { use \JKingWeb\Arsse\Test\DatabaseDrivers\PostgreSQL; diff --git a/tests/cases/Db/PostgreSQLPDO/TestDriver.php b/tests/cases/Db/PostgreSQLPDO/TestDriver.php index 7aabbf4f..5e9dc236 100644 --- a/tests/cases/Db/PostgreSQLPDO/TestDriver.php +++ b/tests/cases/Db/PostgreSQLPDO/TestDriver.php @@ -12,9 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver { use \JKingWeb\Arsse\Test\DatabaseDrivers\PostgreSQLPDO; diff --git a/tests/cases/Db/PostgreSQLPDO/TestStatement.php b/tests/cases/Db/PostgreSQLPDO/TestStatement.php index 9f4642db..ee0235df 100644 --- a/tests/cases/Db/PostgreSQLPDO/TestStatement.php +++ b/tests/cases/Db/PostgreSQLPDO/TestStatement.php @@ -12,8 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\PDOStatement::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement { use \JKingWeb\Arsse\Test\DatabaseDrivers\PostgreSQLPDO; diff --git a/tests/cases/Db/PostgreSQLPDO/TestUpdate.php b/tests/cases/Db/PostgreSQLPDO/TestUpdate.php index 192ec0d5..91e5ee6e 100644 --- a/tests/cases/Db/PostgreSQLPDO/TestUpdate.php +++ b/tests/cases/Db/PostgreSQLPDO/TestUpdate.php @@ -12,9 +12,6 @@ use PHPUnit\Framework\Attributes\Group; #[Group("slow")] #[CoversClass(\JKingWeb\Arsse\Db\PostgreSQL\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate { use \JKingWeb\Arsse\Test\DatabaseDrivers\PostgreSQLPDO; diff --git a/tests/cases/Db/SQLite3/TestCreation.php b/tests/cases/Db/SQLite3/TestCreation.php index 4d705a95..bb76a6b8 100644 --- a/tests/cases/Db/SQLite3/TestCreation.php +++ b/tests/cases/Db/SQLite3/TestCreation.php @@ -13,7 +13,6 @@ use org\bovigo\vfs\vfsStream; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder::class)] class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest { protected $data; protected $drv; diff --git a/tests/cases/Db/SQLite3/TestDriver.php b/tests/cases/Db/SQLite3/TestDriver.php index b7419094..6a455ea0 100644 --- a/tests/cases/Db/SQLite3/TestDriver.php +++ b/tests/cases/Db/SQLite3/TestDriver.php @@ -10,7 +10,6 @@ namespace JKingWeb\Arsse\TestCase\Db\SQLite3; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder::class)] class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver { use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3; diff --git a/tests/cases/Db/SQLite3/TestStatement.php b/tests/cases/Db/SQLite3/TestStatement.php index 1e78098f..a9a8e19b 100644 --- a/tests/cases/Db/SQLite3/TestStatement.php +++ b/tests/cases/Db/SQLite3/TestStatement.php @@ -10,7 +10,6 @@ namespace JKingWeb\Arsse\TestCase\Db\SQLite3; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\Statement::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder::class)] class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement { use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3; diff --git a/tests/cases/Db/SQLite3/TestUpdate.php b/tests/cases/Db/SQLite3/TestUpdate.php index b6733efc..ff6ddf70 100644 --- a/tests/cases/Db/SQLite3/TestUpdate.php +++ b/tests/cases/Db/SQLite3/TestUpdate.php @@ -10,7 +10,6 @@ namespace JKingWeb\Arsse\TestCase\Db\SQLite3; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\Driver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLite3\ExceptionBuilder::class)] class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate { use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3; diff --git a/tests/cases/Db/SQLite3PDO/TestCreation.php b/tests/cases/Db/SQLite3PDO/TestCreation.php index 393f269b..6ec86aac 100644 --- a/tests/cases/Db/SQLite3PDO/TestCreation.php +++ b/tests/cases/Db/SQLite3PDO/TestCreation.php @@ -13,9 +13,6 @@ use org\bovigo\vfs\vfsStream; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest { protected $data; protected $drv; diff --git a/tests/cases/Db/SQLite3PDO/TestDriver.php b/tests/cases/Db/SQLite3PDO/TestDriver.php index f053a3d9..7220e65c 100644 --- a/tests/cases/Db/SQLite3PDO/TestDriver.php +++ b/tests/cases/Db/SQLite3PDO/TestDriver.php @@ -10,9 +10,6 @@ namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestDriver extends \JKingWeb\Arsse\TestCase\Db\BaseDriver { use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3PDO; diff --git a/tests/cases/Db/SQLite3PDO/TestStatement.php b/tests/cases/Db/SQLite3PDO/TestStatement.php index d2ad8ce2..e1c74340 100644 --- a/tests/cases/Db/SQLite3PDO/TestStatement.php +++ b/tests/cases/Db/SQLite3PDO/TestStatement.php @@ -10,8 +10,6 @@ namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\PDOStatement::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement { use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3PDO; diff --git a/tests/cases/Db/SQLite3PDO/TestUpdate.php b/tests/cases/Db/SQLite3PDO/TestUpdate.php index 9cb16710..11250b0b 100644 --- a/tests/cases/Db/SQLite3PDO/TestUpdate.php +++ b/tests/cases/Db/SQLite3PDO/TestUpdate.php @@ -10,9 +10,6 @@ namespace JKingWeb\Arsse\TestCase\Db\SQLite3PDO; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(\JKingWeb\Arsse\Db\SQLite3\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDODriver::class)] -#[CoversClass(\JKingWeb\Arsse\Db\PDOError::class)] -#[CoversClass(\JKingWeb\Arsse\Db\SQLState::class)] class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate { use \JKingWeb\Arsse\Test\DatabaseDrivers\SQLite3PDO;