镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open

Description

@AnnoyingTechnology

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 ?

Activity

  1. Chris53897 commented on Feb 11, 2025

    @Chris53897
    Contributor
  2. jbelien commented on Apr 16, 2025

    @jbelien
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions