Completed
Push — develop ( 8cb156...27be84 )
by
unknown
17:07
created
module/Cv/src/Cv/Repository/Event/DeleteRemovedAttachmentsSubscriber.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
         $fileId = new \MongoId($file->getId());
45 45
         $dm = $eventArgs->getDocumentManager();
46 46
         $dm->createQueryBuilder('Cv\Entity\Cv')
47
-           ->update()->multiple(true)
48
-           ->field('attachments')->equals($fileId)->pull($fileId)
49
-           ->getQuery()->execute();
47
+            ->update()->multiple(true)
48
+            ->field('attachments')->equals($fileId)->pull($fileId)
49
+            ->getQuery()->execute();
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
module/Core/config/module.config.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -36,24 +36,24 @@  discard block
 block discarded – undo
36 36
     'log' => [
37 37
         'Core/Log' => [
38 38
             'writers' => [
39
-                 [
40
-                     'name' => 'stream',
39
+                    [
40
+                        'name' => 'stream',
41 41
                     'priority' => 1000,
42 42
                     'options' => [
43
-                         'stream' => __DIR__ .'/../../../log/yawik.log',
43
+                            'stream' => __DIR__ .'/../../../log/yawik.log',
44
+                    ],
44 45
                     ],
45
-                 ],
46 46
             ],
47 47
         ],
48 48
         'Log/Core/Mail' => [
49 49
             'writers' => [
50
-                 [
51
-                     'name' => 'stream',
50
+                    [
51
+                        'name' => 'stream',
52 52
                     'priority' => 1000,
53 53
                     'options' => [
54
-                         'stream' => __DIR__ .'/../../../log/mails.log',
54
+                            'stream' => __DIR__ .'/../../../log/mails.log',
55
+                    ],
55 56
                     ],
56
-                 ],
57 57
             ],
58 58
         ],
59 59
         'ErrorLogger' => [
@@ -250,17 +250,17 @@  discard block
 block discarded – undo
250 250
     // Defines the Core/Navigation.
251 251
     'navigation' => [
252 252
         'default' => [
253
-             'home' => [
254
-                 'label' => /*@translate*/ 'Home',
255
-                 'route' => 'lang',
256
-                 'visible' => false
257
-             ],
258
-             'admin' => [
259
-                 'label ' => /*@translate*/ 'Admin',
260
-                 'route' => 'lang/admin',
261
-                 'resource' => 'route/lang/admin',
262
-                 'order' => 200,
263
-             ],
253
+                'home' => [
254
+                    'label' => /*@translate*/ 'Home',
255
+                    'route' => 'lang',
256
+                    'visible' => false
257
+                ],
258
+                'admin' => [
259
+                    'label ' => /*@translate*/ 'Admin',
260
+                    'route' => 'lang/admin',
261
+                    'resource' => 'route/lang/admin',
262
+                    'order' => 200,
263
+                ],
264 264
         ],
265 265
     ],
266 266
     // Configuration of the controller service manager (Which loads controllers)
Please login to merge, or discard this patch.
module/Organizations/config/module.config.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -68,13 +68,13 @@  discard block
 block discarded – undo
68 68
     'view_manager' => [
69 69
         // Map template to files. Speeds up the lookup through the template stack.
70 70
         'template_map' => [
71
-             'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
72
-             'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
73
-             'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
74
-             'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
75
-             'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
76
-             'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
77
-             'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
71
+                'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
72
+                'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
73
+                'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
74
+                'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
75
+                'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
76
+                'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
77
+                'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
78 78
             'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
79 79
         ],
80 80
         // Where to look for view templates not mapped above
@@ -84,20 +84,20 @@  discard block
 block discarded – undo
84 84
     ],
85 85
     'form_elements' => [
86 86
         'invokables' => [
87
-             'Organizations/form' => 'Organizations\Form\Organizations',
88
-             'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
89
-             'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
90
-             'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
91
-             'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
92
-             'Organizations/OrganizationsNameFieldset'    => 'Organizations\Form\OrganizationsNameFieldset',
93
-             'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
94
-             //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
95
-             'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
96
-             'Organizations/Employees'                    => 'Organizations\Form\Employees',
97
-             'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
98
-             'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
99
-             'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
100
-             'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
87
+                'Organizations/form' => 'Organizations\Form\Organizations',
88
+                'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
89
+                'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
90
+                'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
91
+                'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
92
+                'Organizations/OrganizationsNameFieldset'    => 'Organizations\Form\OrganizationsNameFieldset',
93
+                'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
94
+                //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
95
+                'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
96
+                'Organizations/Employees'                    => 'Organizations\Form\Employees',
97
+                'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
98
+                'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
99
+                'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
100
+                'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
101 101
 
102 102
         ],
103 103
         'factories' => [
@@ -197,13 +197,13 @@  discard block
 block discarded – undo
197 197
 
198 198
     'service_manager' => [
199 199
         'invokables' => [
200
-           'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener'
200
+            'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener'
201 201
         ],
202 202
         'factories' => [
203
-           'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory',
204
-           'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory',
205
-           'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory',
206
-           'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory',
203
+            'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory',
204
+            'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory',
205
+            'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory',
206
+            'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory',
207 207
         ],
208 208
     ],
209 209
 
Please login to merge, or discard this patch.
module/Applications/src/Applications/Mail/NewApplication.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
             'link'  => $this->router->assemble(
101 101
                             ['id' => $this->application->getId()],
102 102
                             ['name'=>'lang/applications/detail', 'force_canonical'=>true]
103
-                       ),
103
+                        ),
104 104
         ];
105 105
 
106 106
         $this->setTo($this->user->getInfo()->getEmail(), $this->user->getInfo()->getDisplayName(false));
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/CategoriesContainer.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                         'options' => [
39 39
                             'enable_descriptions' => true,
40 40
                             'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' .
41
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
41
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
42 42
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
43 43
                         ],
44 44
                     ],
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                         'options' => [
58 58
                             'enable_descriptions' => true,
59 59
                             'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' .
60
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
60
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
61 61
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
62 62
                         ],
63 63
                     ],
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                         'options' => [
77 77
                             'enable_descriptions' => true,
78 78
                             'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'.
79
-                                             /*@translate*/ 'The order of categories can be modified by drag&drop.',
79
+                                                /*@translate*/ 'The order of categories can be modified by drag&drop.',
80 80
                             'display_mode' => SummaryForm::DISPLAY_SUMMARY,
81 81
                         ],
