Skip to content

[PHPUnitBridge] ExpectDeprecationTrait::expectDeprecation() conflicts with TestCase::expectDeprecation() #37133

Closed
@phansys

Description

@phansys

Symfony version(s) affected: 5.1.0

Description

ExpectDeprecationTrait::expectDeprecation() conflicts with TestCase::expectDeprecation(), which was introduced in phpunit/phpunit:8.4.0.

How to reproduce

Use SYMFONY_PHPUNIT_VERSION=8.4.0.

Possible Solution

Update the method name, like suggested at #35192 (comment).

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