Sync with https://github.com/sebastianbergmann/phpunit-mock-objects/commit/028ea6d707b21f738a748a5e7a82197c75f595ed
Merge branch '3.8'