Failed Conditions
Push — master ( 51347b...4787ce )
by Adrien
08:37
created

config/autoload/dependencies.global.php (2 issues)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
return [
6
    // Provides application-wide services.
7
    // We recommend using fully-qualified class names whenever possible as
8
    // service names.
9
    'dependencies' => [
10
        // Use 'aliases' to alias a service name to another service. The
11
        // key is the alias name, the value is the service to which it points.
12
        'aliases' => [
13
            \Doctrine\ORM\EntityManager::class => 'doctrine.entity_manager.orm_default',
14
        ],
15
        // Use 'invokables' for constructor-less services, or services that do
16
        // not require arguments to the constructor. Map a service name to the
17
        // class name.
18
        'invokables' => [
19
            \Doctrine\ORM\Mapping\UnderscoreNamingStrategy::class => \Doctrine\ORM\Mapping\UnderscoreNamingStrategy::class,
20
            \Ecodev\Felix\DBAL\Logging\ForwardSQLLogger::class,
21
        ],
22
        // Use 'factories' for services provided by callbacks/factory classes.
23
        'factories' => [
24
            \Application\Middleware\AuthenticationMiddleware::class => \Application\Middleware\AuthenticationFactory::class,
25
            'doctrine.entity_manager.orm_default' => \Application\ORM\EntityManagerFactory::class,
26
            \Ecodev\Felix\Action\GraphQLAction::class => \Application\Action\GraphQLFactory::class,
27
            \GraphQL\Doctrine\Types::class => \Application\Api\TypesFactory::class,
28
            \Ecodev\Felix\Action\ImageAction::class => \Application\Action\ImageFactory::class,
29
            \Application\Action\AccountingDocumentAction::class => \Application\Action\AccountingDocumentFactory::class,
30
            \Application\Action\DatatransAction::class => \Application\Action\DatatransFactory::class,
31
            \Application\Action\ExportTransactionLinesAction::class => \Application\Action\ExportTransactionLinesFactory::class,
32
            \Application\Action\ExportAccountingReportAction::class => \Application\Action\ExportAccountingReportFactory::class, \Ecodev\Felix\Service\ImageResizer::class => \Ecodev\Felix\Service\ImageResizerFactory::class,
2 ignored issues
show
The type Application\Action\ExportAccountingReportAction 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
The type Application\Action\ExportAccountingReportFactory 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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
33
            \Imagine\Image\ImagineInterface::class => \Ecodev\Felix\Service\ImagineFactory::class,
34
            \Ecodev\Felix\Service\Mailer::class => \Application\Service\MailerFactory::class,
35
            \Application\Service\MessageQueuer::class => \Application\Service\MessageQueuerFactory::class,
36
            \Application\Service\Invoicer::class => \Application\Service\InvoicerFactory::class,
37
            \Laminas\View\Renderer\RendererInterface::class => \Ecodev\Felix\Service\RendererFactory::class,
38
            \Laminas\Mail\Transport\TransportInterface::class => \Ecodev\Felix\Service\TransportFactory::class,
39
            \Ecodev\Felix\Log\DbWriter::class => \Application\Log\DbWriterFactory::class,
40
            \Laminas\Log\LoggerInterface::class => \Ecodev\Felix\Log\LoggerFactory::class,
41
            \Ecodev\Felix\Service\MessageRenderer::class => \Ecodev\Felix\Service\MessageRendererFactory::class,
42
        ],
43
    ],
44
];
45