Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PHP 8.4 compatibility (implicit nullable deprecation) [Geocoder\\Collection::slice(): Implicitly marking parameter $length as nullable is deprecated] #1244

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

Open
AnnoyingTechnology opened this issue Feb 6, 2025 · 2 comments

Comments

@AnnoyingTechnology
Copy link

I'm getting a deprecation warning with PHP 8.4 on

500 Geocoder\\Collection::slice(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead at line 41 in [REDACTED]/willdurand/geocoder/Collection.php

  • geocoder-php/open-cage-provider is 4.6.0
  • willdurand/geocoder is 4.6.0

Am I missing something, or is PHP 8.4 not supported at all yet ?

@Chris53897
Copy link
Contributor

#1240

@jbelien
Copy link
Member

jbelien commented Apr 16, 2025

Hello @AnnoyingTechnology,

I've just released PHP Geocoder Version 5 in all providers (see #1241).
Could you update your provider and check if the issue is still there?
Thanks.

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

No branches or pull requests

3 participants