Skip to content

Commit 6804e04

Browse files
authored
chore: update phpunit dependency (#241)
* chore: update dependencies * fix phpstan * fix rector
1 parent f13e5df commit 6804e04

File tree

7 files changed

+591
-467
lines changed

7 files changed

+591
-467
lines changed

composer.lock

Lines changed: 578 additions & 466 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_support/DatabaseTestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support;
46

57
use CodeIgniter\Database\Seeder;
@@ -42,7 +44,7 @@ abstract class DatabaseTestCase extends CIUnitTestCase
4244
* Note that running "all" runs migrations in date order,
4345
* but specifying namespaces runs them in namespace order (then date)
4446
*
45-
* @var array|string|null
47+
* @var list<string>|string|null
4648
*/
4749
protected $namespace = 'App';
4850

tests/_support/FeatureTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support;
46

57
use CodeIgniter\Router\RouteCollection;

tests/database/FakerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use App\Entities\Dungeon;
46
use App\Entities\Monster;
57
use App\Models\DungeonModel;

tests/database/HeroTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use App\Models\HeroModel;
46
use Tests\Support\DatabaseTestCase;
57

tests/feature/HomeTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Tests\Support\FeatureTestCase;
46

57
/**

tests/unit/HealthTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use CodeIgniter\Test\CIUnitTestCase;
46
use Config\App;
57
use Tests\Support\Libraries\ConfigReader;

0 commit comments

Comments
 (0)