From 8f4b0dafaad2bd7c860fc3394decdf237b7c7626 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:30:18 +0000 Subject: [PATCH 1/3] chore(deps-dev): update rector/rector requirement from 1.2.6 to 1.2.7 Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/1.2.6...1.2.7) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From c8b9ea48eb624027353b3ea7a9920b198b55a709 Mon Sep 17 00:00:00 2001 From: Wolf Wortmann <7399618+element-code@users.noreply.github.com> Date: Tue, 15 Oct 2024 08:08:15 +0200 Subject: [PATCH 2/3] fix: change session start log level (#9221) * Change session start log level * Added changelog Signed-off-by: Wolf Wortmann <7399618+element-code@users.noreply.github.com> * Remove PR number from changelog Co-authored-by: Michal Sniatala --------- Signed-off-by: Wolf Wortmann <7399618+element-code@users.noreply.github.com> Co-authored-by: Michal Sniatala --- system/Session/Session.php | 2 +- user_guide_src/source/changelogs/v4.5.6.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/Session/Session.php b/system/Session/Session.php index 0aabcbe31d53..b522f63af5f2 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/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 `_ From bb650e12b82e5bd44f4fcd6648e190d5c86e716c Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 16 Oct 2024 02:56:50 +0700 Subject: [PATCH 3/3] fix invalid doc and regenerate baseline --- phpstan-baseline.php | 12 ------------ tests/system/Helpers/FilesystemHelperTest.php | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) 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;