@@ -40,7 +40,7 @@ |
||
40 | 40 | public function profileAction() |
41 | 41 | { |
42 | 42 | $services = $this->getServiceLocator(); |
43 | - $container= $services->get('forms')->get('Auth/userprofilecontainer'); |
|
43 | + $container = $services->get('forms')->get('Auth/userprofilecontainer'); |
|
44 | 44 | $user = $services->get('AuthenticationService')->getUser(); |
45 | 45 | |
46 | 46 | $container->setEntity($user); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | $events->attach( |
50 | 50 | MvcEvent::EVENT_DISPATCH, |
51 | - function ($event) { |
|
51 | + function($event) { |
|
52 | 52 | $routeMatch = $event->getRouteMatch(); |
53 | 53 | $action = $routeMatch->getParam('action'); |
54 | 54 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | */ |
69 | 69 | $events->attach( |
70 | 70 | MvcEvent::EVENT_DISPATCH, |
71 | - function ($event) { |
|
71 | + function($event) { |
|
72 | 72 | $model = $event->getResult(); |
73 | 73 | if (!$model instanceof ViewModel || $model->terminate()) { |
74 | 74 | return; |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | $users = $repository->findByQuery($query); |
199 | 199 | |
200 | 200 | $userFilter = $services->get('filtermanager')->get('Auth/Entity/UserToSearchResult'); |
201 | - $filterFunc = function ($user) use ($userFilter) { |
|
201 | + $filterFunc = function($user) use ($userFilter) { |
|
202 | 202 | return $userFilter->filter($user); |
203 | 203 | }; |
204 | 204 | $result = array_values(array_map($filterFunc, $users->toArray())); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -135,7 +135,7 @@ |
||
135 | 135 | $hybridAuth->restoreSessionData($sessionDataStored); |
136 | 136 | } |
137 | 137 | $adapter = $hybridAuth->authenticate($this->providerKey); |
138 | - $sessionData = $hybridAuth->getSessionData(); |
|
138 | + $sessionData = $hybridAuth->getSessionData(); |
|
139 | 139 | if ($sessionData != $sessionDataStored) { |
140 | 140 | $user->updateAuthSession($this->providerKey, $sessionData); |
141 | 141 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | public function fetch($api) |
25 | 25 | { |
26 | - $result = $this->queryApi($api); |
|
26 | + $result = $this->queryApi($api); |
|
27 | 27 | if (!$result) { |
28 | 28 | return false; |
29 | 29 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -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 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -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(); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -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 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
6 | - * @license MIT |
|
7 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
6 | + * @license MIT |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Auth\Entity; |
10 | 10 |
@@ -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 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace JobsTest\Form; |
@@ -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(); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Organizations\Factory\Controller; |
11 | 11 |