@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | use Core\Service\Tracy; |
24 | 24 | use Laminas\I18n\Translator\Resources; |
25 | 25 | |
26 | -$doctrineConfig = include __DIR__ . '/doctrine.config.php'; |
|
26 | +$doctrineConfig = include __DIR__.'/doctrine.config.php'; |
|
27 | 27 | |
28 | 28 | |
29 | 29 | return array( |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | ], |
73 | 73 | |
74 | 74 | 'options' => [ |
75 | - 'Core/MailServiceOptions' => [ 'class' => '\Core\Options\MailServiceOptions' ], |
|
75 | + 'Core/MailServiceOptions' => ['class' => '\Core\Options\MailServiceOptions'], |
|
76 | 76 | ], |
77 | 77 | |
78 | 78 | 'Core' => array( |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | 'name' => 'stream', |
136 | 136 | 'priority' => 1000, |
137 | 137 | 'options' => [ |
138 | - 'stream' => getcwd() . '/var/log/mailqueue.log', |
|
138 | + 'stream' => getcwd().'/var/log/mailqueue.log', |
|
139 | 139 | 'formatter' => [ |
140 | 140 | 'name' => 'simple', |
141 | 141 | 'options' => [ |
@@ -371,19 +371,19 @@ discard block |
||
371 | 371 | 'modules/Core/jsonEntityHydrator' => 'Core\Entity\Hydrator\JsonEntityHydratorFactory', |
372 | 372 | 'Core/EntityHydrator' => 'Core\Entity\Hydrator\EntityHydratorFactory', |
373 | 373 | 'Core/Options' => 'Core\Factory\ModuleOptionsFactory', |
374 | - 'Core/DoctrineMongoODM/RepositoryEvents' => [\Core\Repository\DoctrineMongoODM\Event\RepositoryEventsSubscriber::class,'factory'], |
|
375 | - 'DefaultListeners' => ['Core\Listener\DefaultListener','factory'], |
|
376 | - 'templateProviderStrategy' => ['Core\Form\Hydrator\Strategy\TemplateProviderStrategy','factory'], |
|
377 | - 'Core/Listener/DeferredListenerAggregate' => [\Core\Listener\DeferredListenerAggregate::class,'factory'], |
|
374 | + 'Core/DoctrineMongoODM/RepositoryEvents' => [\Core\Repository\DoctrineMongoODM\Event\RepositoryEventsSubscriber::class, 'factory'], |
|
375 | + 'DefaultListeners' => ['Core\Listener\DefaultListener', 'factory'], |
|
376 | + 'templateProviderStrategy' => ['Core\Form\Hydrator\Strategy\TemplateProviderStrategy', 'factory'], |
|
377 | + 'Core/Listener/DeferredListenerAggregate' => [\Core\Listener\DeferredListenerAggregate::class, 'factory'], |
|
378 | 378 | 'Core/Listener/CreatePaginator' => 'Core\Listener\CreatePaginatorListener::factory', |
379 | 379 | 'Core/Locale' => 'Core\I18n\LocaleFactory', |
380 | 380 | \Core\Listener\AjaxRouteListener::class => \Core\Factory\Listener\AjaxRouteListenerFactory::class, |
381 | 381 | \Core\Listener\DeleteImageSetListener::class => \Core\Factory\Listener\DeleteImageSetListenerFactory::class, |
382 | 382 | 'Imagine' => \Core\Factory\Service\ImagineFactory::class, |
383 | - 'Core/Listener/Notification' => [\Core\Listener\NotificationListener::class,'factory'], |
|
384 | - 'Tracy' => [Tracy::class,'factory'], |
|
383 | + 'Core/Listener/Notification' => [\Core\Listener\NotificationListener::class, 'factory'], |
|
384 | + 'Tracy' => [Tracy::class, 'factory'], |
|
385 | 385 | Service\EntityEraser\DefaultEntityLoaderListener::class => Service\EntityEraser\DefaultEntityLoaderListenerFactory::class, |
386 | - ClearCacheService::class => [ClearCacheService::class,'factory'], |
|
386 | + ClearCacheService::class => [ClearCacheService::class, 'factory'], |
|
387 | 387 | Listener\ModuleVersionAdminWidgetProvider::class => Listener\ModuleVersionAdminWidgetProviderFactory::class, |
388 | 388 | Queue\Worker\MongoWorker::class => \SlmQueue\Factory\WorkerFactory::class, |
389 | 389 | 'Core/HtmlPurifier' => \Core\Factory\Service\HtmlPurifierFactory::class |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | 'translation_file_patterns' => array( |
410 | 410 | [ |
411 | 411 | 'type' => 'gettext', |
412 | - 'base_dir' => __DIR__ . '/../language', |
|
412 | + 'base_dir' => __DIR__.'/../language', |
|
413 | 413 | 'pattern' => '%s.mo', |
414 | 414 | ], |
415 | 415 | [ |
@@ -454,8 +454,8 @@ discard block |
||
454 | 454 | 'Core/File' => FileControllerFactory::class, |
455 | 455 | 'Core/Content' => LazyControllerFactory::class, |
456 | 456 | Controller\Console\PurgeController::class => Controller\Console\PurgeControllerFactory::class, |
457 | - AssetsInstallController::class => [AssetsInstallController::class,'factory'], |
|
458 | - ClearCacheController::class => [ClearCacheController::class,'factory'], |
|
457 | + AssetsInstallController::class => [AssetsInstallController::class, 'factory'], |
|
458 | + ClearCacheController::class => [ClearCacheController::class, 'factory'], |
|
459 | 459 | Queue\Controller\MongoQueueController::class => Queue\Controller\MongoQueueControllerFactory::class, |
460 | 460 | Queue\Controller\MongoQueueListController::class => Queue\Controller\MongoQueueListControllerFactory::class, |
461 | 461 | |
@@ -470,9 +470,9 @@ discard block |
||
470 | 470 | 'Core/SearchForm' => 'Core\Factory\Controller\Plugin\SearchFormFactory', |
471 | 471 | 'listquery' => 'Core\Controller\Plugin\ListQuery::factory', |
472 | 472 | 'mail' => 'Core\Controller\Plugin\Mail::factory', |
473 | - 'Core/Mailer' => ['Core\Controller\Plugin\Mailer','factory'], |
|
474 | - 'Core/CreatePaginator' => [\Core\Controller\Plugin\CreatePaginator::class,'factory'], |
|
475 | - 'Core/PaginatorService' => [\Core\Controller\Plugin\CreatePaginatorService::class,'factory'], |
|
473 | + 'Core/Mailer' => ['Core\Controller\Plugin\Mailer', 'factory'], |
|
474 | + 'Core/CreatePaginator' => [\Core\Controller\Plugin\CreatePaginator::class, 'factory'], |
|
475 | + 'Core/PaginatorService' => [\Core\Controller\Plugin\CreatePaginatorService::class, 'factory'], |
|
476 | 476 | Controller\Plugin\EntityEraser::class => Controller\Plugin\EntityEraserFactory::class, |
477 | 477 | ), |
478 | 478 | 'invokables' => array( |
@@ -503,32 +503,32 @@ discard block |
||
503 | 503 | 'exception_template' => 'error/index', |
504 | 504 | // Map template to files. Speeds up the lookup through the template stack. |
505 | 505 | 'template_map' => array( |
506 | - 'noscript-notice' => __DIR__ . '/../view/layout/_noscript-notice.phtml', |
|
507 | - 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', |
|
508 | - 'error/404' => __DIR__ . '/../view/error/404.phtml', |
|
509 | - 'error/403' => __DIR__ . '/../view/error/403.phtml', |
|
510 | - 'error/index' => __DIR__ . '/../view/error/index.phtml', |
|
511 | - 'main-navigation' => __DIR__ . '/../view/partial/main-navigation.phtml', |
|
512 | - 'pagination-control' => __DIR__ . '/../view/partial/pagination-control.phtml', |
|
513 | - 'core/loading-popup' => __DIR__ . '/../view/partial/loading-popup.phtml', |
|
514 | - 'core/notifications' => __DIR__ . '/../view/partial/notifications.phtml', |
|
515 | - 'form/core/buttons' => __DIR__ . '/../view/form/buttons.phtml', |
|
516 | - 'core/social-buttons' => __DIR__ . '/../view/partial/social-buttons.phtml', |
|
517 | - 'form/core/privacy' => __DIR__ . '/../view/form/privacy.phtml', |
|
518 | - 'core/form/permissions-fieldset' => __DIR__ . '/../view/form/permissions-fieldset.phtml', |
|
519 | - 'core/form/permissions-collection' => __DIR__ . '/../view/form/permissions-collection.phtml', |
|
520 | - 'core/form/container-view' => __DIR__ . '/../view/form/container.view.phtml', |
|
521 | - 'core/form/tree-manage.view' => __DIR__ . '/../view/form/tree-manage.view.phtml', |
|
522 | - 'core/form/tree-manage.form' => __DIR__ . '/../view/form/tree-manage.form.phtml', |
|
523 | - 'core/form/tree-add-item' => __DIR__ . '/../view/form/tree-add-item.phtml', |
|
524 | - 'mail/header' => __DIR__ . '/../view/mail/header.phtml', |
|
525 | - 'mail/footer' => __DIR__ . '/../view/mail/footer.phtml', |
|
526 | - 'mail/footer.en' => __DIR__ . '/../view/mail/footer.en.phtml', |
|
506 | + 'noscript-notice' => __DIR__.'/../view/layout/_noscript-notice.phtml', |
|
507 | + 'layout/layout' => __DIR__.'/../view/layout/layout.phtml', |
|
508 | + 'error/404' => __DIR__.'/../view/error/404.phtml', |
|
509 | + 'error/403' => __DIR__.'/../view/error/403.phtml', |
|
510 | + 'error/index' => __DIR__.'/../view/error/index.phtml', |
|
511 | + 'main-navigation' => __DIR__.'/../view/partial/main-navigation.phtml', |
|
512 | + 'pagination-control' => __DIR__.'/../view/partial/pagination-control.phtml', |
|
513 | + 'core/loading-popup' => __DIR__.'/../view/partial/loading-popup.phtml', |
|
514 | + 'core/notifications' => __DIR__.'/../view/partial/notifications.phtml', |
|
515 | + 'form/core/buttons' => __DIR__.'/../view/form/buttons.phtml', |
|
516 | + 'core/social-buttons' => __DIR__.'/../view/partial/social-buttons.phtml', |
|
517 | + 'form/core/privacy' => __DIR__.'/../view/form/privacy.phtml', |
|
518 | + 'core/form/permissions-fieldset' => __DIR__.'/../view/form/permissions-fieldset.phtml', |
|
519 | + 'core/form/permissions-collection' => __DIR__.'/../view/form/permissions-collection.phtml', |
|
520 | + 'core/form/container-view' => __DIR__.'/../view/form/container.view.phtml', |
|
521 | + 'core/form/tree-manage.view' => __DIR__.'/../view/form/tree-manage.view.phtml', |
|
522 | + 'core/form/tree-manage.form' => __DIR__.'/../view/form/tree-manage.form.phtml', |
|
523 | + 'core/form/tree-add-item' => __DIR__.'/../view/form/tree-add-item.phtml', |
|
524 | + 'mail/header' => __DIR__.'/../view/mail/header.phtml', |
|
525 | + 'mail/footer' => __DIR__.'/../view/mail/footer.phtml', |
|
526 | + 'mail/footer.en' => __DIR__.'/../view/mail/footer.en.phtml', |
|
527 | 527 | //'startpage' => __DIR__ . '/../view/layout/startpage.phtml', |
528 | 528 | ), |
529 | 529 | // Where to look for view templates not mapped above |
530 | 530 | 'template_path_stack' => array( |
531 | - __DIR__ . '/../view', |
|
531 | + __DIR__.'/../view', |
|
532 | 532 | ), |
533 | 533 | ), |
534 | 534 | 'view_helpers' => array( |