The type PHPUnit\Framework\TestCase was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
Are you sure the usage of $this->primate->get(Prim...s\ContainerTest::class) targeting Primate\Container\ContainerInterface::get() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths