Passed
Pull Request — master (#600)
by Mathias
13:24
created
module/Organizations/config/module.config.php 2 patches
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@  discard block
 block discarded – undo
5 5
  * @author Mathias Gelhausen <[email protected]>
6 6
  */
7 7
 
8
- declare(strict_types=1);
8
+    declare(strict_types=1);
9 9
 
10
- namespace Organizations;
10
+    namespace Organizations;
11 11
 
12 12
 use Laminas\ServiceManager\Factory\InvokableFactory;
13 13
 
@@ -74,15 +74,15 @@  discard block
 block discarded – undo
74 74
     'view_manager' => [
75 75
         // Map template to files. Speeds up the lookup through the template stack.
76 76
         'template_map' => [
77
-             'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
78
-             'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
79
-             'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
80
-             'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
81
-             'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
82
-             'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
83
-             'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
84
-             'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
85
-             'organizations/form/featured-companies-filter-radio' => __DIR__ . '/../view/form/featured-companies-filter-radio.phtml',
77
+                'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
78
+                'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
79
+                'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
80
+                'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
81
+                'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
82
+                'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
83
+                'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
84
+                'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
85
+                'organizations/form/featured-companies-filter-radio' => __DIR__ . '/../view/form/featured-companies-filter-radio.phtml',
86 86
             'organizations/profile/disabled' => __DIR__ . '/../view/organizations/profile/disabled.phtml',
87 87
         ],
88 88
         // Where to look for view templates not mapped above
@@ -92,21 +92,21 @@  discard block
 block discarded – undo
92 92
     ],
93 93
     'form_elements' => [
94 94
         'invokables' => [
95
-             'Organizations/Form' => 'Organizations\Form\Organizations',
96
-             'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
97
-             'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
98
-             'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
99
-             'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
100
-             'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
101
-             //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
102
-             'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
103
-             'Organizations/Employees'                    => 'Organizations\Form\Employees',
104
-             'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
105
-             'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
106
-             'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
107
-             'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
108
-             'Organizations/Profile'                      => \Organizations\Form\OrganizationsProfileForm::class,
109
-             'Organizations/ProfileFieldset'              => \Organizations\Form\OrganizationsProfileFieldset::class
95
+                'Organizations/Form' => 'Organizations\Form\Organizations',
96
+                'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
97
+                'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
98
+                'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
99
+                'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
100
+                'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
101
+                //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
102
+                'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
103
+                'Organizations/Employees'                    => 'Organizations\Form\Employees',
104
+                'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
105
+                'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
106
+                'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
107
+                'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
108
+                'Organizations/Profile'                      => \Organizations\Form\OrganizationsProfileForm::class,
109
+                'Organizations/ProfileFieldset'              => \Organizations\Form\OrganizationsProfileFieldset::class
110 110
         ],
111 111
         'factories' => [
112 112
             'Organizations/OrganizationsNameFieldset'    => \Organizations\Factory\Form\OrganizationsNameFieldsetFactory::class,
@@ -231,13 +231,13 @@  discard block
 block discarded – undo
231 231
 
232 232
     'service_manager' => [
233 233
         'invokables' => [
234
-           'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener'
234
+            'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener'
235 235
         ],
236 236
         'factories' => [
237
-           'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory',
238
-           'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory',
239
-           'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory',
240
-           'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory',
237
+            'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory',
238
+            'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory',
239
+            'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory',
240
+            'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory',
241 241
         ],
242 242
     ],
243 243
 
Please login to merge, or discard this patch.
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
                 ],
21 21
             ],
22 22
             'annotation' => [
23
-                'paths' => [ __DIR__ . '/../src/Entity']
23
+                'paths' => [__DIR__.'/../src/Entity']
24 24
             ],
25 25
         ],
