Skip to content

[phpunit-bridge] Cannot autoload class "\Symfony\Bridge\PhpUnit\SymfonyTestsListener" #26430

Closed
@yakobe

Description

@yakobe
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? yes/no
Symfony version 3.4.5

If you run install composer install --classmap-authoritative then running phpunit fails with the error Class "\Symfony\Bridge\PhpUnit\SymfonyTestsListener" does not exist.

The cause seems to be that the class is now just an alias and not a concrete class (see symfony/phpunit-bridge@48139af#diff-7f2565259188dda68869a0605b70c219L33) so composer cannot add this to the class map.

I am nut using simple-phpunit but a the phpunit defined in my composer require-dev because i wish to use johnkary/phpunit-speedtrap.

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