You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Geolim4!
We are migrating our code to PHP8.4, we are using phpfastcache last version (9.2.3) (the bug report didn't allow me to choose 9.2.3, only 9.2.0)
We found a deprecation message when we call
new Phpfastcache\Drivers\Redis\Config();
Deprecated: Phpfastcache\Drivers\Redis\Config::setDatabase(): Implicitly marking parameter $database as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Redis/Config.php on line 101
If you were so kind to take a look ...
As we are in early migration stage can't tell if there are more phpfastcache calls that are not full php8.4 aware...
Thank you very much in advance,
Marcos
Expected behavior
No deprecation message
Code sample (optional)
new Phpfastcache\Drivers\Redis\Config();
Suggestion to fix the issue (optional)
No response
References (optional)
No response
Do you have anything more you want to share? (optional)
No response
Have you searched in our Wiki before posting ?
I have searched over the Wiki
The text was updated successfully, but these errors were encountered:
What type of issue is this?
Exception/Error/Warning/Notice/Deprecation
Operating system + version
ubuntu 22.04
PHP version
8.4.2
Connector/Database version (if applicable)
Redis
Phpfastcache version
9.2.0 ✅
Describe the issue you're facing
Hi Geolim4!
We are migrating our code to PHP8.4, we are using phpfastcache last version (9.2.3) (the bug report didn't allow me to choose 9.2.3, only 9.2.0)
We found a deprecation message when we call
new Phpfastcache\Drivers\Redis\Config();
Deprecated: Phpfastcache\Drivers\Redis\Config::setDatabase(): Implicitly marking parameter $database as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Drivers/Redis/Config.php on line 101
If you were so kind to take a look ...
As we are in early migration stage can't tell if there are more phpfastcache calls that are not full php8.4 aware...
Thank you very much in advance,
Marcos
Expected behavior
No deprecation message
Code sample (optional)
new Phpfastcache\Drivers\Redis\Config();
Suggestion to fix the issue (optional)
No response
References (optional)
No response
Do you have anything more you want to share? (optional)
No response
Have you searched in our Wiki before posting ?
The text was updated successfully, but these errors were encountered: