diff --git a/tests/system/Models/SaveModelTest.php b/tests/system/Models/SaveModelTest.php index b2bdaa2a4103..be77d958ff7f 100644 --- a/tests/system/Models/SaveModelTest.php +++ b/tests/system/Models/SaveModelTest.php @@ -291,7 +291,6 @@ public function testSaveNewEntityWithDate(): void protected $returnType = 'object'; protected $useSoftDeletes = true; protected $dateFormat = 'date'; - public $name = ''; }; $entity->name = 'Mark'; @@ -370,7 +369,6 @@ public function testUseAutoIncrementSetToFalseSaveObject(): void public function testSaveNewEntityWithMappedPrimaryKey(): void { $entity = new class () extends Entity { - protected string $name; protected $attributes = [ 'id' => null, 'name' => null, diff --git a/utils/phpstan-baseline/loader.neon b/utils/phpstan-baseline/loader.neon index 65057bd0736b..c065fa299fd3 100644 --- a/utils/phpstan-baseline/loader.neon +++ b/utils/phpstan-baseline/loader.neon @@ -1,4 +1,4 @@ -# total 2063 errors +# total 2062 errors includes: - argument.type.neon diff --git a/utils/phpstan-baseline/missingType.property.neon b/utils/phpstan-baseline/missingType.property.neon index 2dce190bf003..451773e8bc5d 100644 --- a/utils/phpstan-baseline/missingType.property.neon +++ b/utils/phpstan-baseline/missingType.property.neon @@ -1,4 +1,4 @@ -# total 48 errors +# total 47 errors parameters: ignoreErrors: @@ -236,8 +236,3 @@ parameters: message: '#^Property CodeIgniter\\Database\\Live\\MySQLi\\NumberNativeTest\:\:\$tests has no type specified\.$#' count: 1 path: ../../tests/system/Database/Live/MySQLi/NumberNativeTest.php - - - - message: '#^Property CodeIgniter\\Model@anonymous/tests/system/Models/SaveModelTest\.php\:286\:\:\$name has no type specified\.$#' - count: 1 - path: ../../tests/system/Models/SaveModelTest.php