@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | use Core\Service\Tracy; |
23 | 23 | use Zend\I18n\Translator\Resources; |
24 | 24 | |
25 | -$doctrineConfig = include __DIR__ . '/doctrine.config.php'; |
|
25 | +$doctrineConfig = include __DIR__.'/doctrine.config.php'; |
|
26 | 26 | |
27 | 27 | |
28 | 28 | return array( |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | 'doctrine' => $doctrineConfig, |
31 | 31 | |
32 | 32 | 'options' => [ |
33 | - 'Core/MailServiceOptions' => [ 'class' => '\Core\Options\MailServiceOptions' ], |
|
33 | + 'Core/MailServiceOptions' => ['class' => '\Core\Options\MailServiceOptions'], |
|
34 | 34 | ], |
35 | 35 | |
36 | 36 | 'Core' => array( |
@@ -265,19 +265,19 @@ discard block |
||
265 | 265 | 'modules/Core/jsonEntityHydrator' => 'Core\Entity\Hydrator\JsonEntityHydratorFactory', |
266 | 266 | 'Core/EntityHydrator' => 'Core\Entity\Hydrator\EntityHydratorFactory', |
267 | 267 | 'Core/Options' => 'Core\Factory\ModuleOptionsFactory', |
268 | - 'Core/DoctrineMongoODM/RepositoryEvents' => [\Core\Repository\DoctrineMongoODM\Event\RepositoryEventsSubscriber::class,'factory'], |
|
269 | - 'DefaultListeners' => ['Core\Listener\DefaultListener','factory'], |
|
270 | - 'templateProviderStrategy' => ['Core\Form\Hydrator\Strategy\TemplateProviderStrategy','factory'], |
|
271 | - 'Core/Listener/DeferredListenerAggregate' => [\Core\Listener\DeferredListenerAggregate::class,'factory'], |
|
268 | + 'Core/DoctrineMongoODM/RepositoryEvents' => [\Core\Repository\DoctrineMongoODM\Event\RepositoryEventsSubscriber::class, 'factory'], |
|
269 | + 'DefaultListeners' => ['Core\Listener\DefaultListener', 'factory'], |
|
270 | + 'templateProviderStrategy' => ['Core\Form\Hydrator\Strategy\TemplateProviderStrategy', 'factory'], |
|
271 | + 'Core/Listener/DeferredListenerAggregate' => [\Core\Listener\DeferredListenerAggregate::class, 'factory'], |
|
272 | 272 | 'Core/Listener/CreatePaginator' => 'Core\Listener\CreatePaginatorListener::factory', |
273 | 273 | 'Core/Locale' => 'Core\I18n\LocaleFactory', |
274 | 274 | \Core\Listener\AjaxRouteListener::class => \Core\Factory\Listener\AjaxRouteListenerFactory::class, |
275 | 275 | \Core\Listener\DeleteImageSetListener::class => \Core\Factory\Listener\DeleteImageSetListenerFactory::class, |
276 | 276 | 'Imagine' => \Core\Factory\Service\ImagineFactory::class, |
277 | - 'Core/Listener/Notification' => [\Core\Listener\NotificationListener::class,'factory'], |
|
278 | - 'Tracy' => [Tracy::class,'factory'], |
|
277 | + 'Core/Listener/Notification' => [\Core\Listener\NotificationListener::class, 'factory'], |
|
278 | + 'Tracy' => [Tracy::class, 'factory'], |
|
279 | 279 | Service\EntityEraser\DefaultEntityLoaderListener::class => Service\EntityEraser\DefaultEntityLoaderListenerFactory::class, |
280 | - ClearCacheService::class => [ClearCacheService::class,'factory'] |
|
280 | + ClearCacheService::class => [ClearCacheService::class, 'factory'] |
|
281 | 281 | ), |
282 | 282 | 'abstract_factories' => array( |
283 | 283 | 'Core\Factory\OptionsAbstractFactory', |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | 'translation_file_patterns' => array( |
301 | 301 | [ |
302 | 302 | 'type' => 'gettext', |
303 | - 'base_dir' => __DIR__ . '/../language', |
|
303 | + 'base_dir' => __DIR__.'/../language', |
|
304 | 304 | 'pattern' => '%s.mo', |
305 | 305 | ], |
306 | 306 | [ |
@@ -345,8 +345,8 @@ discard block |
||
345 | 345 | 'Core/File' => FileControllerFactory::class, |
346 | 346 | 'Core/Content' => LazyControllerFactory::class, |
347 | 347 | Controller\Console\PurgeController::class => Controller\Console\PurgeControllerFactory::class, |
348 | - AssetsInstallController::class => [AssetsInstallController::class,'factory'], |
|
349 | - ClearCacheController::class => [ClearCacheController::class,'factory'], |
|
348 | + AssetsInstallController::class => [AssetsInstallController::class, 'factory'], |
|
349 | + ClearCacheController::class => [ClearCacheController::class, 'factory'], |
|
350 | 350 | |
351 | 351 | ], |
352 | 352 | ), |
@@ -359,9 +359,9 @@ discard block |
||
359 | 359 | 'Core/SearchForm' => 'Core\Factory\Controller\Plugin\SearchFormFactory', |
360 | 360 | 'listquery' => 'Core\Controller\Plugin\ListQuery::factory', |
361 | 361 | 'mail' => 'Core\Controller\Plugin\Mail::factory', |
362 | - 'Core/Mailer' => ['Core\Controller\Plugin\Mailer','factory'], |
|
363 | - 'Core/CreatePaginator' => [\Core\Controller\Plugin\CreatePaginator::class,'factory'], |
|
364 | - 'Core/PaginatorService' => [\Core\Controller\Plugin\CreatePaginatorService::class,'factory'], |
|
362 | + 'Core/Mailer' => ['Core\Controller\Plugin\Mailer', 'factory'], |
|
363 | + 'Core/CreatePaginator' => [\Core\Controller\Plugin\CreatePaginator::class, 'factory'], |
|
364 | + 'Core/PaginatorService' => [\Core\Controller\Plugin\CreatePaginatorService::class, 'factory'], |
|
365 | 365 | Controller\Plugin\EntityEraser::class => Controller\Plugin\EntityEraserFactory::class, |
366 | 366 | ), |
367 | 367 | 'invokables' => array( |
@@ -392,32 +392,32 @@ discard block |
||
392 | 392 | 'exception_template' => 'error/index', |
393 | 393 | // Map template to files. Speeds up the lookup through the template stack. |
394 | 394 | 'template_map' => array( |
395 | - 'noscript-notice' => __DIR__ . '/../view/layout/_noscript-notice.phtml', |
|
396 | - 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml', |
|
397 | - 'error/404' => __DIR__ . '/../view/error/404.phtml', |
|
398 | - 'error/403' => __DIR__ . '/../view/error/403.phtml', |
|
399 | - 'error/index' => __DIR__ . '/../view/error/index.phtml', |
|
400 | - 'main-navigation' => __DIR__ . '/../view/partial/main-navigation.phtml', |
|
401 | - 'pagination-control' => __DIR__ . '/../view/partial/pagination-control.phtml', |
|
402 | - 'core/loading-popup' => __DIR__ . '/../view/partial/loading-popup.phtml', |
|
403 | - 'core/notifications' => __DIR__ . '/../view/partial/notifications.phtml', |
|
404 | - 'form/core/buttons' => __DIR__ . '/../view/form/buttons.phtml', |
|
405 | - 'core/social-buttons' => __DIR__ . '/../view/partial/social-buttons.phtml', |
|
406 | - 'form/core/privacy' => __DIR__ . '/../view/form/privacy.phtml', |
|
407 | - 'core/form/permissions-fieldset' => __DIR__ . '/../view/form/permissions-fieldset.phtml', |
|
408 | - 'core/form/permissions-collection' => __DIR__ . '/../view/form/permissions-collection.phtml', |
|
409 | - 'core/form/container-view' => __DIR__ . '/../view/form/container.view.phtml', |
|
410 | - 'core/form/tree-manage.view' => __DIR__ . '/../view/form/tree-manage.view.phtml', |
|
411 | - 'core/form/tree-manage.form' => __DIR__ . '/../view/form/tree-manage.form.phtml', |
|
412 | - 'core/form/tree-add-item' => __DIR__ . '/../view/form/tree-add-item.phtml', |
|
413 | - 'mail/header' => __DIR__ . '/../view/mail/header.phtml', |
|
414 | - 'mail/footer' => __DIR__ . '/../view/mail/footer.phtml', |
|
415 | - 'mail/footer.en' => __DIR__ . '/../view/mail/footer.en.phtml', |
|
395 | + 'noscript-notice' => __DIR__.'/../view/layout/_noscript-notice.phtml', |
|
396 | + 'layout/layout' => __DIR__.'/../view/layout/layout.phtml', |
|
397 | + 'error/404' => __DIR__.'/../view/error/404.phtml', |
|
398 | + 'error/403' => __DIR__.'/../view/error/403.phtml', |
|
399 | + 'error/index' => __DIR__.'/../view/error/index.phtml', |
|
400 | + 'main-navigation' => __DIR__.'/../view/partial/main-navigation.phtml', |
|
401 | + 'pagination-control' => __DIR__.'/../view/partial/pagination-control.phtml', |
|
402 | + 'core/loading-popup' => __DIR__.'/../view/partial/loading-popup.phtml', |
|
403 | + 'core/notifications' => __DIR__.'/../view/partial/notifications.phtml', |
|
404 | + 'form/core/buttons' => __DIR__.'/../view/form/buttons.phtml', |
|
405 | + 'core/social-buttons' => __DIR__.'/../view/partial/social-buttons.phtml', |
|
406 | + 'form/core/privacy' => __DIR__.'/../view/form/privacy.phtml', |
|
407 | + 'core/form/permissions-fieldset' => __DIR__.'/../view/form/permissions-fieldset.phtml', |
|
408 | + 'core/form/permissions-collection' => __DIR__.'/../view/form/permissions-collection.phtml', |
|
409 | + 'core/form/container-view' => __DIR__.'/../view/form/container.view.phtml', |
|
410 | + 'core/form/tree-manage.view' => __DIR__.'/../view/form/tree-manage.view.phtml', |
|
411 | + 'core/form/tree-manage.form' => __DIR__.'/../view/form/tree-manage.form.phtml', |
|
412 | + 'core/form/tree-add-item' => __DIR__.'/../view/form/tree-add-item.phtml', |
|
413 | + 'mail/header' => __DIR__.'/../view/mail/header.phtml', |
|
414 | + 'mail/footer' => __DIR__.'/../view/mail/footer.phtml', |
|
415 | + 'mail/footer.en' => __DIR__.'/../view/mail/footer.en.phtml', |
|
416 | 416 | //'startpage' => __DIR__ . '/../view/layout/startpage.phtml', |
417 | 417 | ), |
418 | 418 | // Where to look for view templates not mapped above |
419 | 419 | 'template_path_stack' => array( |
420 | - __DIR__ . '/../view', |
|
420 | + __DIR__.'/../view', |
|
421 | 421 | ), |
422 | 422 | ), |
423 | 423 | 'view_helpers' => array( |
@@ -97,8 +97,8 @@ discard block |
||
97 | 97 | // assets-install info |
98 | 98 | 'assets-install [--symlink] [--relative] <target>' => 'Install assets in the given target', |
99 | 99 | 'The assets-install command will install assets in the given <target> directory. If no option given this command will copy assets into the target.', |
100 | - ['--symlink','This option will install assets using absolute symlink directory'], |
|
101 | - ['--relative','This option will install assets using relative symlink'], |
|
100 | + ['--symlink', 'This option will install assets using absolute symlink directory'], |
|
101 | + ['--relative', 'This option will install assets using relative symlink'], |
|
102 | 102 | "" |
103 | 103 | ]; |
104 | 104 | } |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | $eventManager->attach( |
166 | 166 | MvcEvent::EVENT_DISPATCH_ERROR, |
167 | - function ($event) { |
|
167 | + function($event) { |
|
168 | 168 | if ($event instanceof MvcEvent) { |
169 | 169 | $application = $event->getApplication(); |
170 | 170 | |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | ); |
181 | 181 | $eventManager->attach( |
182 | 182 | MvcEvent::EVENT_DISPATCH, |
183 | - function ($event) use ($eventManager) { |
|
183 | + function($event) use ($eventManager) { |
|
184 | 184 | $eventManager->trigger('postDispatch', $event); |
185 | 185 | }, |
186 | 186 | -150 |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | */ |
197 | 197 | public function getConfig() |
198 | 198 | { |
199 | - $config = include __DIR__ . '/../config/module.config.php'; |
|
199 | + $config = include __DIR__.'/../config/module.config.php'; |
|
200 | 200 | return $config; |
201 | 201 | } |
202 | 202 | |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | public function init(ModuleManager $manager) |
207 | 207 | { |
208 | 208 | $events = $manager->getEventManager(); |
209 | - $events->attach(ModuleEvent::EVENT_MERGE_CONFIG, [$this,'onMergeConfig']); |
|
209 | + $events->attach(ModuleEvent::EVENT_MERGE_CONFIG, [$this, 'onMergeConfig']); |
|
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $dateEnd->add(new \DateInterval("P180D")); |
59 | 59 | $dateEnd = $dateEnd->format('Y-m-d H:i:s'); |
60 | 60 | } |
61 | - $array=[ |
|
61 | + $array = [ |
|
62 | 62 | '@context'=>'http://schema.org/', |
63 | 63 | '@type' => 'JobPosting', |
64 | 64 | 'title' => $this->job->getTitle(), |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | */ |
95 | 95 | private function getLocations($locations) |
96 | 96 | { |
97 | - $array=[]; |
|
97 | + $array = []; |
|
98 | 98 | foreach ($locations as $location) { /* @var \Core\Entity\LocationInterface $location */ |
99 | 99 | array_push( |
100 | 100 | $array, |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | '@type' => 'Place', |
103 | 103 | 'address' => [ |
104 | 104 | '@type' => 'PostalAddress', |
105 | - 'streetAddress' => $location->getStreetname() .' '.$location->getStreetnumber(), |
|
105 | + 'streetAddress' => $location->getStreetname().' '.$location->getStreetnumber(), |
|
106 | 106 | 'postalCode' => $location->getPostalCode(), |
107 | 107 | 'addressLocality' => $location->getCity(), |
108 | 108 | 'addressCountry' => $location->getCountry(), |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | private function getDescription(TemplateValuesInterface $values) |
125 | 125 | { |
126 | - $description=sprintf( |
|
126 | + $description = sprintf( |
|
127 | 127 | "<p>%s</p>". |
128 | 128 | "<h1>%s</h1>". |
129 | 129 | "<h3>Requirements</h3><p>%s</p>". |
@@ -148,7 +148,6 @@ discard block |
||
148 | 148 | $salary = $this->job->getSalary(); |
149 | 149 | |
150 | 150 | return ($salary && !is_null($salary->getValue())) ? |
151 | - ($salary->getValue() . ' ' . $salary->getCurrency() . '/' . $salary->getUnit()) : |
|
152 | - /*@translate*/ 'Undefined'; |
|
151 | + ($salary->getValue().' '.$salary->getCurrency().'/'.$salary->getUnit()) : /*@translate*/ 'Undefined'; |
|
153 | 152 | } |
154 | 153 | } |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * for multiple paths. |
23 | 23 | * example https://github.com/doctrine/DoctrineORMModule |
24 | 24 | */ |
25 | - 'paths' => [ __DIR__ . '/../src/Entity'], |
|
25 | + 'paths' => [__DIR__.'/../src/Entity'], |
|
26 | 26 | ], |
27 | 27 | ], |
28 | 28 | 'eventmanager' => [ |
@@ -35,8 +35,8 @@ discard block |
||
35 | 35 | ], |
36 | 36 | |
37 | 37 | 'options' => [ |
38 | - 'Jobs/JobboardSearchOptions' => [ 'class' => '\Jobs\Options\JobboardSearchOptions' ], |
|
39 | - 'Jobs/BaseFieldsetOptions' => [ 'class' => '\Jobs\Options\BaseFieldsetOptions' ], |
|
38 | + 'Jobs/JobboardSearchOptions' => ['class' => '\Jobs\Options\JobboardSearchOptions'], |
|
39 | + 'Jobs/BaseFieldsetOptions' => ['class' => '\Jobs\Options\BaseFieldsetOptions'], |
|
40 | 40 | ], |
41 | 41 | |
42 | 42 | 'Jobs' => [ |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | 'translation_file_patterns' => [ |
59 | 59 | [ |
60 | 60 | 'type' => 'gettext', |
61 | - 'base_dir' => __DIR__ . '/../language', |
|
61 | + 'base_dir' => __DIR__.'/../language', |
|
62 | 62 | 'pattern' => '%s.mo', |
63 | 63 | ], |
64 | 64 | ], |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | 'Jobboard', |
99 | 99 | 'Jobs/Jobboard', |
100 | 100 | 'Jobs/ApiJobListByChannel', |
101 | - 'Jobs/Template' => [ 'view', 'edittemplate' ], |
|
101 | + 'Jobs/Template' => ['view', 'edittemplate'], |
|
102 | 102 | 'Jobs/Manage' => [ |
103 | 103 | 'template', |
104 | 104 | ], |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | 'Jobs/Listener/AdminWidgetProvider' => 'Jobs\Factory\Listener\AdminWidgetProviderFactory', |
227 | 227 | 'Jobs/ViewModelTemplateFilter' => 'Jobs\Factory\Filter\ViewModelTemplateFilterFactory', |
228 | 228 | 'Jobs\Model\ApiJobDehydrator' => 'Jobs\Factory\Model\ApiJobDehydratorFactory', |
229 | - 'Jobs/Listener/Publisher' => [Publisher::class,'factory'], |
|
229 | + 'Jobs/Listener/Publisher' => [Publisher::class, 'factory'], |
|
230 | 230 | 'Jobs/PreviewLinkHydrator' => 'Jobs\Form\Hydrator\PreviewLinkHydrator::factory', |
231 | 231 | 'Jobs\Auth\Dependency\ListListener' => 'Jobs\Factory\Auth\Dependency\ListListenerFactory', |
232 | 232 | 'Jobs/DefaultCategoriesBuilder' => 'Jobs\Factory\Repository\DefaultCategoriesBuilderFactory', |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | |
244 | 244 | |
245 | 245 | 'event_manager' => [ |
246 | - 'Core/AdminController/Events' => [ 'listeners' => [ |
|
246 | + 'Core/AdminController/Events' => ['listeners' => [ |
|
247 | 247 | 'Jobs/Listener/AdminWidgetProvider' => \Core\Controller\AdminControllerEvent::EVENT_DASHBOARD, |
248 | 248 | ]], |
249 | 249 | |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | 'Core/Ajax/Events' => ['listeners' => [ |
267 | 267 | \Jobs\Listener\DeleteJob::class => ['jobs.delete', true], |
268 | 268 | \Jobs\Listener\GetOrganizationManagers::class => ['jobs.manager-select', true], |
269 | - \Jobs\Listener\LoadActiveOrganizations::class => [ 'jobs.admin.activeorganizations', true], |
|
269 | + \Jobs\Listener\LoadActiveOrganizations::class => ['jobs.admin.activeorganizations', true], |
|
270 | 270 | |
271 | 271 | ]], |
272 | 272 | |
@@ -292,10 +292,10 @@ discard block |
||
292 | 292 | 'Jobs/ApiJobListByChannel' => 'Jobs\Controller\ApiJobListByChannelController', |
293 | 293 | ], |
294 | 294 | 'factories' => [ |
295 | - 'Jobs/Import' => [ Controller\ImportController::class, 'factory'], |
|
296 | - 'Jobs/Console' => [ConsoleController::class,'factory'], |
|
297 | - 'Jobs/AdminCategories' => [AdminCategoriesController::class,'factory'], |
|
298 | - 'Jobs/Admin' => [AdminController::class,'factory'], |
|
295 | + 'Jobs/Import' => [Controller\ImportController::class, 'factory'], |
|
296 | + 'Jobs/Console' => [ConsoleController::class, 'factory'], |
|
297 | + 'Jobs/AdminCategories' => [AdminCategoriesController::class, 'factory'], |
|
298 | + 'Jobs/Admin' => [AdminController::class, 'factory'], |
|
299 | 299 | 'Jobs/Template' => 'Jobs\Factory\Controller\TemplateControllerFactory', |
300 | 300 | 'Jobs/Index' => 'Jobs\Factory\Controller\IndexControllerFactory', |
301 | 301 | 'Jobs/Approval' => 'Jobs\Factory\Controller\ApprovalControllerFactory', |
@@ -328,42 +328,42 @@ discard block |
||
328 | 328 | 'view_manager' => [ |
329 | 329 | // Map template to files. Speeds up the lookup through the template stack. |
330 | 330 | 'template_map' => [ |
331 | - 'jobs/form/list-filter' => __DIR__ . '/../view/form/list-filter.phtml', |
|
332 | - 'jobs/form/apply-identifier' => __DIR__ . '/../view/form/apply-identifier.phtml', |
|
333 | - 'jobs/form/hiring-organization-select' => __DIR__ . '/../view/form/hiring-organization-select.phtml', |
|
334 | - 'jobs/form/multiposting-select' => __DIR__ . '/../view/form/multiposting-select.phtml', |
|
335 | - 'jobs/form/multiposting-checkboxes' => __DIR__ . '/../view/form/multiposting-checkboxes.phtml', |
|
336 | - 'jobs/form/ats-mode.view' => __DIR__ . '/../view/form/ats-mode.view.phtml', |
|
337 | - 'jobs/form/ats-mode.form' => __DIR__ . '/../view/form/ats-mode.form.phtml', |
|
338 | - 'jobs/form/salary-fieldset' => __DIR__ . '/../view/form/salary-fieldset.phtml', |
|
339 | - 'jobs/form/company-name-fieldset' => __DIR__ . '/../view/form/company-name-fieldset.phtml', |
|
340 | - 'jobs/form/preview' => __DIR__ . '/../view/form/preview.phtml', |
|
341 | - 'jobs/form/customer-note' => __DIR__ . '/../view/form/customer-note.phtml', |
|
342 | - 'jobs/partials/channel-list' => __DIR__ . '/../view/partials/channel-list.phtml', |
|
343 | - 'jobs/assign-user' => __DIR__ . '/../view/jobs/manage/assign-user.phtml', |
|
344 | - 'jobs/snapshot_or_preview' => __DIR__ . '/../view/partials/snapshot_or_preview.phtml', |
|
345 | - 'jobs/history' => __DIR__ . '/../view/partials/history.phtml', |
|
346 | - 'jobs/portalsummary' => __DIR__ . '/../view/partials/portalsummary.phtml', |
|
347 | - 'content/jobs-publish-on-yawik' => __DIR__ . '/../view/modals/yawik.phtml', |
|
348 | - 'content/jobs-publish-on-jobsintown' => __DIR__ . '/../view/modals/jobsintown.phtml', |
|
349 | - 'content/jobs-publish-on-homepage' => __DIR__ . '/../view/modals/homepage.phtml', |
|
350 | - 'content/jobs-publish-on-fazjob' => __DIR__ . '/../view/modals/fazjob.phtml', |
|
351 | - 'content/jobs-terms-and-conditions' => __DIR__ . '/../view/jobs/index/terms.phtml', |
|
352 | - 'mail/job-created' => __DIR__ . '/../view/mails/job-created.phtml', |
|
353 | - 'mail/job-pending' => __DIR__ . '/../view/mails/job-pending.phtml', |
|
354 | - 'mail/job-accepted' => __DIR__ . '/../view/mails/job-accepted.phtml', |
|
355 | - 'mail/job-rejected' => __DIR__ . '/../view/mails/job-rejected.phtml', |
|
356 | - 'mail/job-created.en' => __DIR__ . '/../view/mails/job-created.en.phtml', |
|
357 | - 'mail/job-pending.en' => __DIR__ . '/../view/mails/job-pending.en.phtml', |
|
358 | - 'mail/job-accepted.en' => __DIR__ . '/../view/mails/job-accepted.en.phtml', |
|
359 | - 'mail/job-rejected.en' => __DIR__ . '/../view/mails/job-rejected.en.phtml', |
|
360 | - 'jobs/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
361 | - 'jobs/error/expired' => __DIR__ . '/../view/error/expired.phtml', |
|
331 | + 'jobs/form/list-filter' => __DIR__.'/../view/form/list-filter.phtml', |
|
332 | + 'jobs/form/apply-identifier' => __DIR__.'/../view/form/apply-identifier.phtml', |
|
333 | + 'jobs/form/hiring-organization-select' => __DIR__.'/../view/form/hiring-organization-select.phtml', |
|
334 | + 'jobs/form/multiposting-select' => __DIR__.'/../view/form/multiposting-select.phtml', |
|
335 | + 'jobs/form/multiposting-checkboxes' => __DIR__.'/../view/form/multiposting-checkboxes.phtml', |
|
336 | + 'jobs/form/ats-mode.view' => __DIR__.'/../view/form/ats-mode.view.phtml', |
|
337 | + 'jobs/form/ats-mode.form' => __DIR__.'/../view/form/ats-mode.form.phtml', |
|
338 | + 'jobs/form/salary-fieldset' => __DIR__.'/../view/form/salary-fieldset.phtml', |
|
339 | + 'jobs/form/company-name-fieldset' => __DIR__.'/../view/form/company-name-fieldset.phtml', |
|
340 | + 'jobs/form/preview' => __DIR__.'/../view/form/preview.phtml', |
|
341 | + 'jobs/form/customer-note' => __DIR__.'/../view/form/customer-note.phtml', |
|
342 | + 'jobs/partials/channel-list' => __DIR__.'/../view/partials/channel-list.phtml', |
|
343 | + 'jobs/assign-user' => __DIR__.'/../view/jobs/manage/assign-user.phtml', |
|
344 | + 'jobs/snapshot_or_preview' => __DIR__.'/../view/partials/snapshot_or_preview.phtml', |
|
345 | + 'jobs/history' => __DIR__.'/../view/partials/history.phtml', |
|
346 | + 'jobs/portalsummary' => __DIR__.'/../view/partials/portalsummary.phtml', |
|
347 | + 'content/jobs-publish-on-yawik' => __DIR__.'/../view/modals/yawik.phtml', |
|
348 | + 'content/jobs-publish-on-jobsintown' => __DIR__.'/../view/modals/jobsintown.phtml', |
|
349 | + 'content/jobs-publish-on-homepage' => __DIR__.'/../view/modals/homepage.phtml', |
|
350 | + 'content/jobs-publish-on-fazjob' => __DIR__.'/../view/modals/fazjob.phtml', |
|
351 | + 'content/jobs-terms-and-conditions' => __DIR__.'/../view/jobs/index/terms.phtml', |
|
352 | + 'mail/job-created' => __DIR__.'/../view/mails/job-created.phtml', |
|
353 | + 'mail/job-pending' => __DIR__.'/../view/mails/job-pending.phtml', |
|
354 | + 'mail/job-accepted' => __DIR__.'/../view/mails/job-accepted.phtml', |
|
355 | + 'mail/job-rejected' => __DIR__.'/../view/mails/job-rejected.phtml', |
|
356 | + 'mail/job-created.en' => __DIR__.'/../view/mails/job-created.en.phtml', |
|
357 | + 'mail/job-pending.en' => __DIR__.'/../view/mails/job-pending.en.phtml', |
|
358 | + 'mail/job-accepted.en' => __DIR__.'/../view/mails/job-accepted.en.phtml', |
|
359 | + 'mail/job-rejected.en' => __DIR__.'/../view/mails/job-rejected.en.phtml', |
|
360 | + 'jobs/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml', |
|
361 | + 'jobs/error/expired' => __DIR__.'/../view/error/expired.phtml', |
|
362 | 362 | ], |
363 | 363 | |
364 | 364 | // Where to look for view templates not mapped above |
365 | 365 | 'template_path_stack' => [ |
366 | - __DIR__ . '/../view', |
|
366 | + __DIR__.'/../view', |
|
367 | 367 | ], |
368 | 368 | ], |
369 | 369 |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * @param array $loadModules |
96 | 96 | * @return array |
97 | 97 | */ |
98 | - public static function generateModuleConfiguration($loadModules=[]) |
|
98 | + public static function generateModuleConfiguration($loadModules = []) |
|
99 | 99 | { |
100 | 100 | $modules = ArrayUtils::merge( |
101 | 101 | static::getRequiredModules(), |
@@ -186,15 +186,15 @@ discard block |
||
186 | 186 | public static function setupCliServerEnv() |
187 | 187 | { |
188 | 188 | $parseUrl = parse_url(substr($_SERVER["REQUEST_URI"], 1)); |
189 | - $route = isset($parseUrl['path']) ? $parseUrl['path']:null; |
|
190 | - if (is_file(__DIR__ . '/' . $route)) { |
|
189 | + $route = isset($parseUrl['path']) ? $parseUrl['path'] : null; |
|
190 | + if (is_file(__DIR__.'/'.$route)) { |
|
191 | 191 | if (substr($route, -4) == ".php") { |
192 | - require __DIR__ . '/' . $route; // Include requested script files |
|
192 | + require __DIR__.'/'.$route; // Include requested script files |
|
193 | 193 | exit; |
194 | 194 | } |
195 | - return false; // Serve file as is |
|
195 | + return false; // Serve file as is |
|
196 | 196 | } else { // Fallback to index.php |
197 | - $_GET["q"] = $route; // Try to emulate the behaviour of a .htaccess here. |
|
197 | + $_GET["q"] = $route; // Try to emulate the behaviour of a .htaccess here. |
|
198 | 198 | } |
199 | 199 | return true; |
200 | 200 | } |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | } |
313 | 313 | |
314 | 314 | // setup docker environment |
315 | - if (getenv('DOCKER_ENV')=='yes') { |
|
315 | + if (getenv('DOCKER_ENV') == 'yes') { |
|
316 | 316 | $configuration = ArrayUtils::merge($configuration, static::getDockerEnv($configuration)); |
317 | 317 | } |
318 | 318 | return $configuration; |