82 82
                     ],
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/SearchForm.php 1 patch
Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -34,44 +34,44 @@
 block discarded – undo
34 34
     {
35 35
 
36 36
         $this->add(
37
-             [
38
-                 'name' => 'l',
39
-                 'type' => 'LocationSelect',
40
-                 'options' => [
41
-                     'label' => /*@translate*/ 'Location',
42
-                     'span' => 3,
43
-                     'location_entity' => Location::class,
44
-                 ],
45
-                 'attributes' => [
46
-                     'data-width' => '100%',
47
-                 ],
48
-             ]
37
+                [
38
+                    'name' => 'l',
39
+                    'type' => 'LocationSelect',
40
+                    'options' => [
41
+                        'label' => /*@translate*/ 'Location',
42
+                        'span' => 3,
43
+                        'location_entity' => Location::class,
44
+                    ],
45
+                    'attributes' => [
46
+                        'data-width' => '100%',
47
+                    ],
48
+                ]
49 49
         );
50 50
 
51 51
         $this->add(
52
-             [
53
-                 'name' => 'd',
54
-                 'type' => 'Zend\Form\Element\Select',
55
-                 'options' => [
56
-                     'label' => /*@translate*/ 'Distance',
57
-                     'value_options' => [
58
-                         '5' => '5 km',
59
-                         '10' => '10 km',
60
-                         '20' => '20 km',
61
-                         '50' => '50 km',
62
-                         '100' => '100 km'
63
-                     ],
64
-                     'span' => 4,
52
+                [
53
+                    'name' => 'd',
54
+                    'type' => 'Zend\Form\Element\Select',
55
+                    'options' => [
56
+                        'label' => /*@translate*/ 'Distance',
57
+                        'value_options' => [
58
+                            '5' => '5 km',
59
+                            '10' => '10 km',
60
+                            '20' => '20 km',
61
+                            '50' => '50 km',
62
+                            '100' => '100 km'
63
+                        ],
64
+                        'span' => 4,
65 65
 
66
-                 ],
67
-                 'attributes' => [
68
-                     'value' => '10', // default distance
69
-                     'data-searchbox' => -1,  // hide the search box
70
-                     'data-allowclear' => 'false', // allow to clear a selected value
71
-                     'data-placeholder' => /*@translate*/ 'Distance',
72
-                     'data-width' => '100%',
73
-                 ]
74
-             ]
66
+                    ],
67
+                    'attributes' => [
68
+                        'value' => '10', // default distance
69
+                        'data-searchbox' => -1,  // hide the search box
70
+                        'data-allowclear' => 'false', // allow to clear a selected value
71
+                        'data-placeholder' => /*@translate*/ 'Distance',
72
+                        'data-width' => '100%',
73
+                    ]
74
+                ]
75 75
         );
76 76
     }
