Skip to content

Commit e097f6c

Browse files
committed
chore: use PHPStan dynamicConstantNames
1 parent 4fd2f53 commit e097f6c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ parameters:
2323
- APP_NAMESPACE
2424
- CI_DEBUG
2525
- ENVIRONMENT
26+
- CodeIgniter\CodeIgniter::CI_VERSION

tests/Commands/UserModelGeneratorTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ protected function setUp(): void
1919
{
2020
parent::setUp();
2121

22-
// @phpstan-ignore-next-line
2322
if (version_compare(CodeIgniter::CI_VERSION, '4.3.0', '>=')) {
2423
CITestStreamFilter::registration();
2524
CITestStreamFilter::addOutputFilter();
@@ -42,7 +41,6 @@ protected function tearDown(): void
4241
{
4342
parent::tearDown();
4443

45-
// @phpstan-ignore-next-line
4644
if (version_compare(CodeIgniter::CI_VERSION, '4.3.0', '>=')) {
4745
CITestStreamFilter::removeOutputFilter();
4846
CITestStreamFilter::removeErrorFilter();

0 commit comments

Comments
 (0)