The type Foo\TestBundle\FooTestBundle 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:
The trait Symfony\Bundle\Framework...Kernel\MicroKernelTrait requires the property $instanceof which is not provided by loophp\GoUnflocYourselfB...sts\Fixtures\App\Kernel.
Loading history...
23
24
public function registerBundles()
25
{
26
return [
27
new GoUnflocYourselfBundle(),
28
new FrameworkBundle(),
29
];
30
}
31
32
protected function configureContainer(ContainerConfigurator $container): void
33
{
34
$container->extension(
35
'framework',
36
[
37
'secret' => 'secret',
38
'test' => true,
39
'router' => ['utf8' => true],
40
'secrets' => false,
41
]
42
);
43
}
44
45
protected function configureRoutes(RoutingConfigurator $routes): void
46
{
47
foreach (glob(__DIR__ . '/config/*.yaml') as $file) {
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