diff --git a/UPGRADE.md b/UPGRADE.md index 453dc3ee..93548d64 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1 +1,6 @@ # Upgrade Notes + +### 1.1.1 +Fix php_user_filter::filter interface: allow null value for `$consumed` +### 1.1.0 +Upgrade License diff --git a/phpstan.neon b/phpstan.neon index 652ce700..a3aa24a3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -7,3 +7,6 @@ parameters: symfony: containerXmlPath: %currentWorkingDirectory%/var/cache/test/TestKernelTestDebugContainer.xml constantHassers: false + ignoreErrors: + - '#Call to static method buildForEntity\(\) on an unknown class I18nBundle\\Builder\\RouteParameterBuilder\.#' + - '#Parameter \&\$consumed by-ref type of method SecureStorageBundle\\Encrypter\\OpenSslEncrypter::filter\(\) expects int, int\|null given\.#' \ No newline at end of file diff --git a/src/Encrypter/OpenSslEncrypter.php b/src/Encrypter/OpenSslEncrypter.php index cc91a868..8fbb22c5 100644 --- a/src/Encrypter/OpenSslEncrypter.php +++ b/src/Encrypter/OpenSslEncrypter.php @@ -189,7 +189,7 @@ private function decryptClosingData(): mixed return $processed; } - private function handleIv($in, $out, int &$consumed): void + private function handleIv($in, $out, ?int &$consumed): void { if ($this->iv !== null) { return;