Completed
Push — develop ( e649e8...88dc2a )
by
unknown
08:28
created
module/Organizations/config/module.config.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -64,13 +64,13 @@  discard block
 block discarded – undo
64 64
     'view_manager' => array(
65 65
         // Map template to files. Speeds up the lookup through the template stack.
66 66
         'template_map' => array(
67
-             'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
68
-             'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
69
-             'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
70
-             'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
71
-             'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
72
-             'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
73
-             'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
67
+                'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
68
+                'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
69
+                'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
70
+                'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
71
+                'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
72
+                'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
73
+                'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
74 74
             'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
75 75
         ),
76 76
         // Where to look for view templates not mapped above
@@ -80,20 +80,20 @@  discard block
 block discarded – undo
80 80
     ),
81 81
     'form_elements' => array(
82 82
         'invokables' => array(
83
-             'Organizations/form' => 'Organizations\Form\Organizations',
84
-             'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
85
-             'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
86
-             'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
87
-             'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
88
-             'Organizations/OrganizationsNameFieldset'    => 'Organizations\Form\OrganizationsNameFieldset',
89
-             'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
90
-             //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
91
-             'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
92
-             'Organizations/Employees'                    => 'Organizations\Form\Employees',
93
-             'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
94
-             'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
95
-             'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
96
-             'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
83
+                'Organizations/form' => 'Organizations\Form\Organizations',
84
+                'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
85
+                'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
86
+                'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
87
+                'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
88
+                'Organizations/OrganizationsNameFieldset'    => 'Organizations\Form\OrganizationsNameFieldset',
89
+                'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
90
+                //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
91
+                'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
92
+                'Organizations/Employees'                    => 'Organizations\Form\Employees',
93
+                'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
94
+                'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
95
+                'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
96
+                'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
97 97
 
98 98
         ),
99 99
         'factories' => array(
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Controller/IndexController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
         if ($isRecruiter) {
96 96
             $params->set('by', 'me');
97 97
         }
98
-         //default sorting
98
+            //default sorting
99 99
         if (!isset($params['sort'])) {
100 100
             $params->set('sort', "-name");
101 101
         }
Please login to merge, or discard this patch.
module/Applications/config/module.config.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -10,21 +10,21 @@  discard block
 block discarded – undo
10 10
 
11 11
 return array(
12 12
     'doctrine' => array(
13
-       'driver' => array(
13
+        'driver' => array(
14 14
             'odm_default' => array(
15 15
                 'drivers' => array(
16 16
                     'Applications\Entity' => 'annotation',
17 17
                 ),
18 18
             ),
19 19
             'annotation' => array(
20
-               /*
20
+                /*
21 21
                 * All drivers (except DriverChain) require paths to work on. You
22 22
                 * may set this value as a string (for a single path) or an array
23 23
                 * for multiple paths.
24 24
                 * example https://github.com/doctrine/DoctrineORMModule
25 25
                 */
26
-               'paths' => array( __DIR__ . '/../src/Applications/Entity',
27
-                                 __DIR__ . '/../../../module/Cv/src/Cv/Entity'),
26
+                'paths' => array( __DIR__ . '/../src/Applications/Entity',
27
+                                    __DIR__ . '/../../../module/Cv/src/Cv/Entity'),
28 28
             ),
29 29
         ),
30 30
         'eventmanager' => array(
@@ -64,15 +64,15 @@  discard block
 block discarded – undo
64 64
             'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions'
65 65
         ),
66 66
         'factories' => array(
67
-           'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
68
-           'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
69
-           'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
70
-           'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
71
-           'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
72
-           'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory'
67
+            'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory',
68
+            'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory',
69
+            'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory',
70
+            'EducationMapper'   => 'Applications\Repository\Service\EducationMapperFactory',
71
+            'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory',
72
+            'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory'
73 73
         ),
74 74
         'aliases' => [
75
-           'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
75
+            'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre'
76 76
         ]
77 77
     ),
78 78
     'controllers' => array(
@@ -170,25 +170,25 @@  discard block
 block discarded – undo
170 170
     ),
171 171
     'form_elements' => array(
172 172
         'invokables' => array(
173
-             'Applications/Mail' => 'Applications\Form\Mail',
174
-             'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
175
-             'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
176
-             'Applications/CommentForm' => 'Applications\Form\CommentForm',
177
-             'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
178
-             'Applications/Apply' => 'Applications\Form\Apply',
179
-             'Applications/Contact' => 'Applications\Form\ContactContainer',
180
-             'Applications/Base'  => 'Applications\Form\Base',
181
-             'Applications/Facts' => 'Applications\Form\Facts',
182
-             'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
183
-             'Applications/Attributes' => 'Applications\Form\Attributes',
184
-             'Applications/Filter' => 'Applications\Form\FilterApplication',
185
-             'href' => 'Applications\Form\Element\Ref',
186
-         ),
173
+                'Applications/Mail' => 'Applications\Form\Mail',
174
+                'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset',
175
+                'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset',
176
+                'Applications/CommentForm' => 'Applications\Form\CommentForm',
177
+                'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset',
178
+                'Applications/Apply' => 'Applications\Form\Apply',
179
+                'Applications/Contact' => 'Applications\Form\ContactContainer',
180
+                'Applications/Base'  => 'Applications\Form\Base',
181
+                'Applications/Facts' => 'Applications\Form\Facts',
182
+                'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset',
183
+                'Applications/Attributes' => 'Applications\Form\Attributes',
184
+                'Applications/Filter' => 'Applications\Form\FilterApplication',
185
+                'href' => 'Applications\Form\Element\Ref',
186
+            ),
187 187
         'factories' => array(
188 188
             'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory',
189 189
             'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory',
190 190
         ),
191
-     ),
191
+        ),
192 192
 
193 193
     'form_elements_config' => array(
194 194
         'Applications/Apply' => array(
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/SettingsFieldset.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@  discard block
 block discarded – undo
40 40
     public function init()
41 41
     {
42 42
         $this->setName('emails')
43
-             ->setLabel(/* @translate */ 'E-Mail Notifications');
43
+                ->setLabel(/* @translate */ 'E-Mail Notifications');
44 44
 
45 45
         $this->add(
46 46
             array('type' => 'Zend\Form\Element\Checkbox',
47 47
                 'name' => 'mailAccess',
48 48
                 'options' => array('label' => /* @translate */ 'receive E-Mail alert',
49
-                                   'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'),
49
+                                    'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'),
50 50
                 )
51 51
         );
52 52
         $this->add(
@@ -60,13 +60,13 @@  discard block
 block discarded – undo
60 60
             array('type' => 'Zend\Form\Element\Checkbox',
61 61
                 'name' => 'autoConfirmMail',
62 62
                 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit',
63
-                                   'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'),
63
+                                    'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'),
64 64
                 )
65 65
         );
66 66
         $this->add(
67 67
             array('type' => 'Zend\Form\Element\Textarea',
68 68
                         'name' => 'mailConfirmationText',
69
-                         'options' => array('label' => /* @translate */ 'Confirmation mail text',
69
+                            'options' => array('label' => /* @translate */ 'Confirmation mail text',
70 70
                                             'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li></ul>' ))
71 71
         );
72 72
         
Please login to merge, or discard this patch.
module/Applications/src/Applications/Controller/IndexController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             $params->set('by', 'me');
41 41
         }
42 42
 
43
-         //default sorting
43
+            //default sorting
44 44
         if (!isset($params['sort'])) {
45 45
             $params['sort']="-date";
46 46
         }
Please login to merge, or discard this patch.
module/Applications/src/Applications/Controller/ManageController.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
             $application->changeStatus(
147 147
                 $application->getStatus(),
148 148
                 sprintf(/*@translate*/ 'Application was read by %s',
149
-                                       $this->auth()->getUser()->getInfo()->getDisplayName()));
149
+                                        $this->auth()->getUser()->getInfo()->getDisplayName()));
150 150
         }
