@@ -24,23 +24,23 @@ |
||
24 | 24 | |
25 | 25 | public function getConfig() |
26 | 26 | { |
27 | - return include __DIR__ . '/config/module.config.php'; |
|
27 | + return include __DIR__.'/config/module.config.php'; |
|
28 | 28 | } |
29 | 29 | |
30 | 30 | public function getAutoloaderConfig() |
31 | 31 | { |
32 | 32 | return array( |
33 | 33 | 'Zend\Loader\ClassMapAutoloader' => [ |
34 | - __DIR__ . '/src/autoload_classmap.php', |
|
34 | + __DIR__.'/src/autoload_classmap.php', |
|
35 | 35 | [ |
36 | 36 | // We need this filter for initial user creation. |
37 | - 'Auth\Entity\Filter\CredentialFilter' => __DIR__ . '/../Auth/src/Auth/Entity/Filter/CredentialFilter.php', |
|
37 | + 'Auth\Entity\Filter\CredentialFilter' => __DIR__.'/../Auth/src/Auth/Entity/Filter/CredentialFilter.php', |
|
38 | 38 | ], |
39 | 39 | ], |
40 | 40 | 'Zend\Loader\StandardAutoloader' => array( |
41 | 41 | 'namespaces' => array( |
42 | - __NAMESPACE__ => __DIR__ . '/src' /* . __NAMESPACE__*/, |
|
43 | - __NAMESPACE__ . 'Test' => __DIR__ . '/test/' . __NAMESPACE__ . 'Test', |
|
42 | + __NAMESPACE__ => __DIR__.'/src' /* . __NAMESPACE__*/, |
|
43 | + __NAMESPACE__.'Test' => __DIR__.'/test/'.__NAMESPACE__.'Test', |
|
44 | 44 | ), |
45 | 45 | ), |
46 | 46 | ); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function getConfig() |
40 | 40 | { |
41 | - return ModuleConfigLoader::load(__DIR__ . '/config'); |
|
41 | + return ModuleConfigLoader::load(__DIR__.'/config'); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
@@ -50,12 +50,12 @@ discard block |
||
50 | 50 | { |
51 | 51 | return array( |
52 | 52 | 'Zend\Loader\ClassMapAutoloader' => [ |
53 | - __DIR__ . '/src/autoload_classmap.php' |
|
53 | + __DIR__.'/src/autoload_classmap.php' |
|
54 | 54 | ], |
55 | 55 | 'Zend\Loader\StandardAutoloader' => array( |
56 | 56 | 'namespaces' => array( |
57 | - __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, |
|
58 | - __NAMESPACE__ . 'Test' => __DIR__ . '/test/' . __NAMESPACE__ . 'Test', |
|
57 | + __NAMESPACE__ => __DIR__.'/src/'.__NAMESPACE__, |
|
58 | + __NAMESPACE__.'Test' => __DIR__.'/test/'.__NAMESPACE__.'Test', |
|
59 | 59 | ), |
60 | 60 | ), |
61 | 61 | ); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function getConfig() |
27 | 27 | { |
28 | - return ModuleConfigLoader::load(__DIR__ . '/config'); |
|
28 | + return ModuleConfigLoader::load(__DIR__.'/config'); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -37,12 +37,12 @@ discard block |
||
37 | 37 | { |
38 | 38 | return array( |
39 | 39 | 'Zend\Loader\ClassMapAutoloader' => [ |
40 | - __DIR__ . '/src/autoload_classmap.php' |
|
40 | + __DIR__.'/src/autoload_classmap.php' |
|
41 | 41 | ], |
42 | 42 | 'Zend\Loader\StandardAutoloader' => array( |
43 | 43 | 'namespaces' => array( |
44 | - __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, |
|
45 | - 'OrganizationsTest' => __DIR__ . '/test/' . 'OrganizationsTest' |
|
44 | + __NAMESPACE__ => __DIR__.'/src/'.__NAMESPACE__, |
|
45 | + 'OrganizationsTest' => __DIR__.'/test/'.'OrganizationsTest' |
|
46 | 46 | ), |
47 | 47 | ), |
48 | 48 | ); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $createJobListener->attachShared($sharedManager); |
59 | 59 | |
60 | 60 | if ($e->getRequest() instanceof \Zend\Http\Request) { |
61 | - $eventManager->attach(MvcEvent::EVENT_DISPATCH_ERROR, function (MvcEvent $event) { |
|
61 | + $eventManager->attach(MvcEvent::EVENT_DISPATCH_ERROR, function(MvcEvent $event) { |
|
62 | 62 | $serviceManager = $event->getApplication() |
63 | 63 | ->getServiceManager(); |
64 | 64 | $options = $serviceManager->get('Organizations/ImageFileCacheOptions'); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function getConfig() |
30 | 30 | { |
31 | - return include __DIR__ . '/config/module.config.php'; |
|
31 | + return include __DIR__.'/config/module.config.php'; |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
@@ -41,11 +41,11 @@ discard block |
||
41 | 41 | |
42 | 42 | return array( |
43 | 43 | 'Zend\Loader\ClassMapAutoloader' => [ |
44 | - __DIR__ . '/src/autoload_classmap.php' |
|
44 | + __DIR__.'/src/autoload_classmap.php' |
|
45 | 45 | ], |
46 | 46 | 'Zend\Loader\StandardAutoloader' => array( |
47 | 47 | 'namespaces' => array( |
48 | - __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, |
|
48 | + __NAMESPACE__ => __DIR__.'/src/'.__NAMESPACE__, |
|
49 | 49 | ), |
50 | 50 | ), |
51 | 51 | ); |
@@ -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 |
@@ -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 |
@@ -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 | } |
@@ -88,14 +88,14 @@ discard block |
||
88 | 88 | |
89 | 89 | $class = $form->getAttribute('class'); |
90 | 90 | $class = preg_replace('~\bform-[^ ]+\b~', '', $class); |
91 | - $class .= ' ' . $layout; |
|
91 | + $class .= ' '.$layout; |
|
92 | 92 | |
93 | 93 | $form->setAttribute('class', $class); |
94 | 94 | |
95 | 95 | $formId = $form->getAttribute('id') ?: $form->getName(); |
96 | 96 | $formId = preg_replace( |
97 | 97 | array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'), |
98 | - array('-' , '-' , '' ), |
|
98 | + array('-', '-', ''), |
|
99 | 99 | $formId |
100 | 100 | ); |
101 | 101 | $form->setAttribute( |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | if (!$elementId) { |
121 | 121 | $elementId = preg_replace( |
122 | 122 | array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'), |
123 | - array('-' , '-', ''), |
|
123 | + array('-', '-', ''), |
|
124 | 124 | $element->getName() |
125 | 125 | ); |
126 | 126 | } |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | } |
160 | 160 | } |
161 | 161 | |
162 | - return $this->openTag($form) . $formContent . $this->closeTag(); |
|
162 | + return $this->openTag($form).$formContent.$this->closeTag(); |
|
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | ); |
188 | 188 | |
189 | 189 | if ($desc = $form->getOption('description', '')) { |
190 | - $descriptionParams=$form->getOption('description_params'); |
|
190 | + $descriptionParams = $form->getOption('description_params'); |
|
191 | 191 | $translator = $this->getTranslator(); |
192 | 192 | $textDomain = $this->getTranslatorTextDomain(); |
193 | 193 | $desc = $translator->translate($desc, $textDomain); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | $desc |
209 | 209 | ); |
210 | 210 | } else { |
211 | - $formContent = '<div class="form-content">' . $formContent . '</div>'; |
|
211 | + $formContent = '<div class="form-content">'.$formContent.'</div>'; |
|
212 | 212 | } |
213 | 213 | |
214 | 214 | $markup = '<div id="form-%s" class="form-container">' |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | . '</div>'; |
218 | 218 | |
219 | 219 | if ($label = $form->getLabel()) { |
220 | - $label = '<div class="form-headline"><h3>' . $renderer->translate($label) . '</h3></div>'; |
|
220 | + $label = '<div class="form-headline"><h3>'.$renderer->translate($label).'</h3></div>'; |
|
221 | 221 | } |
222 | 222 | |
223 | 223 | return sprintf( |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | if (!$elementId) { |
70 | 70 | $elementId = preg_replace( |
71 | 71 | array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'), |
72 | - array('-' , '-' , '' ), |
|
72 | + array('-', '-', ''), |
|
73 | 73 | $element->getName() |
74 | 74 | ); |
75 | 75 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | if (!$elementOrFieldsetId) { |
105 | 105 | $elementOrFieldsetId = preg_replace( |
106 | 106 | array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'), |
107 | - array('-' , '-' , '' ), |
|
107 | + array('-', '-', ''), |
|
108 | 108 | $elementOrFieldset->getName() |
109 | 109 | ); |
110 | 110 |