77 77
 }
78 78
\ No newline at end of file
Please login to merge, or discard this patch.
module/Auth/config/module.config.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                     'Auth/Users' => 'switch',
215 215
                 ],
216 216
                 'deny' => [
217
-                   // 'route/lang/auth',
217
+                    // 'route/lang/auth',
218 218
                     'route/auth-provider',
219 219
                     'route/auth-extern',
220 220
                     'route/lang/forgot-password',
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
         'factories' => [
300 300
             'auth' => '\Auth\Factory\View\Helper\AuthFactory',
301 301
             'acl'  => '\Acl\Factory\View\Helper\AclFactory',
302
-         ],
302
+            ],
303 303
     ],
304 304
     
305 305
     'form_elements' => [
Please login to merge, or discard this patch.
module/Settings/config/module.config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                 'odm_default' => [
27 27
                 'subscribers' => [
28 28
                     'Settings/InjectEntityResolverListener',
29
-                 ],
29
+                    ],
30 30
                 ],
31 31
                 ],
32 32
         ],
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Repository/Job.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $qb = $this->createQueryBuilder();
57 57
         $qb->hydrate(false)
58
-           ->select('applyId')
59
-           ->field('applyId')->equals($applyId);
58
+            ->select('applyId')
59
+            ->field('applyId')->equals($applyId);
60 60
            
61 61
         $result = $qb->getQuery()->execute();
62 62
         $count = $result->count();
@@ -88,11 +88,11 @@  discard block
 block discarded – undo
88 88
     {
89 89
         $qb = $this->createQueryBuilder();
90 90
         $qb->hydrate(false)
91
-           ->select('title', 'applyId')
92
-           ->field('permissions.view')->equals($userId)
93
-           ->field('title')->equals(new \MongoRegex('/' . $query . '/i'))
94
-           ->sort('title')
95
-           ->limit(5);
91
+            ->select('title', 'applyId')
92
+            ->field('permissions.view')->equals($userId)
93
+            ->field('title')->equals(new \MongoRegex('/' . $query . '/i'))
94
+            ->sort('title')
95
+            ->limit(5);
96 96
         
97 97
         $result = $qb->getQuery()->execute();
98 98
         
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         $qb = $this->createQueryBuilder();
160 160
         $qb->distinct('organization')
161 161
             ->hydrate(true)
162
-           ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
162
+            ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]);
163 163
 
164 164
         $q = $qb->getQuery();
165 165
         $r = $q->execute();
@@ -229,8 +229,8 @@  discard block
 block discarded – undo
229 229
 
230 230
         if (null !== $isDeleted) {
231 231
             $qb->addAnd(
232
-               $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted))
233
-                          ->addOr($qb->expr()->field('isDeleted')->exists(false))
232
+                $qb->expr()->addOr($qb->expr()->field('isDeleted')->equals($isDeleted))
233
+                            ->addOr($qb->expr()->field('isDeleted')->exists(false))
234 234
             );
235 235
         }
236 236
 
Please login to merge, or discard this patch.