Skip to content


Subversion checkout URL

You can clone with
Download ZIP


require_once is missed in PHPUnit/Framework/MockObject/Matcher/InvokedAtLeastOnce.php #92

yegor256 opened this Issue · 5 comments

2 participants


File PHPUnit/Framework/MockObject/Matcher/InvokedAtLeastOnce.php misses a very important line:

require_once 'PHPUnit/Framework/MockObject/Matcher/InvokedRecorder.php';


PHPUnit uses autoloading.


Why other files have require_once instructions?

PHPUnit 3.4.14 doesn't work properly with Phing 2.4. I had to downgrade it back to 3.4.0 to make it working. Everything because of the autoloading, which is not working for some reason in Phing.


I think that there should be some consistency. Either autoloading everywhere or require_once everywhere.


PHPUnit 3.4 is an old version that is no longer supported.


My fault, sorry. Thanks for your help.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.