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

Skip to content

Redis::scan(): Passing null to parameter #4 ($type) of type ?string is deprecated #51770

@ruudk

Description

@ruudk

Symfony version(s) affected

6.3.4

Description

Using Redis 6.0.1 I see this deprecation being reported on my CI:

Redis::scan(): Passing null to parameter #4 ($type) of type ?string is deprecated

I don't believe this will be fixed with #51754 (I know it's not yet tagged).

How to reproduce

I believe this happens when you create a Redis connection from the Cache component.

$client = RedisAdapter::createConnection(
    'redis://localhost'
);

Possible Solution

No response

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions