The type Bdf\Queue\Connection\Prime\PrimeConnection 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:
class PrimeConnectionFactory implements ConnectionDriverConfiguratorInterface
17
{
18
/**
19
* @var ContainerInterface
20
*/
21
private $container;
22
23
/**
24
* @param ContainerInterface $container
25
*/
26
4
public function __construct(ContainerInterface $container)
27
{
28
4
$this->container = $container;
29
4
}
30
31
/**
32
* {@inheritDoc}
33
*/
34
4
public function getSupportedDrivers(): array
35
{
36
4
return ['prime'];
37
}
38
39
/**
40
* {@inheritDoc}
41
*/
42
1
public function configure(Configuration $config, SerializerInterface $serializer): ConnectionDriverInterface
43
{
44
1
if (!class_exists(PrimeConnection::class)) {
45
throw new \LogicException('Could not create the prime connection bdf-queue. Try to composer require "b2pweb/bdf-queue-prime-adapter" to add this class.');
46
}
47
48
1
$connection = new PrimeConnection($config->getConnection(), $serializer, $this->container->get('prime')->connections());
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