@@ -111,7 +111,7 @@ |
||
| 111 | 111 | |
| 112 | 112 | $event = $this->loadEntitiesEvents->getEvent($entity, $this, $params); |
| 113 | 113 | $responses = $this->loadEntitiesEvents->triggerEventUntil( |
| 114 | - function ($response) { return (is_array($response) || $response instanceOf \Traversable) && count($response); }, |
|
| 114 | + function($response) { return (is_array($response) || $response instanceOf \Traversable) && count($response); }, |
|
| 115 | 115 | $event |
| 116 | 116 | ); |
| 117 | 117 | |
@@ -71,35 +71,35 @@ discard block |
||
| 71 | 71 | if (!$this->params('no-check')) { |
| 72 | 72 | |
| 73 | 73 | |
| 74 | - $console->writeLine('Checking dependencies ... ' . PHP_EOL); |
|
| 74 | + $console->writeLine('Checking dependencies ... '.PHP_EOL); |
|
| 75 | 75 | |
| 76 | 76 | $eraser = $this->plugin(EntityEraser::class); |
| 77 | 77 | $counts = []; |
| 78 | 78 | $totalCount = 0; |
| 79 | 79 | foreach ($entities as $entity) { |
| 80 | - $console->writeLine(' ' . $this->entityToString($entity)); |
|
| 80 | + $console->writeLine(' '.$this->entityToString($entity)); |
|
| 81 | 81 | $totalCount += 1; |
| 82 | 82 | $dependencies = $eraser->checkDependencies($entity); |
| 83 | 83 | |
| 84 | 84 | foreach ($dependencies as $dependencyList) { |
| 85 | - $console->writeLine(' ' . $dependencyList->getName() . ': ' . $dependencyList->getDescription()); |
|
| 85 | + $console->writeLine(' '.$dependencyList->getName().': '.$dependencyList->getDescription()); |
|
| 86 | 86 | $dependendEntities = $dependencyList->getEntities(); |
| 87 | 87 | $totalCount += count($dependendEntities); |
| 88 | 88 | if (!isset($counts[$dependencyList->getName()])) { $counts[$dependencyList->getName()] = 0; } |
| 89 | 89 | $counts[$dependencyList->getName()] += count($dependendEntities); |
| 90 | 90 | |
| 91 | 91 | foreach ($dependendEntities as $dependendEntity) { |
| 92 | - $console->writeLine(' - ' . $this->entityToString($dependendEntity)); |
|
| 92 | + $console->writeLine(' - '.$this->entityToString($dependendEntity)); |
|
| 93 | 93 | } |
| 94 | 94 | $console->writeLine(' '); |
| 95 | 95 | } |
| 96 | 96 | $console->writeLine(''); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - $console->writeLine($totalCount . ' entities affected:'); |
|
| 100 | - $console->writeLine(' ' . count($entities) . ' ' . $this->params('entity')); |
|
| 99 | + $console->writeLine($totalCount.' entities affected:'); |
|
| 100 | + $console->writeLine(' '.count($entities).' '.$this->params('entity')); |
|
| 101 | 101 | foreach ($counts as $name => $count) { |
| 102 | - $console->writeLine(' ' . $count . ' ' . $name); |
|
| 102 | + $console->writeLine(' '.$count.' '.$name); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | $console->writeLine(''); |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | $totalCount = 0; |
| 116 | 116 | $counts = []; |
| 117 | 117 | |
| 118 | - $progress = new ProgressBar(count($entities)); |
|
| 118 | + $progress = new ProgressBar(count($entities)); |
|
| 119 | 119 | $i = 0; |
| 120 | 120 | foreach ($entities as $entity) { |
| 121 | 121 | $progress->update(++$i, $entity->getId()); |
@@ -131,10 +131,10 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | $progress->finish(); |
| 133 | 133 | $console->writeLine(''); |
| 134 | - $console->writeLine('Processed ' . $totalCount . ' entities.'); |
|
| 135 | - $console->writeLine(' ' . count($entities) . ' ' . $this->params('entity') . ' deleted.'); |
|
| 134 | + $console->writeLine('Processed '.$totalCount.' entities.'); |
|
| 135 | + $console->writeLine(' '.count($entities).' '.$this->params('entity').' deleted.'); |
|
| 136 | 136 | foreach ($counts as $name => $count) { |
| 137 | - $console->writeLine(' ' . $count[0] . ' ' . $name . ' ' . $count[1]); |
|
| 137 | + $console->writeLine(' '.$count[0].' '.$name.' '.$count[1]); |
|
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | } |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | $str = get_class($entity); |
| 181 | 181 | |
| 182 | 182 | if ($entity instanceOf \Core\Entity\IdentifiableEntityInterface) { |
| 183 | - $str .= '( ' . $entity->getId() . ' )'; |
|
| 183 | + $str .= '( '.$entity->getId().' )'; |
|
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | return $str; |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | public function setEventPrototype(EventInterface $prototype) |
| 36 | 36 | { |
| 37 | 37 | if (!$prototype instanceOf DependencyResultEvent) { |
| 38 | - throw new \InvalidArgumentException('This event manager only accepts events of the type ' . DependencyResultEvent::class); |
|
| 38 | + throw new \InvalidArgumentException('This event manager only accepts events of the type '.DependencyResultEvent::class); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | parent::setEventPrototype($prototype); |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | protected function triggerListeners(EventInterface $event, callable $callback = null) |
| 56 | 56 | { |
| 57 | 57 | if (!$event instanceOf DependencyResultEvent) { |
| 58 | - throw new \InvalidArgumentException('This event manager only accepts events of the type ' . DependencyResultEvent::class); |
|
| 58 | + throw new \InvalidArgumentException('This event manager only accepts events of the type '.DependencyResultEvent::class); |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | $results = parent::triggerListeners($event, $callback); |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | use Zend\I18n\Translator\Resources; |
| 20 | 20 | use Zend\ServiceManager\Factory\InvokableFactory; |
| 21 | 21 | |
| 22 | -$doctrineConfig = include __DIR__ . '/doctrine.config.php'; |
|
| 22 | +$doctrineConfig = include __DIR__.'/doctrine.config.php'; |
|
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | return array( |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | 'doctrine' => $doctrineConfig, |
| 28 | 28 | |
| 29 | 29 | 'options' => [ |
| 30 | - 'Core/MailServiceOptions' => [ 'class' => '\Core\Options\MailServiceOptions' ], |
|
| 30 | + 'Core/MailServiceOptions' => ['class' => '\Core\Options\MailServiceOptions'], |
|
| 31 | 31 | ], |
| 32 | 32 | |
| 33 | 33 | 'Core' => array( |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | 'name' => 'stream', |
| 48 | 48 | 'priority' => 1000, |
| 49 | 49 | 'options' => array( |
| 50 | - 'stream' => __DIR__ .'/../../../log/yawik.log', |
|
| 50 | + 'stream' => __DIR__.'/../../../log/yawik.log', |
|
| 51 | 51 | ), |
| 52 | 52 | ), |
| 53 | 53 | ), |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | 'name' => 'stream', |
| 59 | 59 | 'priority' => 1000, |
| 60 | 60 | 'options' => array( |
| 61 | - 'stream' => __DIR__ .'/../../../log/mails.log', |
|
| 61 | + 'stream' => __DIR__.'/../../../log/mails.log', |
|
| 62 | 62 | ), |
| 63 | 63 | ), |
| 64 | 64 | ), |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | 'mode' => true, // true = production|false = development|null = autodetect|IP address(es) csv/array |
| 76 | 76 | 'bar' => false, // bool = enabled|Toggle nette diagnostics bar. |
| 77 | 77 | 'strict' => true, // bool = cause immediate death|int = matched against error severity |
| 78 | - 'log' => __DIR__ . '/../../../log/tracy', // path to log directory (this directory keeps error.log, snoozing mailsent file & html exception trace files) |
|
| 78 | + 'log' => __DIR__.'/../../../log/tracy', // path to log directory (this directory keeps error.log, snoozing mailsent file & html exception trace files) |
|
| 79 | 79 | 'email' => null, // in production mode notifies the recipient |
| 80 | 80 | 'email_snooze' => 900 // interval for sending email in seconds |
| 81 | 81 | ], |
@@ -245,16 +245,16 @@ discard block |
||
| 245 | 245 | 'Core/JsonEntityHydrator' => 'Core\Entity\Hydrator\JsonEntityHydratorFactory', |
| 246 | 246 | 'Core/EntityHydrator' => 'Core\Entity\Hydrator\EntityHydratorFactory', |
| 247 | 247 | 'Core/Options' => 'Core\Factory\ModuleOptionsFactory', |
| 248 | - 'Core/DoctrineMongoODM/RepositoryEvents' => [\Core\Repository\DoctrineMongoODM\Event\RepositoryEventsSubscriber::class,'factory'], |
|
| 249 | - 'DefaultListeners' => ['Core\Listener\DefaultListener','factory'], |
|
| 250 | - 'templateProviderStrategy' => ['Core\Form\Hydrator\Strategy\TemplateProviderStrategy','factory'], |
|
| 251 | - 'Core/Listener/DeferredListenerAggregate' => [\Core\Listener\DeferredListenerAggregate::class,'factory'], |
|
| 248 | + 'Core/DoctrineMongoODM/RepositoryEvents' => [\Core\Repository\DoctrineMongoODM\Event\RepositoryEventsSubscriber::class, 'factory'], |
|
| 249 | + 'DefaultListeners' => ['Core\Listener\DefaultListener', 'factory'], |
|
| 250 | + 'templateProviderStrategy' => ['Core\Form\Hydrator\Strategy\TemplateProviderStrategy', 'factory'], |
|
| 251 | + 'Core/Listener/DeferredListenerAggregate' => [\Core\Listener\DeferredListenerAggregate::class, 'factory'], |
|
| 252 | 252 | 'Core/Listener/CreatePaginator' => 'Core\Listener\CreatePaginatorListener::factory', |
| 253 | 253 | 'Core/Locale' => 'Core\I18n\LocaleFactory', |
| 254 | 254 | \Core\Listener\AjaxRouteListener::class => \Core\Factory\Listener\AjaxRouteListenerFactory::class, |
| 255 | 255 | \Core\Listener\DeleteImageSetListener::class => \Core\Factory\Listener\DeleteImageSetListenerFactory::class, |
| 256 | 256 | 'Imagine' => \Core\Factory\Service\ImagineFactory::class, |
| 257 | - 'Core/Listener/Notification' => [\Core\Listener\NotificationListener::class,'factory'], |
|
| 257 | + 'Core/Listener/Notification' => [\Core\Listener\NotificationListener::class, 'factory'], |
|
| 258 | 258 | Service\EntityEraser\DefaultEntityLoaderListener::class => Service\EntityEraser\DefaultEntityLoaderListenerFactory::class, |
| 259 | 259 | ), |
| 260 | 260 | 'abstract_factories' => array( |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | 'translation_file_patterns' => array( |
| 279 | 279 | [ |
| 280 | 280 | 'type' => 'gettext', |
| 281 | - 'base_dir' => __DIR__ . '/../language', |
|
| 281 | + 'base_dir' => __DIR__.'/../language', |
|
| 282 | 282 | 'pattern' => '%s.mo', |
| 283 | 283 | ], |
| 284 | 284 | [ |
@@ -334,9 +334,9 @@ discard block |
||
| 334 | 334 | 'Core/SearchForm' => 'Core\Factory\Controller\Plugin\SearchFormFactory', |
| 335 | 335 | 'listquery' => 'Core\Controller\Plugin\ListQuery::factory', |
| 336 | 336 | 'mail' => 'Core\Controller\Plugin\Mail::factory', |
| 337 | - 'Core/Mailer' => ['Core\Controller\Plugin\Mailer','factory'], |
|
| 338 | - 'Core/CreatePaginator' => [\Core\Controller\Plugin\CreatePaginator::class,'factory'], |
|
| 339 | - 'Core/PaginatorService' => [\Core\Controller\Plugin\CreatePaginatorService::class,'factory'], |
|
| 337 | + 'Core/Mailer' => ['Core\Controller\Plugin\Mailer', 'factory'], |
|
| 338 | + 'Core/CreatePaginator' => [\Core\Controller\Plugin\CreatePaginator::class, 'factory'], |
|
| 339 | + 'Core/PaginatorService' => [\Core\Controller\Plugin\CreatePaginatorService::class, 'factory'], |
|
| 340 | 340 | Controller\Plugin\EntityEraser::class => Controller\Plugin\EntityEraserFactory::class, |
| 341 | 341 | ), |
| 342 | 342 | 'invokables' => array( |
@@ -367,32 +367,32 @@ discard block |
||
| 367 | 367 | 'exception_template' => 'error/index', |
| 368 | 368 | // Map template to files. Speeds up the lookup through the template stack. |
| 369 | 369 | 'template_map' => array( |
| 370 | - 'noscript-notice' => __DIR__ . '/../view/layout/_noscript-notice.phtml', |
|
| 371 | - 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', |
|
| 372 | - 'error/404' => __DIR__ . '/../view/error/404.phtml', |
|
| 373 | - 'error/403' => __DIR__ . '/../view/error/403.phtml', |
|
| 374 | - 'error/index' => __DIR__ . '/../view/error/index.phtml', |
|
| 375 | - 'main-navigation' => __DIR__ . '/../view/partial/main-navigation.phtml', |
|
| 376 | - 'pagination-control' => __DIR__ . '/../view/partial/pagination-control.phtml', |
|
| 377 | - 'core/loading-popup' => __DIR__ . '/../view/partial/loading-popup.phtml', |
|
| 378 | - 'core/notifications' => __DIR__ . '/../view/partial/notifications.phtml', |
|
| 379 | - 'form/core/buttons' => __DIR__ . '/../view/form/buttons.phtml', |
|
| 380 | - 'core/social-buttons' => __DIR__ . '/../view/partial/social-buttons.phtml', |
|
| 381 | - 'form/core/privacy' => __DIR__ . '/../view/form/privacy.phtml', |
|
| 382 | - 'core/form/permissions-fieldset' => __DIR__ . '/../view/form/permissions-fieldset.phtml', |
|
| 383 | - 'core/form/permissions-collection' => __DIR__ . '/../view/form/permissions-collection.phtml', |
|
| 384 | - 'core/form/container-view' => __DIR__ . '/../view/form/container.view.phtml', |
|
| 385 | - 'core/form/tree-manage.view' => __DIR__ . '/../view/form/tree-manage.view.phtml', |
|
| 386 | - 'core/form/tree-manage.form' => __DIR__ . '/../view/form/tree-manage.form.phtml', |
|
| 387 | - 'core/form/tree-add-item' => __DIR__ . '/../view/form/tree-add-item.phtml', |
|
| 388 | - 'mail/header' => __DIR__ . '/../view/mail/header.phtml', |
|
| 389 | - 'mail/footer' => __DIR__ . '/../view/mail/footer.phtml', |
|
| 390 | - 'mail/footer.en' => __DIR__ . '/../view/mail/footer.en.phtml', |
|
| 370 | + 'noscript-notice' => __DIR__.'/../view/layout/_noscript-notice.phtml', |
|
| 371 | + 'layout/layout' => __DIR__.'/../view/layout/layout.phtml', |
|
| 372 | + 'error/404' => __DIR__.'/../view/error/404.phtml', |
|
| 373 | + 'error/403' => __DIR__.'/../view/error/403.phtml', |
|
| 374 | + 'error/index' => __DIR__.'/../view/error/index.phtml', |
|
| 375 | + 'main-navigation' => __DIR__.'/../view/partial/main-navigation.phtml', |
|
| 376 | + 'pagination-control' => __DIR__.'/../view/partial/pagination-control.phtml', |
|
| 377 | + 'core/loading-popup' => __DIR__.'/../view/partial/loading-popup.phtml', |
|
| 378 | + 'core/notifications' => __DIR__.'/../view/partial/notifications.phtml', |
|
| 379 | + 'form/core/buttons' => __DIR__.'/../view/form/buttons.phtml', |
|
| 380 | + 'core/social-buttons' => __DIR__.'/../view/partial/social-buttons.phtml', |
|
| 381 | + 'form/core/privacy' => __DIR__.'/../view/form/privacy.phtml', |
|
| 382 | + 'core/form/permissions-fieldset' => __DIR__.'/../view/form/permissions-fieldset.phtml', |
|
| 383 | + 'core/form/permissions-collection' => __DIR__.'/../view/form/permissions-collection.phtml', |
|
| 384 | + 'core/form/container-view' => __DIR__.'/../view/form/container.view.phtml', |
|
| 385 | + 'core/form/tree-manage.view' => __DIR__.'/../view/form/tree-manage.view.phtml', |
|
| 386 | + 'core/form/tree-manage.form' => __DIR__.'/../view/form/tree-manage.form.phtml', |
|
| 387 | + 'core/form/tree-add-item' => __DIR__.'/../view/form/tree-add-item.phtml', |
|
| 388 | + 'mail/header' => __DIR__.'/../view/mail/header.phtml', |
|
| 389 | + 'mail/footer' => __DIR__.'/../view/mail/footer.phtml', |
|
| 390 | + 'mail/footer.en' => __DIR__.'/../view/mail/footer.en.phtml', |
|
| 391 | 391 | //'startpage' => __DIR__ . '/../view/layout/startpage.phtml', |
| 392 | 392 | ), |
| 393 | 393 | // Where to look for view templates not mapped above |
| 394 | 394 | 'template_path_stack' => array( |
| 395 | - __DIR__ . '/../view', |
|
| 395 | + __DIR__.'/../view', |
|
| 396 | 396 | ), |
| 397 | 397 | ), |
| 398 | 398 | 'view_helpers' => array( |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | if ($entity instanceOf Job) { |
| 37 | 37 | $entities = $event->getRepository('Applications')->findBy(['isDraft' => null, 'job' => new \MongoId($entity->getId())]); |
| 38 | 38 | |
| 39 | - return ['Applications', $entities, 'These applications references the job and will also be removed:' ]; |
|
| 39 | + return ['Applications', $entities, 'These applications references the job and will also be removed:']; |
|
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | 42 | |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | $repository = $event->getRepository('Applications'); |
| 49 | 49 | $entities = $repository->findBy(['isDraft' => null, 'job' => new \MongoId($entity->getId())]); |
| 50 | 50 | foreach ($entities as $ent) { $repository->remove($ent); } |
| 51 | - return ['Applications', $entities, 'were removed.' ]; |
|
| 51 | + return ['Applications', $entities, 'were removed.']; |
|
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * for multiple paths. |
| 22 | 22 | * example https://github.com/doctrine/DoctrineORMModule |
| 23 | 23 | */ |
| 24 | - 'paths' => [ __DIR__ . '/../src/Jobs/Entity'], |
|
| 24 | + 'paths' => [__DIR__.'/../src/Jobs/Entity'], |
|
| 25 | 25 | ], |
| 26 | 26 | ], |
| 27 | 27 | 'eventmanager' => [ |
@@ -34,8 +34,8 @@ discard block |
||
| 34 | 34 | ], |
| 35 | 35 | |
| 36 | 36 | 'options' => [ |
| 37 | - 'Jobs/JobboardSearchOptions' => [ 'class' => '\Jobs\Options\JobboardSearchOptions' ], |
|
| 38 | - 'Jobs/BaseFieldsetOptions' => [ 'class' => '\Jobs\Options\BaseFieldsetOptions' ], |
|
| 37 | + 'Jobs/JobboardSearchOptions' => ['class' => '\Jobs\Options\JobboardSearchOptions'], |
|
| 38 | + 'Jobs/BaseFieldsetOptions' => ['class' => '\Jobs\Options\BaseFieldsetOptions'], |
|
| 39 | 39 | ], |
| 40 | 40 | |
| 41 | 41 | 'Jobs' => [ |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | 'translation_file_patterns' => [ |
| 58 | 58 | [ |
| 59 | 59 | 'type' => 'gettext', |
| 60 | - 'base_dir' => __DIR__ . '/../language', |
|
| 60 | + 'base_dir' => __DIR__.'/../language', |
|
| 61 | 61 | 'pattern' => '%s.mo', |
| 62 | 62 | ], |
| 63 | 63 | ], |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | 'Jobboard', |
| 98 | 98 | 'Jobs/Jobboard', |
| 99 | 99 | 'Jobs/ApiJobListByChannel', |
| 100 | - 'Jobs/Template' => [ 'view', 'edittemplate' ], |
|
| 100 | + 'Jobs/Template' => ['view', 'edittemplate'], |
|
| 101 | 101 | 'Jobs/Manage' => [ |
| 102 | 102 | 'template', |
| 103 | 103 | ], |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | 'Jobs/Listener/AdminWidgetProvider' => 'Jobs\Factory\Listener\AdminWidgetProviderFactory', |
| 226 | 226 | 'Jobs/ViewModelTemplateFilter' => 'Jobs\Factory\Filter\ViewModelTemplateFilterFactory', |
| 227 | 227 | 'Jobs\Model\ApiJobDehydrator' => 'Jobs\Factory\Model\ApiJobDehydratorFactory', |
| 228 | - 'Jobs/Listener/Publisher' => [Publisher::class,'factory'], |
|
| 228 | + 'Jobs/Listener/Publisher' => [Publisher::class, 'factory'], |
|
| 229 | 229 | 'Jobs/PreviewLinkHydrator' => 'Jobs\Form\Hydrator\PreviewLinkHydrator::factory', |
| 230 | 230 | 'Jobs\Auth\Dependency\ListListener' => 'Jobs\Factory\Auth\Dependency\ListListenerFactory', |
| 231 | 231 | 'Jobs/DefaultCategoriesBuilder' => 'Jobs\Factory\Repository\DefaultCategoriesBuilderFactory', |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | |
| 243 | 243 | |
| 244 | 244 | 'event_manager' => [ |
| 245 | - 'Core/AdminController/Events' => [ 'listeners' => [ |
|
| 245 | + 'Core/AdminController/Events' => ['listeners' => [ |
|
| 246 | 246 | 'Jobs/Listener/AdminWidgetProvider' => \Core\Controller\AdminControllerEvent::EVENT_DASHBOARD, |
| 247 | 247 | ]], |
| 248 | 248 | |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | 'Core/Ajax/Events' => ['listeners' => [ |
| 266 | 266 | \Jobs\Listener\DeleteJob::class => ['jobs.delete', true], |
| 267 | 267 | \Jobs\Listener\GetOrganizationManagers::class => ['jobs.manager-select', true], |
| 268 | - \Jobs\Listener\LoadActiveOrganizations::class => [ 'jobs.admin.activeorganizations', true], |
|
| 268 | + \Jobs\Listener\LoadActiveOrganizations::class => ['jobs.admin.activeorganizations', true], |
|
| 269 | 269 | |
| 270 | 270 | ]], |
| 271 | 271 | |
@@ -287,10 +287,10 @@ discard block |
||
| 287 | 287 | 'Jobs/ApiJobListByChannel' => 'Jobs\Controller\ApiJobListByChannelController', |
| 288 | 288 | ], |
| 289 | 289 | 'factories' => [ |
| 290 | - 'Jobs/Import' => [ Controller\ImportController::class, 'factory'], |
|
| 291 | - 'Jobs/Console' => [ConsoleController::class,'factory'], |
|
| 292 | - 'Jobs/AdminCategories' => [AdminCategoriesController::class,'factory'], |
|
| 293 | - 'Jobs/Admin' => [AdminController::class,'factory'], |
|
| 290 | + 'Jobs/Import' => [Controller\ImportController::class, 'factory'], |
|
| 291 | + 'Jobs/Console' => [ConsoleController::class, 'factory'], |
|
| 292 | + 'Jobs/AdminCategories' => [AdminCategoriesController::class, 'factory'], |
|
| 293 | + 'Jobs/Admin' => [AdminController::class, 'factory'], |
|
| 294 | 294 | 'Jobs/Template' => 'Jobs\Factory\Controller\TemplateControllerFactory', |
| 295 | 295 | 'Jobs/Index' => 'Jobs\Factory\Controller\IndexControllerFactory', |
| 296 | 296 | 'Jobs/Approval' => 'Jobs\Factory\Controller\ApprovalControllerFactory', |
@@ -323,41 +323,41 @@ discard block |
||
| 323 | 323 | 'view_manager' => [ |
| 324 | 324 | // Map template to files. Speeds up the lookup through the template stack. |
| 325 | 325 | 'template_map' => [ |
| 326 | - 'jobs/form/list-filter' => __DIR__ . '/../view/form/list-filter.phtml', |
|
| 327 | - 'jobs/form/apply-identifier' => __DIR__ . '/../view/form/apply-identifier.phtml', |
|
| 328 | - 'jobs/form/hiring-organization-select' => __DIR__ . '/../view/form/hiring-organization-select.phtml', |
|
| 329 | - 'jobs/form/multiposting-select' => __DIR__ . '/../view/form/multiposting-select.phtml', |
|
| 330 | - 'jobs/form/multiposting-checkboxes' => __DIR__ . '/../view/form/multiposting-checkboxes.phtml', |
|
| 331 | - 'jobs/form/ats-mode.view' => __DIR__ . '/../view/form/ats-mode.view.phtml', |
|
| 332 | - 'jobs/form/ats-mode.form' => __DIR__ . '/../view/form/ats-mode.form.phtml', |
|
| 333 | - 'jobs/form/company-name-fieldset' => __DIR__ . '/../view/form/company-name-fieldset.phtml', |
|
| 334 | - 'jobs/form/preview' => __DIR__ . '/../view/form/preview.phtml', |
|
| 335 | - 'jobs/form/customer-note' => __DIR__ . '/../view/form/customer-note.phtml', |
|
| 336 | - 'jobs/partials/channel-list' => __DIR__ . '/../view/partials/channel-list.phtml', |
|
| 337 | - 'jobs/assign-user' => __DIR__ . '/../view/jobs/manage/assign-user.phtml', |
|
| 338 | - 'jobs/snapshot_or_preview' => __DIR__ . '/../view/partials/snapshot_or_preview.phtml', |
|
| 339 | - 'jobs/history' => __DIR__ . '/../view/partials/history.phtml', |
|
| 340 | - 'jobs/portalsummary' => __DIR__ . '/../view/partials/portalsummary.phtml', |
|
| 341 | - 'content/jobs-publish-on-yawik' => __DIR__ . '/../view/modals/yawik.phtml', |
|
| 342 | - 'content/jobs-publish-on-jobsintown' => __DIR__ . '/../view/modals/jobsintown.phtml', |
|
| 343 | - 'content/jobs-publish-on-homepage' => __DIR__ . '/../view/modals/homepage.phtml', |
|
| 344 | - 'content/jobs-publish-on-fazjob' => __DIR__ . '/../view/modals/fazjob.phtml', |
|
| 345 | - 'content/jobs-terms-and-conditions' => __DIR__ . '/../view/jobs/index/terms.phtml', |
|
| 346 | - 'mail/job-created' => __DIR__ . '/../view/mails/job-created.phtml', |
|
| 347 | - 'mail/job-pending' => __DIR__ . '/../view/mails/job-pending.phtml', |
|
| 348 | - 'mail/job-accepted' => __DIR__ . '/../view/mails/job-accepted.phtml', |
|
| 349 | - 'mail/job-rejected' => __DIR__ . '/../view/mails/job-rejected.phtml', |
|
| 350 | - 'mail/job-created.en' => __DIR__ . '/../view/mails/job-created.en.phtml', |
|
| 351 | - 'mail/job-pending.en' => __DIR__ . '/../view/mails/job-pending.en.phtml', |
|
| 352 | - 'mail/job-accepted.en' => __DIR__ . '/../view/mails/job-accepted.en.phtml', |
|
| 353 | - 'mail/job-rejected.en' => __DIR__ . '/../view/mails/job-rejected.en.phtml', |
|
| 354 | - 'jobs/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 355 | - 'jobs/error/expired' => __DIR__ . '/../view/error/expired.phtml', |
|
| 326 | + 'jobs/form/list-filter' => __DIR__.'/../view/form/list-filter.phtml', |
|
| 327 | + 'jobs/form/apply-identifier' => __DIR__.'/../view/form/apply-identifier.phtml', |
|
| 328 | + 'jobs/form/hiring-organization-select' => __DIR__.'/../view/form/hiring-organization-select.phtml', |
|
| 329 | + 'jobs/form/multiposting-select' => __DIR__.'/../view/form/multiposting-select.phtml', |
|
| 330 | + 'jobs/form/multiposting-checkboxes' => __DIR__.'/../view/form/multiposting-checkboxes.phtml', |
|
| 331 | + 'jobs/form/ats-mode.view' => __DIR__.'/../view/form/ats-mode.view.phtml', |
|
| 332 | + 'jobs/form/ats-mode.form' => __DIR__.'/../view/form/ats-mode.form.phtml', |
|
| 333 | + 'jobs/form/company-name-fieldset' => __DIR__.'/../view/form/company-name-fieldset.phtml', |
|
| 334 | + 'jobs/form/preview' => __DIR__.'/../view/form/preview.phtml', |
|
| 335 | + 'jobs/form/customer-note' => __DIR__.'/../view/form/customer-note.phtml', |
|
| 336 | + 'jobs/partials/channel-list' => __DIR__.'/../view/partials/channel-list.phtml', |
|
| 337 | + 'jobs/assign-user' => __DIR__.'/../view/jobs/manage/assign-user.phtml', |
|
| 338 | + 'jobs/snapshot_or_preview' => __DIR__.'/../view/partials/snapshot_or_preview.phtml', |
|
| 339 | + 'jobs/history' => __DIR__.'/../view/partials/history.phtml', |
|
| 340 | + 'jobs/portalsummary' => __DIR__.'/../view/partials/portalsummary.phtml', |
|
| 341 | + 'content/jobs-publish-on-yawik' => __DIR__.'/../view/modals/yawik.phtml', |
|
| 342 | + 'content/jobs-publish-on-jobsintown' => __DIR__.'/../view/modals/jobsintown.phtml', |
|
| 343 | + 'content/jobs-publish-on-homepage' => __DIR__.'/../view/modals/homepage.phtml', |
|
| 344 | + 'content/jobs-publish-on-fazjob' => __DIR__.'/../view/modals/fazjob.phtml', |
|
| 345 | + 'content/jobs-terms-and-conditions' => __DIR__.'/../view/jobs/index/terms.phtml', |
|
| 346 | + 'mail/job-created' => __DIR__.'/../view/mails/job-created.phtml', |
|
| 347 | + 'mail/job-pending' => __DIR__.'/../view/mails/job-pending.phtml', |
|
| 348 | + 'mail/job-accepted' => __DIR__.'/../view/mails/job-accepted.phtml', |
|
| 349 | + 'mail/job-rejected' => __DIR__.'/../view/mails/job-rejected.phtml', |
|
| 350 | + 'mail/job-created.en' => __DIR__.'/../view/mails/job-created.en.phtml', |
|
| 351 | + 'mail/job-pending.en' => __DIR__.'/../view/mails/job-pending.en.phtml', |
|
| 352 | + 'mail/job-accepted.en' => __DIR__.'/../view/mails/job-accepted.en.phtml', |
|
| 353 | + 'mail/job-rejected.en' => __DIR__.'/../view/mails/job-rejected.en.phtml', |
|
| 354 | + 'jobs/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml', |
|
| 355 | + 'jobs/error/expired' => __DIR__.'/../view/error/expired.phtml', |
|
| 356 | 356 | ], |
| 357 | 357 | |
| 358 | 358 | // Where to look for view templates not mapped above |
| 359 | 359 | 'template_path_stack' => [ |
| 360 | - __DIR__ . '/../view', |
|
| 360 | + __DIR__.'/../view', |
|
| 361 | 361 | ], |
| 362 | 362 | ], |
| 363 | 363 | |