8000 [PhpUnitBridge] not compatible with latest phpunit · Issue #21125 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[PhpUnitBridge] not compatible with latest phpunit #21125
Closed
@garak

Description

@garak
Q A
Bug report? no
Feature request? yes
BC Break report? yes
RFC? yes
Symfony version 3.3.*-dev

I tried to use phpunit-bridge with latest phpunit (^6.0@dev, will be stable next month), it does not work due to changes in phpunit itself.

Error: Class 'PHPUnit_Util_ErrorHandler' not found.

Since phpunit (at last) switched to namespaces, the current class is PHPUnit\Util\ErrorHandler, not PHPUnit_Util_ErrorHandler any more.

I see that supporting this is a BC break, so maybe we could provide a compatibility layer to old phpunit?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0