Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated #54291

Copy link
Copy link
Closed
@AshrafOxid

Description

@AshrafOxid
Issue body actions

Symfony version(s) affected

6

Description

Calling str_contains when there is no last error will cause deprecation warning

How to reproduce

run integration test that you call remove method and you will have a deprecation warning with phpunit 10 on line 201 of file Filesystem.php

Possible Solution

Add default value to last error or maybe test if there is no error first

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.