Issues (31)

config/module.config.php (3 issues)

Labels
Severity
1
<?php
2
3
use ConferenceTools\Checkin\AntiCorruption;
4
use ConferenceTools\Checkin\Cli\Command as CliCommand;
5
use ConferenceTools\Checkin\Controller;
6
use ConferenceTools\Checkin\Domain\Command;
7
use ConferenceTools\Checkin\Domain\CommandHandler;
8
use ConferenceTools\Checkin\Domain\Event;
9
use ConferenceTools\Checkin\Domain\ProcessManager;
10
use ConferenceTools\Checkin\Domain\Projection;
11
use ConferenceTools\Checkin\Service\Factory;
12
13
return [
14
    'router' => [
15
        'routes' => require __DIR__ . '/routes.config.php',
16
    ],
17
    'asset_manager' => require __DIR__ . '/asset.config.php',
18
    'service_manager' => [
19
        'factories' => [
20
        ],
21
        'abstract_factories' => [
22
            \Zend\Log\LoggerAbstractServiceFactory::class,
23
        ],
24
    ],
25
    'cli_commands' => [
26
        'factories' => [
27
            CliCommand\GenerateQR::class => CliCommand\GenerateQRFactory::class,
28
            CliCommand\ImportExistingTickets::class => CliCommand\ImportExistingTicketsFactory::class,
29
        ],
30
    ],
31
    'command_handlers' => [
32
        'factories' => [
33
            CommandHandler\Delegate::class => Factory\CommandHandler\Delegate::class
34
        ],
35
    ],
36
    'process_managers' => [
37
        'factories' => [
38
            ProcessManager\ImportPurchase::class => Factory\ProcessManager\ImportPurchase::class,
39
        ],
40
    ],
41
    'command_subscriptions' => [
42
        Command\Delegate\CheckInDelegate::class => CommandHandler\Delegate::class,
43
        Command\Delegate\RegisterDelegate::class => CommandHandler\Delegate::class,
44
        Command\Delegate\UpdateDelegateInformation::class => CommandHandler\Delegate::class,
45
    ],
46
    'event_listeners' => [
47
        'factories' => [
48
            AntiCorruption\TicketMappingListener::class => AntiCorruption\TicketMappingListenerFactory::class
49
        ],
50
    ],
51
    'projections' => [
52
        'factories' => [
53
            Projection\Delegate::class => Factory\Projection\Delegate::class,
54
        ],
55
    ],
56
    'domain_event_subscriptions' => [
57
        Event\Delegate\DelegateCheckedIn::class => [
58
            Projection\Delegate::class,
59
        ],
60
        Event\Delegate\DelegateInformationUpdated::class => [
61
            Projection\Delegate::class,
62
        ],
63
        Event\Delegate\DelegateRegistered::class => [
64
            Projection\Delegate::class,
65
            ProcessManager\ImportPurchase::class,
66
        ],
67
68
        Event\Purchase\TicketPurchasePaid::class => [
69
            ProcessManager\ImportPurchase::class,
70
        ],
71
        Event\Purchase\TicketAssigned::class => [
72
            ProcessManager\ImportPurchase::class,
73
        ],
74
        \ConferenceTools\Checkin\Domain\Event\Purchase\TicketCreated::class => [
75
            \ConferenceTools\Checkin\Domain\ProcessManager\ImportPurchase::class,
76
        ],
77
78
        // EXTERNAL EVENTS
79
        \ConferenceTools\Tickets\Domain\Event\Ticket\TicketPurchasePaid::class => [
0 ignored issues
show
The type ConferenceTools\Tickets\...cket\TicketPurchasePaid 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...
80
            AntiCorruption\TicketMappingListener::class,
81
        ],
82
        \ConferenceTools\Tickets\Domain\Event\Ticket\TicketAssigned::class => [
0 ignored issues
show
The type ConferenceTools\Tickets\...t\Ticket\TicketAssigned 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...
83
            AntiCorruption\TicketMappingListener::class,
84
        ],
85
        \ConferenceTools\Tickets\Domain\Event\Ticket\TicketReserved::class => [
0 ignored issues
show
The type ConferenceTools\Tickets\...t\Ticket\TicketReserved 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...
86
            \ConferenceTools\Checkin\AntiCorruption\TicketMappingListener::class,
87
        ],
88
    ],
89
    'controllers' => [
90
        'factories' => [
91
            Controller\CheckInController::class => Controller\CheckInControllerFactory::class
92
        ],
93
    ],
94
    'form_elements' => [
95
        'factories' => [
96
        ],
97
    ],
98
    'input_filters' => [
99
        'abstract_factories' => [
100
        ],
101
    ],
102
    'input_filter_specs' => [
103
    ],
104
    'view_helpers' => [
105
        'invokables' => [
106
        ],
107
        'factories' => [
108
        ],
109
    ],
110
    'view_manager' => [
111
        'display_not_found_reason' => false,
112
        'display_exceptions' => false,
113
        'doctype' => 'HTML5',
114
        'not_found_template' => 'error/404',
115
        'exception_template' => 'error/index',
116
        'template_map' => [
117
            'checkin/layout' => __DIR__ . '/../view/layout/layout.phtml',
118
            'error/404' => __DIR__ . '/../view/error/404.phtml',
119
            'error/index' => __DIR__ . '/../view/error/index.phtml',
120
            'checkin/check-in/search' => __DIR__ . '/../view/checkin/checkin/search.phtml',
121
        ],
122
        'controller_map' => [
123
            'ConferenceTools\Checkin\Controller' => 'checkin',
124
        ],
125
    ],
126
    'zfc_rbac' => [
127
        'guards' => [
128
            'ZfcRbac\Guard\RouteGuard' => [
129
                'admin/*' => ['admin'],
130
            ],
131
        ],
132
    ],
133
    'doctrine' => [
134
        'driver' => [
135
            'conferencetools_checkin_read_orm_driver' => [
136
                'class' =>'Doctrine\ORM\Mapping\Driver\AnnotationDriver',
137
                'cache' => 'array',
138
                'paths' => [__DIR__ . '/../src/Domain/ReadModel']
139
            ],
140
            'orm_default' => [
141
                'drivers' => [
142
                    'ConferenceTools\Checkin\Domain\ReadModel' => 'conferencetools_checkin_read_orm_driver',
143
                    'ConferenceTools\Checkin\Domain\ValueObject' => 'conferencetools_checkin_read_orm_driver',
144
                ],
145
            ],
146
        ],
147
    ],
148
    'log' => [
149
        'Log\\Application' => [
150
            'writers' => [
151
                [
152
                    'name' => 'syslog',
153
                ],
154
            ],
155
        ],
156
        'Log\\CommandBusLog'  => [
157
            'writers' => [
158
                [
159
                    'name' => 'syslog',
160
                ],
161
            ],
162
        ],
163
        'Log\\EventManagerLog'  => [
164
            'writers' => [
165
                [
166
                    'name' => 'syslog',
167
                ],
168
            ],
169
        ],
170
    ],
171
    'message_handlers' => [
172
        'CommandHandlerManager' => [
173
            'logger' => 'Log\\Application',
174
        ],
175
        'ProjectionManager' => [
176
            'logger' => 'Log\\Application',
177
        ],
178
        'EventListenerManager' => [
179
            'logger' => 'Log\\Application',
180
        ],
181
        'EventSubscriberManager' => [
182
            'logger' => 'Log\\Application',
183
        ],
184
    ],
185
];
186