phpunit-progress
phpunit-progress copied to clipboard
allCompletlyImplemented was misspelled in PHPUnit before version 3.7
allCompletlyImplemented method name was corrected and it is allCompletelyImplemented now. The corrected function name is in the 3.7 version, so guard drops a fatal error with the fresh PHPUnit: Call to undefined method PHPUnit_Framework_TestResult::allCompletlyImplemented()
(https://github.com/sebastianbergmann/phpunit/issues/762)
Is there a good way to fix this without breaking it for all versions of PHPUnit prior to 3.7?
A wrapper class for PHPUnit_Framework_TestResult might work. It would needs a method to call the problematic function (allCompletlyImplemented /allCompletelyImplemented ) depending on the version of PHPUnit.