10000 Avoid phpunit 5.6 warnings on getMock in AbstractConstraintValidatorTest · Issue #20913 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Avoid phpunit 5.6 warnings on getMock in AbstractConstraintValidatorTest #20913
Closed
@ste93cry

Description

@ste93cry
Q A
Bug report? no
Feature request? no
BC Break report? no
RFC? no
Symfony version 2.7+

Trying to use PHPUnit 5.6 on Symfony 2.7+ results in a lot of deprecation warnings if the base class of the test is AbstractConstraintValidatorTest. The PR #19129 was merged to fix the same issue, however the change has been applied against the class ConstraintValidatorTestCase which is available since Symfony 3.2. I could provide a PR for the 2.7+ branches, if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0