chore: Fix phpunit deprecations (#9402)

* refactor: Remove unknown option

* refactor: Remove deprecated `CoversTrait`
This commit is contained in:
neznaika0 2025-01-14 06:42:27 +03:00 committed by GitHub
parent a3704a1df4
commit d47a25850c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View File

@ -11,7 +11,6 @@
failOnWarning="true" failOnWarning="true"
cacheDirectory="build/.phpunit.cache"> cacheDirectory="build/.phpunit.cache">
<coverage <coverage
includeUncoveredFiles="true"
pathCoverage="false" pathCoverage="false"
ignoreDeprecatedCodeUnits="true" ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true"> disableCodeCoverageIgnore="true">

View File

@ -16,13 +16,11 @@ namespace CodeIgniter;
use CodeIgniter\Exceptions\DebugTraceableTrait; use CodeIgniter\Exceptions\DebugTraceableTrait;
use CodeIgniter\Exceptions\FrameworkException; use CodeIgniter\Exceptions\FrameworkException;
use CodeIgniter\Test\CIUnitTestCase; use CodeIgniter\Test\CIUnitTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Group; use PHPUnit\Framework\Attributes\Group;
/** /**
* @internal * @internal
*/ */
#[CoversClass(DebugTraceableTrait::class)]
#[Group('Others')] #[Group('Others')]
final class DebugTraceableTraitTest extends CIUnitTestCase final class DebugTraceableTraitTest extends CIUnitTestCase
{ {