diff --git a/composer.json b/composer.json index 1caf40d2c832..30c422611595 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "phpunit/phpcov": "^9.0.2 || ^10.0", "phpunit/phpunit": "^10.5.16 || ^11.2", "predis/predis": "^1.1 || ^2.0", - "rector/rector": "1.2.6" + "rector/rector": "1.2.7" }, "replace": { "codeigniter4/framework": "self.version" diff --git a/phpstan-baseline.php b/phpstan-baseline.php index 1ba751d7c11d..ea228647c992 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -15145,18 +15145,6 @@ 'count' => 2, 'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php', ]; -$ignoreErrors[] = [ - // identifier: property.phpDocType - 'message' => '#^PHPDoc tag @var for property CodeIgniter\\\\Helpers\\\\FilesystemHelperTest\\:\\:\\$structure with type mixed is not subtype of native type array\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php', -]; -$ignoreErrors[] = [ - // identifier: missingType.iterableValue - 'message' => '#^Property CodeIgniter\\\\Helpers\\\\FilesystemHelperTest\\:\\:\\$structure type has no value type specified in iterable type array\\.$#', - 'count' => 1, - 'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php', -]; $ignoreErrors[] = [ // identifier: argument.type 'message' => '#^Parameter \\#2 \\$value of function form_hidden expects array\\|string, null given\\.$#', diff --git a/tests/system/Helpers/FilesystemHelperTest.php b/tests/system/Helpers/FilesystemHelperTest.php index ad169cf3b58b..a8ee76d6ab09 100644 --- a/tests/system/Helpers/FilesystemHelperTest.php +++ b/tests/system/Helpers/FilesystemHelperTest.php @@ -25,7 +25,7 @@ final class FilesystemHelperTest extends CIUnitTestCase { /** - * @var array>>|array>|array>|array|array|mixed + * @var array>>|array>|array>|array|array */ private array $structure;