@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | try { |
125 | 125 | /* @var $handler \Organizations\Controller\Plugin\GetOrganizationHandler */ |
126 | 126 | $handler = $this->plugin('Organizations/GetOrganizationHandler'); |
127 | - $org = $handler->process($this->params(), true); |
|
127 | + $org = $handler->process($this->params(), true); |
|
128 | 128 | } catch (MissingParentOrganizationException $e) { |
129 | 129 | return $this->getErrorViewModel('no-parent'); |
130 | 130 | } catch (NotFoundException $e) { |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | ]; |
136 | 136 | } |
137 | 137 | |
138 | - $container = $this->getFormular($org); |
|
138 | + $container = $this->getFormular($org); |
|
139 | 139 | |
140 | 140 | if (isset($formIdentifier) && $request->isPost()) { |
141 | 141 | /* @var $form \Zend\Form\FormInterface */ |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | $form = $container->get($formIdentifier); |
161 | 161 | $form->setData(array_merge($postData, $filesData)); |
162 | 162 | if (!isset($form)) { |
163 | - throw new \RuntimeException('No form found for "' . $formIdentifier . '"'); |
|
163 | + throw new \RuntimeException('No form found for "'.$formIdentifier.'"'); |
|
164 | 164 | } |
165 | 165 | $isValid = $form->isValid(); |
166 | 166 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @var string |
30 | 30 | */ |
31 | - protected $options="Jobs/Options"; |
|
31 | + protected $options = "Jobs/Options"; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Configure the Form width Options |
@@ -26,7 +26,7 @@ |
||
26 | 26 | { |
27 | 27 | $this->add([ |
28 | 28 | 'name' => 'endDate', |
29 | - 'required' => ! $data['currentIndicator'] |
|
29 | + 'required' => !$data['currentIndicator'] |
|
30 | 30 | ]); |
31 | 31 | |
32 | 32 | return parent::setData($data); |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * @var array |
83 | 83 | * @ODM\Collection |
84 | 84 | */ |
85 | - protected $nativeLanguages=[]; |
|
85 | + protected $nativeLanguages = []; |
|
86 | 86 | |
87 | 87 | |
88 | 88 | /** |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | */ |
268 | 268 | public function setIsDraft($isDraft) |
269 | 269 | { |
270 | - $this->isDraft=$isDraft; |
|
270 | + $this->isDraft = $isDraft; |
|
271 | 271 | return $this; |
272 | 272 | } |
273 | 273 | |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | */ |
338 | 338 | public function setNativeLanguages($nativeLanguages) |
339 | 339 | { |
340 | - $this->nativeLanguages=$nativeLanguages; |
|
340 | + $this->nativeLanguages = $nativeLanguages; |
|
341 | 341 | return $this; |
342 | 342 | } |
343 | 343 |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | |
87 | 87 | public function setDesiredJob($desiredJob) |
88 | 88 | { |
89 | - $this->desiredJob=$desiredJob; |
|
89 | + $this->desiredJob = $desiredJob; |
|
90 | 90 | return $this; |
91 | 91 | } |
92 | 92 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | public function setDesiredLocation($desiredLocation) |
107 | 107 | { |
108 | - $this->desiredLocation=$desiredLocation; |
|
108 | + $this->desiredLocation = $desiredLocation; |
|
109 | 109 | return $this; |
110 | 110 | } |
111 | 111 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | public function setWillingnessToTravel($willingnessToTravel) |
145 | 145 | { |
146 | - $this->willingnessToTravel=$willingnessToTravel; |
|
146 | + $this->willingnessToTravel = $willingnessToTravel; |
|
147 | 147 | return $this; |
148 | 148 | } |
149 | 149 | |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | public function setExpectedSalary($expectedSalary) |
164 | 164 | { |
165 | - $this->expectedSalary=$expectedSalary; |
|
165 | + $this->expectedSalary = $expectedSalary; |
|
166 | 166 | return $this; |
167 | 167 | } |
168 | 168 |
@@ -121,7 +121,7 @@ |
||
121 | 121 | */ |
122 | 122 | public function setUser($user) |
123 | 123 | { |
124 | - $this->user=$user; |
|
124 | + $this->user = $user; |
|
125 | 125 | return $this; |
126 | 126 | } |
127 | 127 | } |
@@ -135,7 +135,7 @@ |
||
135 | 135 | return array( |
136 | 136 | 'year' => strval($xml->year), |
137 | 137 | 'month'=> isset($xml->month) ? strval($xml->month) : '01', |
138 | - 'day' => isset($xml->day) ? strval($xml->day) : '01', |
|
138 | + 'day' => isset($xml->day) ? strval($xml->day) : '01', |
|
139 | 139 | ); |
140 | 140 | } |
141 | 141 | } |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * Return an image, if an image was requested. |
56 | 56 | */ |
57 | 57 | if ($exception instanceof UnauthorizedImageAccessException) { |
58 | - $image = __DIR__ . '/../../../../../public/images/unauthorized-access.png'; |
|
58 | + $image = __DIR__.'/../../../../../public/images/unauthorized-access.png'; |
|
59 | 59 | $response->setStatusCode(Response::STATUS_CODE_403) |
60 | 60 | ->setContent(file_get_contents($image)) |
61 | 61 | ->getHeaders() |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | $routeMatch->setParam('action', 'index'); |
79 | 79 | $query = $e->getRequest()->getQuery(); |
80 | 80 | $ref = $e->getRequest()->getRequestUri(); |
81 | - $ref = preg_replace('~^' . preg_quote($e->getRouter()->getBaseUrl()) . '~', '', $ref); |
|
81 | + $ref = preg_replace('~^'.preg_quote($e->getRouter()->getBaseUrl()).'~', '', $ref); |
|
82 | 82 | $query->set('ref', $ref); |
83 | 83 | $query->set('req', 1); |
84 | 84 | $response->setStatusCode(Response::STATUS_CODE_401); |
@@ -87,7 +87,7 @@ |
||
87 | 87 | 'attributes' => [ |
88 | 88 | 'data-placeholder' => /*@translate*/ 'please select', |
89 | 89 | 'data-allowclear' => 'false', |
90 | - 'data-searchbox' => -1, // hide the search box |
|
90 | + 'data-searchbox' => -1, // hide the search box |
|
91 | 91 | 'required' => true, // mark label as required |
92 | 92 | ], |
93 | 93 | ] |