Skip to content

Conversation

@RhysLees
Copy link

@RhysLees RhysLees commented Apr 21, 2025

This Pr fixes Deprecation warnings for implicit nullable parameters

DEPRECATED Saloon\RateLimitPlugin\Limit::__construct(): Implicitly marking parameter $responseHandler as nullable is deprecated, the explicit nullable type must be used instead in vendor/saloonphp/rate-limit-plugin/src/Limit.php on line 72.

DEPRECATED Saloon\RateLimitPlugin\Limit::exceeded(): Implicitly marking parameter $releaseInSeconds as nullable is deprecated, the explicit nullable type must be used instead in vendor/saloonphp/rate-limit-plugin/src/Limit.php on line 126.

Fixes #15

@RhysLees
Copy link
Author

Hey @Sammyjo20 is there anything else i can do to help get this merged?

@patrickomeara
Copy link

I just came across this as well. Thanks for the fix @RhysLees

@christiancourtois
Copy link

My team is running into this exact issue as well as we recently upgraded to PHP 8.4. Our Papertail logs have tons of deprecation warnings. Any help getting this merged in ASAP would be greatly appreciated.

Tagging the contributors for visibility. @Sammyjo20 @edwinvdpol

@johntrickett86
Copy link

@Sammyjo20 Getting the same issues

@Sammyjo20
Copy link
Member

Hey all, firstly massive apologies for dropping the ball on this one.

Secondly I have merged #18 which fixes these same issues.

Have a great weekend 🥳

@Sammyjo20
Copy link
Member

Fixed in #18

@Sammyjo20 Sammyjo20 closed this Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update syntax to php 8.4

5 participants