Completed
Pull Request — develop (#462)
by ANTHONIUS
06:57
created
module/Organizations/config/module.config.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
                 ],
14 14
             ],
15 15
             'annotation' => [
16
-                'paths' => [ __DIR__ . '/../src/Organizations/Entity']
16
+                'paths' => [__DIR__.'/../src/Organizations/Entity']
17 17
             ],
18 18
         ],
19 19
         'eventmanager' => [
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         'translation_file_patterns' => [
41 41
             [
42 42
                 'type' => 'gettext',
43
-                'base_dir' => __DIR__ . '/../language',
43
+                'base_dir' => __DIR__.'/../language',
44 44
                 'pattern' => '%s.mo',
45 45
             ],
46 46
         ],
@@ -66,18 +66,18 @@  discard block
 block discarded – undo
66 66
     'view_manager' => [
67 67
         // Map template to files. Speeds up the lookup through the template stack.
68 68
         'template_map' => [
69
-             'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
70
-             'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
71
-             'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
72
-             'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
73
-             'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
74
-             'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
75
-             'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
76
-             'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
69
+             'organizations/index/edit' => __DIR__.'/../view/organizations/index/form.phtml',
70
+             'organizations/form/employees-fieldset' => __DIR__.'/../view/form/employees-fieldset.phtml',
71
+             'organizations/form/employee-fieldset' => __DIR__.'/../view/form/employee-fieldset.phtml',
72
+             'organizations/form/invite-employee-bar' => __DIR__.'/../view/form/invite-employee-bar.phtml',
73
+             'organizations/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml',
74
+             'organizations/error/invite' => __DIR__.'/../view/error/invite.phtml',
75
+             'organizations/mail/invite-employee' => __DIR__.'/../view/mail/invite-employee.phtml',
76
+             'organizations/form/workflow-fieldset' => __DIR__.'/../view/form/workflow-fieldset.phtml',
77 77
         ],
78 78
         // Where to look for view templates not mapped above
79 79
         'template_path_stack' => [
80
-            __DIR__ . '/../view',
80
+            __DIR__.'/../view',
81 81
         ],
82 82
     ],
83 83
     'form_elements' => [
@@ -155,11 +155,11 @@  discard block
 block discarded – undo
155 155
                 'allow' => [
156 156
                     'Entity/OrganizationImage',
157 157
                     'route/lang/organizations/invite',
158
-                    'Organizations/InviteEmployee' => [ 'accept' ],
158
+                    'Organizations/InviteEmployee' => ['accept'],
159 159
                 ],
160 160
                 'deny' => [
161 161
                     'route/lang/organizations',
162
-                    'Organizations/InviteEmployee' => [ 'invite' ],
162
+                    'Organizations/InviteEmployee' => ['invite'],
163 163
                 ],
164 164
             ],
165 165
             // recruiters are allowed to view their companies
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
                 'allow' => [
168 168
                     'route/lang/organizations',
169 169
                     'Organizations/InviteEmployee',
170
-                    'Entity/Organization' => [ 'edit' => 'Organizations/Write' ],
170
+                    'Entity/Organization' => ['edit' => 'Organizations/Write'],
171 171
                 ],
172 172
             ],
173 173
         ],
@@ -183,8 +183,8 @@  discard block
 block discarded – undo
183 183
             'organizations' => [
184 184
                 'label' => 'Organizations',
185 185
                 'route' => 'lang/organizations',
186
-                'order' => 65,                             // allows to order the menu items
187
-                'resource' => 'route/lang/organizations',  // if a resource is defined, the acl will be applied.
186
+                'order' => 65, // allows to order the menu items
187
+                'resource' => 'route/lang/organizations', // if a resource is defined, the acl will be applied.
188 188
 
189 189
                 'pages' => [
190 190
                     'list' => [
Please login to merge, or discard this patch.