Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ichrusciel/api-test-case not compatible with phpunit bridge #30373

Closed
vasilvestre opened this issue Feb 25, 2019 · 3 comments
Closed

ichrusciel/api-test-case not compatible with phpunit bridge #30373

vasilvestre opened this issue Feb 25, 2019 · 3 comments

Comments

@vasilvestre
Copy link
Contributor

Symfony version(s) affected:4.2

Description
After require of api-test case I got this error :

PHP Fatal error:  Class Symfony\Bridge\PhpUnit\Legacy\TestRunnerForV7 may not inherit from final class (PHPUnit\TextUI\TestRunner) in /srv/api/vendor/symfony/phpunit-bridge/Legacy/TestRunnerForV7.php on line 22

How to reproduce
New flex install
composer require --dev phpunit
composer require --dev lchrusciel/api-test-case
Launch a test that extend api test case

@ro0NL
Copy link
Contributor

ro0NL commented Feb 25, 2019

see #30085, #30055

@vasilvestre
Copy link
Contributor Author

Hm okay, thanks. Is there a temporary workaround?

@javiereguiluz
Copy link
Member

Closing as "fixed" because #30085 was merged. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants