mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
chore: Fix phpunit deprecations (#9402)
* refactor: Remove unknown option * refactor: Remove deprecated `CoversTrait`
This commit is contained in:
parent
a3704a1df4
commit
d47a25850c
@ -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">
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user