Sync with sebastianbergmann/phpunit#746.