According to author it does not follow psr-4 so should it be defined in composer.json? https://github.com/sebastianbergmann/phpunit/issues/4168 Rendered warnings when used with ""optimize-autoloader": true," config.