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

phpspec/prophecy is now explicitely needed for tests #1540

Closed
DavidPrevot opened this issue Aug 28, 2022 · 1 comment
Closed

phpspec/prophecy is now explicitely needed for tests #1540

DavidPrevot opened this issue Aug 28, 2022 · 1 comment

Comments

@DavidPrevot
Copy link

Bug Report

Since PHPUnit dropped phpspec/prophecy from its dependencies (sebastianbergmann/phpunit#5033), the following errors are triggered when running the testsuite with latest PHPUnit.

There were 97 errors:

1) EmptyDirPluginTests::testPlugin
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".
[…]

Regards

David

@frankdejonge
Copy link
Member

The v1 doesn't use latest PHPUnit and v3 doesn't use phpspec. How did you get this error?

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

2 participants