Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Yii Framework 2 redis extension Change Log
2.0.21 under development
------------------------

- Fix #278: Prevent null parameter on SocketException to avoid PHP 8.4 implicity nullable types deprecation (HenryVolkmer)
- New #276: Added support for predis (antonshevelev)
- New #276: Changed default value of yii\redis\Cache::$forceClusterMode to false (antonshevelev)
- New #276: Implemented yii\redis\ConnectionInterface in yii\redis\Connection (antonshevelev)
Expand Down
3 changes: 2 additions & 1 deletion src/SocketException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @link https://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
Expand All @@ -15,7 +16,7 @@
*/
class SocketException extends Exception
{
public function __construct($message = null, $code = 0, \Exception $previous = null)
public function __construct($message = null, $code = 0, ?\Exception $previous = null)
{
if (!YII_DEBUG) {
$message = preg_replace('~AUTH \S+ \S+~', 'AUTH *** ***', $message);
Expand Down
Loading