@@ -71,7 +71,7 @@ |
||
71 | 71 | 'form_elements' => array( |
72 | 72 | 'invokables' => array( |
73 | 73 | 'Location' => 'Geo\Form\GeoText', |
74 | - ), |
|
74 | + ), |
|
75 | 75 | ), |
76 | 76 | |
77 | 77 | 'view_manager' => array( |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * for multiple paths. |
17 | 17 | * example https://github.com/doctrine/DoctrineORMModule |
18 | 18 | */ |
19 | - 'paths' => array( __DIR__ . '/../src/Geo/Entity'), |
|
19 | + 'paths' => array(__DIR__ . '/../src/Geo/Entity'), |
|
20 | 20 | ), |
21 | 21 | ), |
22 | 22 | 'eventmanager' => array( |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $client->setMethod('GET'); |
27 | 27 | // more countries 'country' => 'DE,CH,AT' |
28 | 28 | // with countryCode 'zoom' => 2 |
29 | - $plz = 0 < (int) $par?1:0; |
|
29 | + $plz = 0 < (int) $par ? 1 : 0; |
|
30 | 30 | $client->setParameterGet(array('q' => $par, 'country' => 'DE', 'plz' => $plz, 'zoom' => 1)); |
31 | 31 | $response = $client->send(); |
32 | 32 | $result = $response->getBody(); |
@@ -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; |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | $routeMatch->setParam('action', $p); |
43 | 43 | $response = $this->getResponse(); |
44 | 44 | $response->getHeaders() |
45 | - ->addHeaderLine('Content-Type', 'application/json') |
|
46 | - ->addHeaderLine('Content-Encoding', 'utf8'); |
|
45 | + ->addHeaderLine('Content-Type', 'application/json') |
|
46 | + ->addHeaderLine('Content-Encoding', 'utf8'); |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 | |
@@ -60,9 +60,9 @@ discard block |
||
60 | 60 | |
61 | 61 | return $this->createViewModel( |
62 | 62 | array( |
63 | - 'prerequisites' => $prereqs, |
|
64 | - 'form' => $form, |
|
65 | - ) |
|
63 | + 'prerequisites' => $prereqs, |
|
64 | + 'form' => $form, |
|
65 | + ) |
|
66 | 66 | ); |
67 | 67 | } |
68 | 68 | |
@@ -94,9 +94,9 @@ discard block |
||
94 | 94 | if (!$form->isValid()) { |
95 | 95 | return $this->createJsonResponse( |
96 | 96 | array( |
97 | - 'ok' => false, |
|
98 | - 'errors' => $form->getMessages(), |
|
99 | - ) |
|
97 | + 'ok' => false, |
|
98 | + 'errors' => $form->getMessages(), |
|
99 | + ) |
|
100 | 100 | ); |
101 | 101 | } |
102 | 102 |
@@ -66,7 +66,7 @@ |
||
66 | 66 | 'role' => 'admin', |
67 | 67 | 'login' => $username, |
68 | 68 | 'credential' => $credential, |
69 | - 'info' => [ 'email' => $email ] |
|
69 | + 'info' => ['email' => $email] |
|
70 | 70 | ); |
71 | 71 | |
72 | 72 | $result = $collection->insert($document); |
@@ -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; |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | class MongoDbConnectionString extends AbstractValidator |
23 | 23 | { |
24 | - const INVALID = 'invalidConnectionString'; |
|
24 | + const INVALID = 'invalidConnectionString'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * Options |
@@ -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 Organizations\Form\Element; |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | // Generated by ZF2's ./bin/classmap_generator.php |
3 | 3 | return array( |
4 | - 'Install\Filter\DbNameExtractor' => __DIR__ . '/Filter/DbNameExtractor.php', |
|
5 | - 'Install\Form\Installation' => __DIR__ . '/Form/Installation.php', |
|
6 | - 'Install\Controller\Index' => __DIR__ . '/Controller/Index.php', |
|
7 | - 'Install\Controller\Plugin\Prerequisites' => __DIR__ . '/Controller/Plugin/Prerequisites.php', |
|
8 | - 'Install\Controller\Plugin\YawikConfigCreator' => __DIR__ . '/Controller/Plugin/YawikConfigCreator.php', |
|
9 | - 'Install\Controller\Plugin\UserCreator' => __DIR__ . '/Controller/Plugin/UserCreator.php', |
|
10 | - 'Install\Listener\LanguageSetter' => __DIR__ . '/Listener/LanguageSetter.php', |
|
11 | - 'Install\Validator\MongoDbConnection' => __DIR__ . '/Validator/MongoDbConnection.php', |
|
12 | - 'Install\Validator\MongoDbConnectionString' => __DIR__ . '/Validator/MongoDbConnectionString.php', |
|
13 | - 'Install\Factory\Controller\Plugin\UserCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/UserCreatorFactory.php', |
|
14 | - 'Install\Factory\Controller\Plugin\YawikConfigCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/YawikConfigCreatorFactory.php', |
|
4 | + 'Install\Filter\DbNameExtractor' => __DIR__ . '/Filter/DbNameExtractor.php', |
|
5 | + 'Install\Form\Installation' => __DIR__ . '/Form/Installation.php', |
|
6 | + 'Install\Controller\Index' => __DIR__ . '/Controller/Index.php', |
|
7 | + 'Install\Controller\Plugin\Prerequisites' => __DIR__ . '/Controller/Plugin/Prerequisites.php', |
|
8 | + 'Install\Controller\Plugin\YawikConfigCreator' => __DIR__ . '/Controller/Plugin/YawikConfigCreator.php', |
|
9 | + 'Install\Controller\Plugin\UserCreator' => __DIR__ . '/Controller/Plugin/UserCreator.php', |
|
10 | + 'Install\Listener\LanguageSetter' => __DIR__ . '/Listener/LanguageSetter.php', |
|
11 | + 'Install\Validator\MongoDbConnection' => __DIR__ . '/Validator/MongoDbConnection.php', |
|
12 | + 'Install\Validator\MongoDbConnectionString' => __DIR__ . '/Validator/MongoDbConnectionString.php', |
|
13 | + 'Install\Factory\Controller\Plugin\UserCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/UserCreatorFactory.php', |
|
14 | + 'Install\Factory\Controller\Plugin\YawikConfigCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/YawikConfigCreatorFactory.php', |
|
15 | 15 | ); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * for multiple paths. |
16 | 16 | * example https://github.com/doctrine/DoctrineORMModule |
17 | 17 | */ |
18 | - 'paths' => array( __DIR__ . '/../src/Jobs/Entity'), |
|
18 | + 'paths' => array(__DIR__ . '/../src/Jobs/Entity'), |
|
19 | 19 | ), |
20 | 20 | ), |
21 | 21 | 'eventmanager' => array( |
@@ -26,8 +26,8 @@ |
||
26 | 26 | { |
27 | 27 | |
28 | 28 | protected $identifiers = array( |
29 | - 'Jobs/Acl/Assertions', |
|
30 | - 'Jobs/Acl/Assertion/Create', |
|
29 | + 'Jobs/Acl/Assertions', |
|
30 | + 'Jobs/Acl/Assertion/Create', |
|
31 | 31 | ); |
32 | 32 | |
33 | 33 | protected function preAssert( |
@@ -105,7 +105,7 @@ |
||
105 | 105 | $entity = $repositoriesJob->findOneBy(array("applyId" => (string) $applyId)); |
106 | 106 | if (!isset($entity)) { |
107 | 107 | // new Job (the more likely branch) |
108 | - $entity =$repositoriesJob->create(array("applyId" => (string) $applyId)); |
|
108 | + $entity = $repositoriesJob->create(array("applyId" => (string) $applyId)); |
|
109 | 109 | } else { |
110 | 110 | $createdJob = false; |
111 | 111 | } |
@@ -179,9 +179,9 @@ discard block |
||
179 | 179 | $location = new Location(); |
180 | 180 | $coords = array_map(function($i) { return (float) $i; }, $locData['coordinates']); |
181 | 181 | $location->setCountry($locData['country']) |
182 | - ->setRegion($locData['region']) |
|
183 | - ->setCity($locData['city']) |
|
184 | - ->setCoordinates(new Point($coords)); |
|
182 | + ->setRegion($locData['region']) |
|
183 | + ->setCity($locData['city']) |
|
184 | + ->setCoordinates(new Point($coords)); |
|
185 | 185 | |
186 | 186 | $jobLocations->add($location); |
187 | 187 | } |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | /* @var $jobEvents \Zend\EventManager\EventManager */ |
213 | 213 | $jobEvents = $services->get('Jobs/Events'); |
214 | 214 | $jobEvent->setName(JobEvent::EVENT_JOB_ACCEPTED) |
215 | - ->setTarget($this); |
|
215 | + ->setTarget($this); |
|
216 | 216 | $responses = $jobEvents->trigger($jobEvent); |
217 | 217 | foreach ($responses as $response) { |
218 | 218 | // responses from the portals |