@@ -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 | } |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | */ |
131 | 131 | public function setBirthDay($birthDay) |
132 | 132 | { |
133 | - $this->birthDay=$birthDay; |
|
133 | + $this->birthDay = $birthDay; |
|
134 | 134 | return $this; |
135 | 135 | } |
136 | 136 | |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | */ |
152 | 152 | public function setBirthMonth($birthMonth) |
153 | 153 | { |
154 | - $this->birthMonth=$birthMonth; |
|
154 | + $this->birthMonth = $birthMonth; |
|
155 | 155 | return $this; |
156 | 156 | } |
157 | 157 | |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | */ |
173 | 173 | public function setBirthYear($birthYear) |
174 | 174 | { |
175 | - $this->birthYear=$birthYear; |
|
175 | + $this->birthYear = $birthYear; |
|
176 | 176 | return $this; |
177 | 177 | } |
178 | 178 | |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | */ |
194 | 194 | public function setEmail($email) |
195 | 195 | { |
196 | - $this->email = trim((String)$email); |
|
196 | + $this->email = trim((String) $email); |
|
197 | 197 | return $this; |
198 | 198 | } |
199 | 199 | |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | */ |
237 | 237 | public function setFirstName($firstName) |
238 | 238 | { |
239 | - $this->firstName = trim((String)$firstName); |
|
239 | + $this->firstName = trim((String) $firstName); |
|
240 | 240 | return $this; |
241 | 241 | } |
242 | 242 | |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | */ |
259 | 259 | public function setGender($gender) |
260 | 260 | { |
261 | - $this->gender = trim((String)$gender); |
|
261 | + $this->gender = trim((String) $gender); |
|
262 | 262 | return $this; |
263 | 263 | } |
264 | 264 | |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | */ |
280 | 280 | public function setHouseNumber($houseNumber) |
281 | 281 | { |
282 | - $this->houseNumber=$houseNumber; |
|
282 | + $this->houseNumber = $houseNumber; |
|
283 | 283 | return $this; |
284 | 284 | } |
285 | 285 | |
@@ -413,7 +413,7 @@ discard block |
||
413 | 413 | */ |
414 | 414 | public function setStreet($street) |
415 | 415 | { |
416 | - $this->street=$street; |
|
416 | + $this->street = $street; |
|
417 | 417 | return $this; |
418 | 418 | } |
419 | 419 |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | |
231 | 231 | if ($dataArray) { |
232 | 232 | foreach ($dataArray as $data) { |
233 | - $data = $this->$filter($data); |
|
233 | + $data = $this->$filter($data); |
|
234 | 234 | if (!count($data)) { |
235 | 235 | continue; |
236 | 236 | } |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | { |
287 | 287 | $entity = isset($this->config[$type]['entity']) |
288 | 288 | ? $this->config[$type]['entity'] |
289 | - : '\Cv\Entity\\'. ucfirst(rtrim($type, 's')); |
|
289 | + : '\Cv\Entity\\' . ucfirst(rtrim($type, 's')); |
|
290 | 290 | |
291 | 291 | if (is_string($entity)) { |
292 | 292 | $this->config[$type]['entity'] = $entity = new $entity(); |
@@ -177,7 +177,7 @@ |
||
177 | 177 | /** {@inheritdoc} */ |
178 | 178 | public function setLogin($login) |
179 | 179 | { |
180 | - $this->login = trim((String)$login); |
|
180 | + $this->login = trim((String) $login); |
|
181 | 181 | return $this; |
182 | 182 | } |
183 | 183 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | /* @var $serviceLocator \Zend\ServiceManager\AbstractPluginManager |
35 | 35 | * @var $headscript \Zend\View\Helper\HeadScript */ |
36 | 36 | $services = $serviceLocator->getServiceLocator(); |
37 | - $viewHelpers= $services->get('ViewHelperManager'); |
|
37 | + $viewHelpers = $services->get('ViewHelperManager'); |
|
38 | 38 | $headscript = $viewHelpers->get('headscript'); |
39 | 39 | $basepath = $viewHelpers->get('basepath'); |
40 | 40 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | public function createService(ServiceLocatorInterface $serviceLocator) |
22 | 22 | { |
23 | - $services= $serviceLocator->getServiceLocator(); |
|
23 | + $services = $serviceLocator->getServiceLocator(); |
|
24 | 24 | $user = $services->get('AuthenticationService')->getUser(); |
25 | 25 | $fieldset = new UserInfoFieldset(); |
26 | 26 | $imageEntity = new UserImage(); |
@@ -62,7 +62,7 @@ |
||
62 | 62 | $this->add( |
63 | 63 | array( |
64 | 64 | 'name' => 'email', |
65 | - 'options' => array( 'label' => /* @translate */ 'Email' ), |
|
65 | + 'options' => array('label' => /* @translate */ 'Email'), |
|
66 | 66 | ) |
67 | 67 | ); |
68 | 68 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * a new password was created |
24 | 24 | */ |
25 | - const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword'; |
|
25 | + const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword'; |
|
26 | 26 | |
27 | 27 | protected $userEntity; |
28 | 28 |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | public function __invoke(AuthEvent $e) |
44 | 44 | { |
45 | 45 | /* @todo: get siteName from options */ |
46 | - $siteName="YAWIK"; |
|
46 | + $siteName = "YAWIK"; |
|
47 | 47 | |
48 | 48 | /** @var ServiceManager $serviceManager */ |
49 | 49 | $serviceManager = $this->getServiceManager(); |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | //$urlPlugin = $controllerPluginManager->get('url'); |
65 | 65 | |
66 | 66 | $fromEmail = 'Yawik-System'; |
67 | - $fromName = $userName; |
|
67 | + $fromName = $userName; |
|
68 | 68 | if (array_key_exists('mails', $config) && array_key_exists('from', $config['mails'])) { |
69 | 69 | if (array_key_exists('email', $config['mails']['from'])) { |
70 | 70 | $fromEmail = $config['mails']['from']['email']; |