26 26
         'eventmanager' => [
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         'translation_file_patterns' => [
48 48
             [
49 49
                 'type' => 'gettext',
50
-                'base_dir' => __DIR__ . '/../language',
50
+                'base_dir' => __DIR__.'/../language',
51 51
                 'pattern' => '%s.mo',
52 52
             ],
53 53
         ],
@@ -74,20 +74,20 @@  discard block
 block discarded – undo
74 74
     'view_manager' => [
75 75
         // Map template to files. Speeds up the lookup through the template stack.
76 76
         'template_map' => [
77
-             'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
78
-             'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
79
-             'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
80
-             'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
81
-             'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
82
-             'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
83
-             'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
84
-             'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
85
-             'organizations/form/featured-companies-filter-radio' => __DIR__ . '/../view/form/featured-companies-filter-radio.phtml',
86
-            'organizations/profile/disabled' => __DIR__ . '/../view/organizations/profile/disabled.phtml',
77
+             'organizations/index/edit' => __DIR__.'/../view/organizations/index/form.phtml',
78
+             'organizations/form/employees-fieldset' => __DIR__.'/../view/form/employees-fieldset.phtml',
79
+             'organizations/form/employee-fieldset' => __DIR__.'/../view/form/employee-fieldset.phtml',
80
+             'organizations/form/invite-employee-bar' => __DIR__.'/../view/form/invite-employee-bar.phtml',
81
+             'organizations/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml',
82
+             'organizations/error/invite' => __DIR__.'/../view/error/invite.phtml',
83
+             'organizations/mail/invite-employee' => __DIR__.'/../view/mail/invite-employee.phtml',
84
+             'organizations/form/workflow-fieldset' => __DIR__.'/../view/form/workflow-fieldset.phtml',
85
+             'organizations/form/featured-companies-filter-radio' => __DIR__.'/../view/form/featured-companies-filter-radio.phtml',
86
+            'organizations/profile/disabled' => __DIR__.'/../view/organizations/profile/disabled.phtml',
87 87
         ],
88 88
         // Where to look for view templates not mapped above
89 89
         'template_path_stack' => [
90
-            __DIR__ . '/../view',
90
+            __DIR__.'/../view',
91 91
         ],
92 92
     ],
93 93
     'form_elements' => [
@@ -166,13 +166,13 @@  discard block
 block discarded – undo
166 166
                 'allow' => [
167 167
                     'Entity/OrganizationImage',
168 168
                     'route/lang/organizations/invite',
169
-                    'Organizations/InviteEmployee' => [ 'accept' ],
169
+                    'Organizations/InviteEmployee' => ['accept'],
170 170
                     'route/lang/organizations/profile',
171 171
                     'route/lang/organizations/profileDetail',
172 172
                 ],
173 173
                 'deny' => [
174 174
                     'route/lang/organizations',
175
-                    'Organizations/InviteEmployee' => [ 'invite' ],
175
+                    'Organizations/InviteEmployee' => ['invite'],
176 176
                 ],
177 177
             ],
178 178
             // recruiters are allowed to view their companies
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
                 'allow' => [
181 181
                     'route/lang/organizations',
182 182
                     'Organizations/InviteEmployee',
183
-                    'Entity/Organization' => [ 'edit' => 'Organizations/Write' ],
183
+                    'Entity/Organization' => ['edit' => 'Organizations/Write'],
184 184
                     'route/lang/organizations/profile',
185 185
                     'route/lang/organizations/profileDetail'
186 186
                 ],
@@ -203,8 +203,8 @@  discard block
 block discarded – undo
203 203
             'organizations' => [
204 204
                 'label' => 'Organizations',
205 205
                 'route' => 'lang/organizations',
206
-                'order' => 65,                             // allows to order the menu items
207
-                'resource' => 'route/lang/organizations',  // if a resource is defined, the acl will be applied.
206
+                'order' => 65, // allows to order the menu items
207
+                'resource' => 'route/lang/organizations', // if a resource is defined, the acl will be applied.
208 208
 
209 209
                 'pages' => [
210 210
                     'list' => [
Please login to merge, or discard this patch.
module/Organizations/config/router.config.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
  * @license   MIT
9 9
  */
10 10
 
11
- declare(strict_types=1);
11
+    declare(strict_types=1);
12 12
 
13
- namespace Organizations;
13
+    namespace Organizations;
14 14
 
15 15
 return array(
16 16
     'router' => array(
Please login to merge, or discard this patch.