Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/system/Models/ValidationModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ public function testValidationPassesWithMissingFields(): void
public function testValidationWithGroupName(): void
{
$config = new class () extends Validation {
/**
* @var array{'id': string, 'name': array{string, string}, 'token': string}
*/
public $grouptest = [
'id' => 'is_natural_no_zero',
'name' => [
Expand Down
2 changes: 1 addition & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# total 2117 errors
# total 2116 errors

includes:
- argument.type.neon
Expand Down
7 changes: 1 addition & 6 deletions utils/phpstan-baseline/missingType.property.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# total 102 errors
# total 101 errors

parameters:
ignoreErrors:
Expand Down Expand Up @@ -506,8 +506,3 @@ parameters:
message: '#^Property CodeIgniter\\Entity\\Entity@anonymous/tests/system/Models/UpdateModelTest\.php\:401\:\:\$updated_at has no type specified\.$#'
count: 1
path: ../../tests/system/Models/UpdateModelTest.php

-
message: '#^Property Config\\Validation@anonymous/tests/system/Models/ValidationModelTest\.php\:245\:\:\$grouptest has no type specified\.$#'
count: 1
path: ../../tests/system/Models/ValidationModelTest.php
Loading