Removes incompatabilities to newer versions of phpunit