@@ -38,7 +38,7 @@ |
||
38 | 38 | $core = $container->get("Core/Options"); |
39 | 39 | |
40 | 40 | if ('' == $channel->getCurrency()) { |
41 | - $currency=$core->getDefaultCurrencyCode(); |
|
41 | + $currency = $core->getDefaultCurrencyCode(); |
|
42 | 42 | $channel->setCurrency($currency); |
43 | 43 | } |
44 | 44 |
@@ -38,14 +38,14 @@ |
||
38 | 38 | |
39 | 39 | $globalConfigPaths = []; |
40 | 40 | foreach ($config['config_glob_paths'] as $path) { |
41 | - $globalConfigPaths[] = substr($path, 0, strrpos($path, DIRECTORY_SEPARATOR)) . DIRECTORY_SEPARATOR; |
|
41 | + $globalConfigPaths[] = substr($path, 0, strrpos($path, DIRECTORY_SEPARATOR)).DIRECTORY_SEPARATOR; |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | $moduleConfigPath = '.'; |
45 | 45 | foreach ($config['module_paths'] as $path) { |
46 | - $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; |
|
47 | - if (file_exists($path . 'Jobs')) { |
|
48 | - $moduleConfigPath = $path . 'Jobs' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR; |
|
46 | + $path = rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR; |
|
47 | + if (file_exists($path.'Jobs')) { |
|
48 | + $moduleConfigPath = $path.'Jobs'.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR; |
|
49 | 49 | break; |
50 | 50 | } |
51 | 51 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | $jobs_options = isset($config['jobs_options']) ? $config['jobs_options'] : array(); |
45 | 45 | |
46 | - if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
46 | + if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
47 | 47 | $coreOptions = $container->get('Core/Options'); |
48 | 48 | $jobs_options['multipostingApprovalMail'] = $coreOptions->getSystemMessageEmail(); |
49 | 49 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $router = $container->get('Router'); |
47 | 47 | $select = new MultipostingSelect(); |
48 | 48 | $helpers = $container->get('ViewHelperManager'); |
49 | - $currencyFormat = $helpers->get('currencyFormat'); |
|
49 | + $currencyFormat = $helpers->get('currencyFormat'); |
|
50 | 50 | |
51 | 51 | $channels = $container->get('Jobs/Options/Provider'); |
52 | 52 | |
@@ -67,11 +67,11 @@ discard block |
||
67 | 67 | |
68 | 68 | $link = $router->assemble($channel->getParams(), array('name' => $channel->getRoute())); |
69 | 69 | $groups[$category]['options'][$channel->getKey()] = |
70 | - $channel->getLabel() . '|' |
|
71 | - . $channel->getHeadLine() . '|' |
|
72 | - . $channel->getDescription() . '|' |
|
73 | - . $channel->getLinkText() . '|' |
|
74 | - . $link . '|' . $channel->getPublishDuration() . '|' |
|
70 | + $channel->getLabel().'|' |
|
71 | + . $channel->getHeadLine().'|' |
|
72 | + . $channel->getDescription().'|' |
|
73 | + . $channel->getLinkText().'|' |
|
74 | + . $link.'|'.$channel->getPublishDuration().'|' |
|
75 | 75 | . $channel->getLogo(); |
76 | 76 | } |
77 | 77 |
@@ -49,8 +49,8 @@ |
||
49 | 49 | |
50 | 50 | $helper = new JobUrl(); |
51 | 51 | $helper->setUrlHelper($url) |
52 | - ->setParamsHelper($params) |
|
53 | - ->setServerUrlHelper($serverUrl); |
|
52 | + ->setParamsHelper($params) |
|
53 | + ->setServerUrlHelper($serverUrl); |
|
54 | 54 | return $helper; |
55 | 55 | } |
56 | 56 | } |
@@ -44,11 +44,11 @@ |
||
44 | 44 | $params = $viewHelper->get('params'); |
45 | 45 | $serverUrl = $viewHelper->get('serverUrl'); |
46 | 46 | |
47 | - $helper = new ApplyUrl(); |
|
47 | + $helper = new ApplyUrl(); |
|
48 | 48 | $helper->setUrlHelper($url) |
49 | - ->setTranslateHelper($translate) |
|
50 | - ->setParamsHelper($params) |
|
51 | - ->setServerUrlHelper($serverUrl); |
|
49 | + ->setTranslateHelper($translate) |
|
50 | + ->setParamsHelper($params) |
|
51 | + ->setServerUrlHelper($serverUrl); |
|
52 | 52 | return $helper; |
53 | 53 | } |
54 | 54 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $params = $viewHelper->get('params'); |
45 | 45 | $serverUrl = $viewHelper->get('serverUrl'); |
46 | 46 | |
47 | - $helper = new ApplyUrl(); |
|
47 | + $helper = new ApplyUrl(); |
|
48 | 48 | $helper->setUrlHelper($url) |
49 | 49 | ->setTranslateHelper($translate) |
50 | 50 | ->setParamsHelper($params) |
@@ -61,7 +61,7 @@ |
||
61 | 61 | $filter->setViewHelperForm($viewHelperForm); |
62 | 62 | } |
63 | 63 | if (!isset($filter)) { |
64 | - throw new \InvalidArgumentException(get_class($element) . ' cannot be used to initialize a template'); |
|
64 | + throw new \InvalidArgumentException(get_class($element).' cannot be used to initialize a template'); |
|
65 | 65 | } |
66 | 66 | $viewManager = $this->service->get('ViewHelperManager'); |
67 | 67 | $basePathHelper = $viewManager->get('basePath'); |
@@ -36,6 +36,6 @@ |
||
36 | 36 | $defaultListener = $container->get('DefaultListeners'); |
37 | 37 | $imageFileCacheManager = $container->get('Organizations\ImageFileCache\Manager'); |
38 | 38 | |
39 | - return new JobboardController($defaultListener, $jobRepository, $imageFileCacheManager, [ 'count' => $options->getPerPage() ]); |
|
39 | + return new JobboardController($defaultListener, $jobRepository, $imageFileCacheManager, ['count' => $options->getPerPage()]); |
|
40 | 40 | } |
41 | 41 | } |
@@ -33,8 +33,8 @@ |
||
33 | 33 | { |
34 | 34 | $auth = $container->get('AuthenticationService'); |
35 | 35 | /* @var RepositoryService $repositoryService */ |
36 | - $repositoryService = $container->get('repositories'); |
|
37 | - $translator = $container->get('translator'); |
|
36 | + $repositoryService = $container->get('repositories'); |
|
37 | + $translator = $container->get('translator'); |
|
38 | 38 | $filterManager = $container->get('FilterManager'); |
39 | 39 | $jobFormEvents = $container->get('Jobs/JobContainer/Events'); |
40 | 40 | $formManager = $container->get('FormElementManager'); |