Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@yakobe

Description

@yakobe
Issue body actions
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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.