@@ -42,13 +42,13 @@ |
||
42 | 42 | |
43 | 43 | $this->add( |
44 | 44 | array( |
45 | - 'type' => 'Jobs/MultipostingSelect', |
|
46 | - 'property' => true, |
|
47 | - 'name' => 'portals', |
|
48 | - 'options' => array( |
|
49 | - 'label' => /*@translate*/ 'Portals', |
|
50 | - ), |
|
51 | - ) |
|
45 | + 'type' => 'Jobs/MultipostingSelect', |
|
46 | + 'property' => true, |
|
47 | + 'name' => 'portals', |
|
48 | + 'options' => array( |
|
49 | + 'label' => /*@translate*/ 'Portals', |
|
50 | + ), |
|
51 | + ) |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 |
@@ -62,7 +62,7 @@ |
||
62 | 62 | 'priority' => 100, |
63 | 63 | 'label' => /*@translate*/ 'Basic Data', |
64 | 64 | 'options' => [ |
65 | - 'label' => /*@translate*/ 'Basic Data' |
|
65 | + 'label' => /*@translate*/ 'Basic Data' |
|
66 | 66 | ], |
67 | 67 | 'property' => true, |
68 | 68 | 'forms' => [ |
@@ -15,12 +15,12 @@ |
||
15 | 15 | |
16 | 16 | class UniqueApplyIdFactory implements FactoryInterface |
17 | 17 | { |
18 | - public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
19 | - { |
|
20 | - $repositories = $container->get('repositories'); |
|
21 | - $jobs = $repositories->get('Jobs/Job'); |
|
22 | - $validator = new UniqueApplyId($jobs); |
|
18 | + public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
19 | + { |
|
20 | + $repositories = $container->get('repositories'); |
|
21 | + $jobs = $repositories->get('Jobs/Job'); |
|
22 | + $validator = new UniqueApplyId($jobs); |
|
23 | 23 | |
24 | - return $validator; |
|
25 | - } |
|
24 | + return $validator; |
|
25 | + } |
|
26 | 26 | } |
@@ -28,8 +28,8 @@ |
||
28 | 28 | |
29 | 29 | public function init() |
30 | 30 | { |
31 | - $this->setAttribute('id','customerNoteFieldset'); |
|
32 | - $this->setName('customerNote'); |
|
31 | + $this->setAttribute('id','customerNoteFieldset'); |
|
32 | + $this->setName('customerNote'); |
|
33 | 33 | $this->add([ |
34 | 34 | 'type' => 'Textarea', |
35 | 35 | 'name' => 'note', |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | * @var array $attachmentsMimeType |
37 | 37 | */ |
38 | 38 | protected $attachmentsMimeType = array( |
39 | - 'image', |
|
40 | - 'application/pdf', |
|
41 | - 'applications/pdf', |
|
39 | + 'image', |
|
40 | + 'application/pdf', |
|
41 | + 'applications/pdf', |
|
42 | 42 | 'application/x-pdf', |
43 | 43 | 'application/acrobat', |
44 | 44 | 'applications/vnd.pdf', |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | protected $workflow = [ |
86 | 86 | |
87 | - 'recruiter', |
|
87 | + 'recruiter', |
|
88 | 88 | ]; |
89 | 89 | |
90 | 90 | /** |
@@ -222,13 +222,13 @@ discard block |
||
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
225 | - * @return boolean |
|
226 | - * @since 0.27 |
|
227 | - */ |
|
228 | - public function getAllowSubsequentAttachmentUpload() |
|
229 | - { |
|
230 | - return $this->allowSubsequentAttachmentUpload; |
|
231 | - } |
|
225 | + * @return boolean |
|
226 | + * @since 0.27 |
|
227 | + */ |
|
228 | + public function getAllowSubsequentAttachmentUpload() |
|
229 | + { |
|
230 | + return $this->allowSubsequentAttachmentUpload; |
|
231 | + } |
|
232 | 232 | |
233 | 233 | /** |
234 | 234 | * @param boolean $allowSubsequentAttachmentUpload |
@@ -26,24 +26,24 @@ |
||
26 | 26 | */ |
27 | 27 | class PaginationQueryFactory implements FactoryInterface |
28 | 28 | { |
29 | - public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
30 | - { |
|
31 | - $auth = $container->get('AuthenticationService'); |
|
32 | - $filter = new PaginationQuery($auth); |
|
33 | - return $filter; |
|
34 | - } |
|
29 | + public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
30 | + { |
|
31 | + $auth = $container->get('AuthenticationService'); |
|
32 | + $filter = new PaginationQuery($auth); |
|
33 | + return $filter; |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * Creates pagination Service |
|
38 | - * |
|
39 | - * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
40 | - * |
|
41 | - * @param ContainerInterface $container |
|
42 | - * @return PaginationQuery|mixed |
|
43 | - * @internal param ServiceLocatorInterface $serviceLocator |
|
44 | - */ |
|
36 | + /** |
|
37 | + * Creates pagination Service |
|
38 | + * |
|
39 | + * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
40 | + * |
|
41 | + * @param ContainerInterface $container |
|
42 | + * @return PaginationQuery|mixed |
|
43 | + * @internal param ServiceLocatorInterface $serviceLocator |
|
44 | + */ |
|
45 | 45 | public function createService(ContainerInterface $container) |
46 | 46 | { |
47 | - return $this($container,PaginationQuery::class); |
|
47 | + return $this($container,PaginationQuery::class); |
|
48 | 48 | } |
49 | 49 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param ApplicationEvent $e |
70 | 70 | */ |
71 | 71 | public function prepareFormData(ApplicationEvent $e){ |
72 | - $target = $e->getTarget(); |
|
72 | + $target = $e->getTarget(); |
|
73 | 73 | if ($target->isPostRequest()) { |
74 | 74 | return; |
75 | 75 | } |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * @param ApplicationEvent $event |
124 | 124 | */ |
125 | 125 | public function sendMail(ApplicationEvent $event){ |
126 | - $event = $event->getTarget(); |
|
126 | + $event = $event->getTarget(); |
|
127 | 127 | if (!$event->isPostRequest()) { |
128 | 128 | return; |
129 | 129 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $options = $options ?: $this->options; |
44 | 44 | $router = $container->get('Router'); |
45 | 45 | $options['router'] = $router; |
46 | - $this->setCreationOptions($options); |
|
46 | + $this->setCreationOptions($options); |
|
47 | 47 | $mail = new NewApplication($options); |
48 | 48 | |
49 | 49 | return $mail; |
@@ -33,48 +33,48 @@ discard block |
||
33 | 33 | */ |
34 | 34 | class ConsoleController extends AbstractActionController |
35 | 35 | { |
36 | - /** |
|
37 | - * @var RepositoryService |
|
38 | - */ |
|
39 | - private $repositories; |
|
36 | + /** |
|
37 | + * @var RepositoryService |
|
38 | + */ |
|
39 | + private $repositories; |
|
40 | 40 | |
41 | - /** |
|
42 | - * @var FilterPluginManager |
|
43 | - */ |
|
44 | - private $filterManager; |
|
41 | + /** |
|
42 | + * @var FilterPluginManager |
|
43 | + */ |
|
44 | + private $filterManager; |
|
45 | 45 | |
46 | - /** |
|
47 | - * @var array |
|
48 | - */ |
|
49 | - private $config; |
|
46 | + /** |
|
47 | + * @var array |
|
48 | + */ |
|
49 | + private $config; |
|
50 | 50 | |
51 | - /** |
|
52 | - * @var DocumentManager |
|
53 | - */ |
|
54 | - private $documentManager; |
|
51 | + /** |
|
52 | + * @var DocumentManager |
|
53 | + */ |
|
54 | + private $documentManager; |
|
55 | 55 | |
56 | - public function __construct( |
|
57 | - RepositoryService $repositories, |
|
58 | - FilterPluginManager $filterManager, |
|
59 | - DocumentManager $documentManager, |
|
60 | - $config |
|
61 | - ) |
|
62 | - { |
|
63 | - $this->repositories = $repositories; |
|
64 | - $this->filterManager = $filterManager; |
|
65 | - $this->documentManager = $documentManager; |
|
66 | - $this->config = $config; |
|
67 | - } |
|
56 | + public function __construct( |
|
57 | + RepositoryService $repositories, |
|
58 | + FilterPluginManager $filterManager, |
|
59 | + DocumentManager $documentManager, |
|
60 | + $config |
|
61 | + ) |
|
62 | + { |
|
63 | + $this->repositories = $repositories; |
|
64 | + $this->filterManager = $filterManager; |
|
65 | + $this->documentManager = $documentManager; |
|
66 | + $this->config = $config; |
|
67 | + } |
|
68 | 68 | |
69 | - static public function factory(ContainerInterface $container) |
|
70 | - { |
|
71 | - return new self( |
|
72 | - $container->get('repositories'), |
|
73 | - $container->get('FilterManager'), |
|
74 | - $container->get('Core/DocumentManager'), |
|
75 | - $container->get('Config') |
|
76 | - ); |
|
77 | - } |
|
69 | + static public function factory(ContainerInterface $container) |
|
70 | + { |
|
71 | + return new self( |
|
72 | + $container->get('repositories'), |
|
73 | + $container->get('FilterManager'), |
|
74 | + $container->get('Core/DocumentManager'), |
|
75 | + $container->get('Config') |
|
76 | + ); |
|
77 | + } |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * regenerate keywords for applications |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | |
195 | 195 | $table = new Table( |
196 | 196 | array('columnWidths' => array(40, 40, 40), |
197 | - 'decorator' => 'ascii') |
|
197 | + 'decorator' => 'ascii') |
|
198 | 198 | ); |
199 | 199 | |
200 | 200 | $table->appendRow(array('Module', 'Name', 'Description')); |
@@ -275,8 +275,8 @@ discard block |
||
275 | 275 | $attachments = $app->getAttachments(); |
276 | 276 | foreach ($attachments as $attachment) { |
277 | 277 | $attachment->getPermissions() |
278 | - ->clear() |
|
279 | - ->inherit($permissions); |
|
278 | + ->clear() |
|
279 | + ->inherit($permissions); |
|
280 | 280 | } |
281 | 281 | $contact = $app->getContact(); |
282 | 282 | if ($contact) { |
@@ -284,8 +284,8 @@ discard block |
||
284 | 284 | |
285 | 285 | if ($image) { |
286 | 286 | $image->getPermissions() |
287 | - ->clear() |
|
288 | - ->inherit($permissions); |
|
287 | + ->clear() |
|
288 | + ->inherit($permissions); |
|
289 | 289 | } |
290 | 290 | } |
291 | 291 | } |