Codeception / Stub

Flexible Stub wrapper for PHPUnit's Mock Builder
MIT License
296 stars 17 forks source link

Mark PHPUnit mandatory #9

Closed Slamdunk closed 6 years ago

Slamdunk commented 6 years ago

Closes https://github.com/Codeception/Stub/issues/8

Requiring phpunit/phpunit-mock-objects forbids PHPUnit >= 7.2 since https://github.com/sebastianbergmann/phpunit/issues/3103

Since from PHPUnit 7.2 you will be able to use this library only with the entire PHPUnit library, but we also need backward compatibility, the unique way is to always require the full library.

Slamdunk commented 6 years ago

Ping @Naktibalda

Naktibalda commented 6 years ago

Thanks, older versions of phpunit will install phpunit-mock-objects as a dependency.