Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8.4 Deprecation message #924

Open
1 task done
marcos-guerrero opened this issue Jan 22, 2025 · 1 comment
Open
1 task done

PHP8.4 Deprecation message #924

marcos-guerrero opened this issue Jan 22, 2025 · 1 comment
Assignees

Comments

@marcos-guerrero
Copy link

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 ?

  • I have searched over the Wiki
@marcos-guerrero marcos-guerrero changed the title <NAME THE FEATURE> - <SUMMARIZE THE PROBLEM> PHP8.4 Deprecation messaga Jan 22, 2025
@Geolim4
Copy link
Member

Geolim4 commented Jan 22, 2025

Hello,

Thanks, I'll take a look tonight !

@marcos-guerrero marcos-guerrero changed the title PHP8.4 Deprecation messaga PHP8.4 Deprecation message Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants