forked from zendframework/zf1
-
Notifications
You must be signed in to change notification settings - Fork 196
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
PHPUnit >= 5 compatibility #44
Comments
We just bootstrap with this file:
I'm not really sure as to what you're doing with all of that to be honest. |
Thank you soooooooooo much, I only needed this: class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase {}
class PHPUnit_Runner_Version extends \PHPUnit\Runner\Version {}
abstract class PHPUnit_Framework_Constraint extends \PHPUnit\Framework\Constraint\Constraint {}
abstract class PHPUnit_Framework_ExpectationFailedException extends \PHPUnit\Framework\ExpectationFailedException {} :-) |
@francescozanoni I'll just leave a note that in PHPUnit 8:
as I'm trying to find a combination of patches and placeholders for me to work :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, man.
Currently only PHPUnit < 5 is supported out-of-the-box.
My VERY DIRTY solution is the following script, executed after each
composer install
andcomposer update
:Couldn't this be achieved in a more elegant and convenient way? Any advice is welcome.
Thanks in advance!
Francesco
The text was updated successfully, but these errors were encountered: