From d3c680db2a2bcf19448a92a8740714b03d56a7d8 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Wed, 25 Nov 2026 18:22:37 +0800 Subject: [PATCH] chore: bump to phpstan-codeigniter v2.4.1 --- admin/docs-phpstan-baseline.php | 8 -------- composer.json | 2 +- tests/system/DataCaster/EncryptedCastTest.php | 4 ++-- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/admin/docs-phpstan-baseline.php b/admin/docs-phpstan-baseline.php index 438498ef4451..53592f34816d 100644 --- a/admin/docs-phpstan-baseline.php +++ b/admin/docs-phpstan-baseline.php @@ -92,14 +92,6 @@ ], ], - [ - 'identifier' => 'codeigniter.castHandlerNotRegistered', - 'paths' => [ - 'docs/models/entities.md:581', - 'docs/models/model.md:500', - ], - ], - [ 'identifier' => 'codeigniter.languageLineNotFound', 'paths' => [ diff --git a/composer.json b/composer.json index 6a25c56e3fb9..37772ad26e27 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ }, "require-dev": { "boundwize/structarmed": "^0.22", - "codeigniter/phpstan-codeigniter": "^2.4", + "codeigniter/phpstan-codeigniter": "^2.4.1", "fakerphp/faker": "^1.24", "kint-php/kint": "^6.1.1", "mikey179/vfsstream": "^1.6.12", diff --git a/tests/system/DataCaster/EncryptedCastTest.php b/tests/system/DataCaster/EncryptedCastTest.php index 0910551f472f..35232a29342b 100644 --- a/tests/system/DataCaster/EncryptedCastTest.php +++ b/tests/system/DataCaster/EncryptedCastTest.php @@ -209,7 +209,7 @@ public function testEntityStoresEncryptedRawValueAndReturnsPlaintext(): void { $entity = new class () extends Entity { protected $casts = [ - 'secret' => 'encrypted', // @phpstan-ignore codeigniter.castHandlerNotRegistered + 'secret' => 'encrypted', ]; }; @@ -227,7 +227,7 @@ public function testEntityStoresEncryptedJsonRawValueAndReturnsPlainValue(): voi { $entity = new class () extends Entity { protected $casts = [ - 'settings' => 'encrypted-json-array', // @phpstan-ignore codeigniter.castHandlerNotRegistered + 'settings' => 'encrypted-json-array', ]; };