Skip to content

Request : Issue with the 'TestCase' class alias in bootstrap file #1671

@El-Sam

Description

@El-Sam

Hi, first of all, thanks for this library, it's of a great help.

I'm using PHPUnit 6 for my unit tests.

In the bootstrap.php file in PHP_CodeSniffer/tests , a class alias is created, this alias causes Multiple definitions exist for class TestCase issue in my IDE (PHPStorm).

This breaks a lot of features that speed up my testing like code completion. So, I think you should remove this alias or handle it in another way that you find convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions