@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * for multiple paths. |
34 | 34 | * example https://github.com/doctrine/DoctrineORMModule |
35 | 35 | */ |
36 | - 'paths' => [ __DIR__ . '/../src/Entity'] |
|
36 | + 'paths' => [__DIR__.'/../src/Entity'] |
|
37 | 37 | ], |
38 | 38 | ], |
39 | 39 | 'eventmanager' => [ |
@@ -94,10 +94,10 @@ discard block |
||
94 | 94 | 'Applications\Controller\MultiManage' => 'Applications\Controller\MultimanageController', |
95 | 95 | ], |
96 | 96 | 'factories' => [ |
97 | - 'Applications/Controller/Manage' => [ManageController::class,'factory'], |
|
98 | - 'Applications\Controller\Apply' => [ApplyController::class,'factory'], |
|
99 | - 'Applications/CommentController' => [CommentController::class,'factory'], |
|
100 | - 'Applications/Console' => [ConsoleController::class,'factory'], |
|
97 | + 'Applications/Controller/Manage' => [ManageController::class, 'factory'], |
|
98 | + 'Applications\Controller\Apply' => [ApplyController::class, 'factory'], |
|
99 | + 'Applications/CommentController' => [CommentController::class, 'factory'], |
|
100 | + 'Applications/Console' => [ConsoleController::class, 'factory'], |
|
101 | 101 | ApiApplyController::class => ApiApplyControllerFactory::class, |
102 | 102 | ] |
103 | 103 | ], |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | 'translation_file_patterns' => [ |
158 | 158 | [ |
159 | 159 | 'type' => 'gettext', |
160 | - 'base_dir' => __DIR__ . '/../language', |
|
160 | + 'base_dir' => __DIR__.'/../language', |
|
161 | 161 | 'pattern' => '%s.mo', |
162 | 162 | ], |
163 | 163 | ], |
@@ -165,16 +165,16 @@ discard block |
||
165 | 165 | // Configure the view service manager |
166 | 166 | 'view_manager' => [ |
167 | 167 | 'template_path_stack' => [ |
168 | - 'Applications' => __DIR__ . '/../view', |
|
168 | + 'Applications' => __DIR__.'/../view', |
|
169 | 169 | ], |
170 | 170 | 'template_map' => [ |
171 | - 'applications/error/not-found' => __DIR__ . '/../view/error/not-found.phtml', |
|
172 | - 'layout/apply' => __DIR__ . '/../view/layout/layout.phtml', |
|
173 | - 'applications/sidebar/manage' => __DIR__ . '/../view/sidebar/manage.phtml', |
|
174 | - 'applications/mail/forward' => __DIR__ . '/../view/mail/forward.phtml', |
|
175 | - 'applications/detail/pdf' => __DIR__ . '/../view/applications/manage/detail.pdf.phtml', |
|
176 | - 'applications/index/disclaimer' => __DIR__ . '/../view/applications/index/disclaimer.phtml', |
|
177 | - 'content/applications-privacy-policy' => __DIR__ . '/../view/applications/index/disclaimer.phtml', |
|
171 | + 'applications/error/not-found' => __DIR__.'/../view/error/not-found.phtml', |
|
172 | + 'layout/apply' => __DIR__.'/../view/layout/layout.phtml', |
|
173 | + 'applications/sidebar/manage' => __DIR__.'/../view/sidebar/manage.phtml', |
|
174 | + 'applications/mail/forward' => __DIR__.'/../view/mail/forward.phtml', |
|
175 | + 'applications/detail/pdf' => __DIR__.'/../view/applications/manage/detail.pdf.phtml', |
|
176 | + 'applications/index/disclaimer' => __DIR__.'/../view/applications/index/disclaimer.phtml', |
|
177 | + 'content/applications-privacy-policy' => __DIR__.'/../view/applications/index/disclaimer.phtml', |
|
178 | 178 | ] |
179 | 179 | ], |
180 | 180 | 'view_helpers' => [ |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | 'factories' => [ |
245 | 245 | 'Applications/NewApplication' => 'Applications\Factory\Mail\NewApplicationFactory', |
246 | 246 | Mail\Confirmation::class => Factory\Mail\ConfirmationFactory::class, |
247 | - 'Applications/Forward' => [Forward::class,'factory'], |
|
247 | + 'Applications/Forward' => [Forward::class, 'factory'], |
|
248 | 248 | ], |
249 | 249 | 'aliases' => [ |
250 | 250 | 'Applications/Confirmation' => Mail\Confirmation::class, |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | ['force_canonical' => true], |
94 | 94 | true |
95 | 95 | ) |
96 | - . '?token=' . $user->getToken() |
|
96 | + . '?token='.$user->getToken() |
|
97 | 97 | ; |
98 | 98 | } |
99 | 99 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | return new JsonModel([ |
123 | 123 | 'status' => 'error', |
124 | - 'message' => 'Invalid json data: ' . $e->getMessage() |
|
124 | + 'message' => 'Invalid json data: '.$e->getMessage() |
|
125 | 125 | ]); |
126 | 126 | } |
127 | 127 | |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | |
134 | 134 | return new JsonModel([ |
135 | 135 | 'status' => 'error', |
136 | - 'message' => 'No job found with apply id "' . $applyId . '"', |
|
136 | + 'message' => 'No job found with apply id "'.$applyId.'"', |
|
137 | 137 | ]); |
138 | 138 | } |
139 | 139 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | ?string $requestedName = null, |
27 | 27 | ?array $options = null |
28 | 28 | ): ApiApplicationHydrator { |
29 | - $hydrator = new ApiApplicationHydrator(); |
|
29 | + $hydrator = new ApiApplicationHydrator(); |
|
30 | 30 | |
31 | 31 | $hydrator->setServerURl( |
32 | 32 | $container->get('ViewHelperManager')->get('serverurl')->__invoke() |
@@ -89,7 +89,7 @@ |
||
89 | 89 | ; |
90 | 90 | $data['attachments'] = []; |
91 | 91 | foreach ($object->getAttachments() as $file) { |
92 | - $data['attachments'][] = $this->serverUrl . $file->getUri(); |
|
92 | + $data['attachments'][] = $this->serverUrl . $file->getUri(); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | unset( |
@@ -84,12 +84,12 @@ |
||
84 | 84 | $data['contact'] = parent::extract($object->getContact()); |
85 | 85 | $data['contact']['image'] = |
86 | 86 | $object->getContact()->getImage() |
87 | - ? $this->serverUrl . $object->getContact()->getImage()->getUri() |
|
87 | + ? $this->serverUrl.$object->getContact()->getImage()->getUri() |
|
88 | 88 | : null |
89 | 89 | ; |
90 | 90 | $data['attachments'] = []; |
91 | 91 | foreach ($object->getAttachments() as $file) { |
92 | - $data['attachments'][] = $this->serverUrl . $file->getUri(); |
|
92 | + $data['attachments'][] = $this->serverUrl.$file->getUri(); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | unset( |