mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 12:37:46 +02:00
refactor: add phpstan and update code to adhere to level 5
- move and refactor Image.php from Libraries to Entities folder - update some database field names / types - update composer packages
This commit is contained in:
parent
b691b927fe
commit
231d578d64
148 changed files with 11189 additions and 11421 deletions
|
|
@ -5,6 +5,9 @@ namespace Tests\Support;
|
|||
use CodeIgniter\Test\CIUnitTestCase;
|
||||
use CodeIgniter\Test\DatabaseTestTrait;
|
||||
|
||||
/**
|
||||
* @phpstan-ignore-next-line
|
||||
*/
|
||||
class DatabaseTestCase extends CIUnitTestCase
|
||||
{
|
||||
use DatabaseTestTrait;
|
||||
|
|
@ -20,7 +23,7 @@ class DatabaseTestCase extends CIUnitTestCase
|
|||
* The seed file(s) used for all tests within this test case.
|
||||
* Should be fully-namespaced or relative to $basePath
|
||||
*
|
||||
* @var string|array
|
||||
* @var string|string[]
|
||||
*/
|
||||
protected $seed = 'Tests\Support\Database\Seeds\ExampleSeeder';
|
||||
|
||||
|
|
@ -38,7 +41,7 @@ class DatabaseTestCase extends CIUnitTestCase
|
|||
* Note that running "all" runs migrations in date order,
|
||||
* but specifying namespaces runs them in namespace order (then date)
|
||||
*
|
||||
* @var string|array|null
|
||||
* @var string|string[]|null
|
||||
*/
|
||||
protected $namespace = 'Tests\Support';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue