phpunit-progress icon indicating copy to clipboard operation
phpunit-progress copied to clipboard

allCompletlyImplemented was misspelled in PHPUnit before version 3.7

Open adammbalogh opened this issue 12 years ago • 2 comments

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)

adammbalogh avatar Jan 14 '13 21:01 adammbalogh

Is there a good way to fix this without breaking it for all versions of PHPUnit prior to 3.7?

ryanplasma avatar Jan 18 '13 15:01 ryanplasma

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.

adammbalogh avatar Jan 20 '13 20:01 adammbalogh