151 151
 
152 152
 
@@ -173,9 +173,9 @@  discard block
 block discarded – undo
173 173
                         $viewModel->setVariables(
174 174
                             /*array(
175 175
                             'application' => */$this->getServiceLocator()
176
-                                              ->get('builders')
177
-                                              ->get('JsonApplication')
178
-                                              ->unbuild($application)
176
+                                                ->get('builders')
177
+                                                ->get('JsonApplication')
178
+                                                ->unbuild($application)
179 179
                         );
180 180
                         $viewModel->setVariable('isUnread', $applicationIsUnread);
181 181
                         $return = $viewModel;
@@ -297,12 +297,12 @@  discard block
 block discarded – undo
297 297
 
298 298
         /* @var ApplicationEvent $event */
299 299
         $event = $events->getEvent(ApplicationEvent::EVENT_APPLICATION_STATUS_CHANGE,
300
-                                   $this,
301
-                                   [
302
-                                       'application' => $application,
303
-                                       'status' => $status,
304
-                                       'user' => $this->auth()->getUser(),
305
-                                   ]
300
+                                    $this,
301
+                                    [
302
+                                        'application' => $application,
303
+                                        'status' => $status,
304
+                                        'user' => $this->auth()->getUser(),
305
+                                    ]
306 306
         );
307 307
 
308 308
         $event->setIsPostRequest($request->isPost());
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
         $emailAddress = $this->params()->fromQuery('email');
354 354
         /* @var \Applications\Entity\Application $application */
355 355
         $application  = $services->get('repositories')->get('Applications/Application')
356
-                                 ->find($this->params('id'));
356
+                                    ->find($this->params('id'));
357 357
         
358 358
         $this->acl($application, 'forward');
359 359
         
Please login to merge, or discard this patch.