Closed samnela closed 5 years ago
The forward compatibility was added in PHPUnit 4.8.35, this is why the Travis CI build passed
Thanks for informing me, not sure why I didn't check the rest of the src
directory. :+1: That's good then.
Would probably be nice to update PHPUnit anyway.
I feel like this would be a great idea, but it looks like it would be incompatible with the PHPUnit version that is being used by this library. It's currently hardcoded to use PHPUnit v5.7.5 specifically which doesn't have the newer
TestCase
class.See: https://github.com/sebastianbergmann/phpunit/blob/5.7.5/src/Framework/TestCase.php
The new
TestCase
class was added in PHPUnit v6.0.0 and later.