diff --git a/composer.json b/composer.json index 0e9dc900332f..25feb563d27b 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 11c0dd18201c..7cb8e21eb180 100644 --- a/phpstan-baseline.php +++ b/phpstan-baseline.php @@ -15019,18 +15019,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/system/Session/Session.php b/system/Session/Session.php index cf11e92f6274..4b4e5dca4118 100644 --- a/system/Session/Session.php +++ b/system/Session/Session.php @@ -258,7 +258,7 @@ public function start() } $this->initVars(); - $this->logger->info("Session: Class initialized using '" . $this->config->driver . "' driver."); + $this->logger->debug("Session: Class initialized using '" . $this->config->driver . "' driver."); return $this; } 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; diff --git a/user_guide_src/source/changelogs/v4.5.6.rst b/user_guide_src/source/changelogs/v4.5.6.rst index 33e3e5a1a0ab..e454409fc6a8 100644 --- a/user_guide_src/source/changelogs/v4.5.6.rst +++ b/user_guide_src/source/changelogs/v4.5.6.rst @@ -29,6 +29,7 @@ Deprecations ********** Bugs Fixed ********** +- **Session Library:** The session initialization debug message now uses the correct log type "debug" instead of "info". See the repo's `CHANGELOG.md `_