Completed
Branch develop (bc6cb3)
by Carsten
37:10 queued 26:53
created
module/Cv/src/Cv/Form/EmploymentFieldset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     public function init()
12 12
     {
13 13
         $this->setName('employment')
14
-             ->setHydrator(new EntityHydrator())
15
-             ->setObject(new EmploymentEntity())
16
-             ->setLabel('Employment');
14
+                ->setHydrator(new EntityHydrator())
15
+                ->setObject(new EmploymentEntity())
16
+                ->setLabel('Employment');
17 17
         
18 18
         $this->add(
19 19
             array(
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/LanguageFieldset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     public function init()
12 12
     {
13 13
         $this->setName('language')
14
-             ->setHydrator(new EntityHydrator())
15
-             ->setObject(new LanguageEntity())
16
-             ->setLabel('Language');
14
+                ->setHydrator(new EntityHydrator())
15
+                ->setObject(new LanguageEntity())
16
+                ->setLabel('Language');
17 17
         
18 18
         $this->add(
19 19
             array(
Please login to merge, or discard this patch.
module/Cv/src/Cv/Form/SkillFieldset.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     public function init()
12 12
     {
13 13
         $this->setName('skill')
14
-             ->setHydrator(new EntityHydrator())
15
-             ->setObject(new SkillEntity())
16
-             ->setLabel('Language');
14
+                ->setHydrator(new EntityHydrator())
15
+                ->setObject(new SkillEntity())
16
+                ->setLabel('Language');
17 17
         
18 18
         $this->add(
19 19
             array(
Please login to merge, or discard this patch.
module/Cv/src/Cv/Repository/Filter/JsonPaginationQuery.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** PaginationQuery.php */ 
11 11
 namespace Cv\Repository\Filter;
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         parent::createQuery($params, $queryBuilder);
22 22
         $queryBuilder
23
-                     ->hydrate(false);
23
+                        ->hydrate(false);
24 24
             
25 25
         
26 26
         
Please login to merge, or discard this patch.
module/Cv/src/Cv/Repository/Filter/JsonPaginationQueryFactory.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 class JsonPaginationQueryFactory implements FactoryInterface
16 16
 {
17
-	public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator)
17
+    public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator)
18 18
     {
19 19
         $services = $serviceLocator->getServiceLocator();
20 20
         $auth     = $services->get('AuthenticationService');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
 class JsonPaginationQueryFactory implements FactoryInterface
16 16
 {
17
-	public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator)
17
+	public function createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator)
18 18
     {
19 19
         $services = $serviceLocator->getServiceLocator();
20 20
         $auth     = $services->get('AuthenticationService');
Please login to merge, or discard this patch.
module/Geo/config/module.config.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/IndexController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         $query = $this->params()->fromQuery();
29 29
 
30
-        $geoApi = $this->getPluginManager()->get('geo/'.$this->params('plugin'));
30
+        $geoApi = $this->getPluginManager()->get('geo/' . $this->params('plugin'));
31 31
         $result = array();
32 32
         if (!empty($query['q'])) {
33 33
             $result = $geoApi($query['q']);
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/Plugin/Geo.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 namespace Geo\Controller\Plugin;
11 11
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     {
21 21
         $config = $this->getController()->getServiceLocator()->get('config');
22 22
         if (empty($config['geocoder_cross_url'])) {
23
-             throw new \InvalidArgumentException('Now Service-Adress for Geo-Service available');
23
+                throw new \InvalidArgumentException('Now Service-Adress for Geo-Service available');
24 24
         }
25 25
         $client = new \Zend\Http\Client($config['geocoder_photon_url']);
26 26
         $client->setMethod('GET');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/Plugin/Photon.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 namespace Geo\Controller\Plugin;
11 11
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         $lang   = $this->getController()->getEvent()->getRouteMatch()->getParam('lang', 'en');
23 23
 
24 24
         if (empty($config['geocoder_photon_url'])) {
25
-             throw new \InvalidArgumentException('Now Service-Adress for Geo-Service available');
25
+                throw new \InvalidArgumentException('Now Service-Adress for Geo-Service available');
26 26
         }
27 27
         $client = new \Zend\Http\Client($config['geocoder_photon_url']);
28 28
         $client->setMethod('GET');
@@ -51,16 +51,16 @@  discard block
 block discarded – undo
51 51
         $result = $result->features;
52 52
         foreach ($result as $key => $val) {
53 53
             $row=['name' => (property_exists($val->properties, 'name') ? $val->properties->name:''),
54
-                  'postcode' => (property_exists($val->properties, 'postcode') ? $val->properties->postcode:''),
55
-                  'city' =>(property_exists($val->properties, 'city') ? $val->properties->city:''),
56
-                  'street' => (property_exists($val->properties, 'street') ? $val->properties->street : ''),
57
-                  'state' => (property_exists($val->properties, 'state') ? $val->properties->state : ''),
58
-                  'country' => (property_exists($val->properties, 'country') ? $val->properties->country : ''),
59
-                  'coordinates' => implode(":", $val->geometry->coordinates),
60
-                  'osm_key' => (property_exists($val->properties, 'osm_key') ? $val->properties->osm_key : ''),
61
-                  'osm_value' => (property_exists($val->properties, 'osm_value') ? $val->properties->osm_value : ''),
62
-                  'osm_id' => (property_exists($val->properties, 'osm_id') ? $val->properties->osm_id : ''),
63
-                  'data' => json_encode($val),
54
+                    'postcode' => (property_exists($val->properties, 'postcode') ? $val->properties->postcode:''),
55
+                    'city' =>(property_exists($val->properties, 'city') ? $val->properties->city:''),
56
+                    'street' => (property_exists($val->properties, 'street') ? $val->properties->street : ''),
57
+                    'state' => (property_exists($val->properties, 'state') ? $val->properties->state : ''),
58
+                    'country' => (property_exists($val->properties, 'country') ? $val->properties->country : ''),
59
+                    'coordinates' => implode(":", $val->geometry->coordinates),
60
+                    'osm_key' => (property_exists($val->properties, 'osm_key') ? $val->properties->osm_key : ''),
61
+                    'osm_value' => (property_exists($val->properties, 'osm_value') ? $val->properties->osm_value : ''),
62
+                    'osm_id' => (property_exists($val->properties, 'osm_id') ? $val->properties->osm_id : ''),
63
+                    'data' => json_encode($val),
64 64
             ];
65 65
             $r[] = $row;
66 66
         }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $client->setMethod('GET');
29 29
 
30 30
         $osmTags = [
31
-            'tourism','aeroway','railway', 'amenity', 'historic', 'tunnel', 'mountain_pass',
31
+            'tourism', 'aeroway', 'railway', 'amenity', 'historic', 'tunnel', 'mountain_pass',
32 32
             'leisure', 'natural', 'bridge', 'waterway'
33 33
         ];
34 34
 
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
         $result = json_decode($result);
51 51
         $result = $result->features;
52 52
         foreach ($result as $key => $val) {
53
-            $row=['name' => (property_exists($val->properties, 'name') ? $val->properties->name:''),
54
-                  'postcode' => (property_exists($val->properties, 'postcode') ? $val->properties->postcode:''),
55
-                  'city' =>(property_exists($val->properties, 'city') ? $val->properties->city:''),
53
+            $row = ['name' => (property_exists($val->properties, 'name') ? $val->properties->name : ''),
54
+                  'postcode' => (property_exists($val->properties, 'postcode') ? $val->properties->postcode : ''),
55
+                  'city' =>(property_exists($val->properties, 'city') ? $val->properties->city : ''),
56 56
                   'street' => (property_exists($val->properties, 'street') ? $val->properties->street : ''),
57 57
                   'state' => (property_exists($val->properties, 'state') ? $val->properties->state : ''),
58 58
                   'country' => (property_exists($val->properties, 'country') ? $val->properties->country : ''),
Please login to merge, or discard this patch.