Skip to content

AssertMethodTypeSpecifyingExtension does not target the correct class #103

Description

@nreynis

AssertMethodTypeSpecifyingExtension is narrowing types on TestCase but it should really operate on PHPUnit\Framework\Assert where the actual methods are implemented.

The current codebase means that you can have a working assertSomething method in your test case that breaks when you factorize it in a dedicated class (class SomethingAsserter extends Assert)

Activity

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