Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
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 - 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
 /** 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/Geo/src/Geo/Controller/Plugin/Photon.php 1 patch
Indentation   +16 added lines, -16 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 - 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 Geo\Controller\Plugin;
11 11
 
@@ -51,16 +51,16 @@  discard block
 block discarded – undo
51 51
         $r=[];
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.
module/Geo/src/Geo/Entity/Geometry/Point.php 1 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
- * @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;
Please login to merge, or discard this patch.
module/Geo/src/Geo/Form/GeoText.php 1 patch
Indentation   +12 added lines, -12 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 - 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
 /** GetText.php */
11 11
 namespace Geo\Form;
@@ -95,12 +95,12 @@  discard block
 block discarded – undo
95 95
         $id = str_replace(array('[', ']'), array('-', ''), $name);
96 96
         $this->setAttribute('id', $id);
97 97
         $this->nameElement->setName($name . '[name]')
98
-                          ->setAttribute('id', $id . '-name')
99
-                          ->setAttribute('class', 'form-control geolocation');
98
+                            ->setAttribute('id', $id . '-name')
99
+                            ->setAttribute('class', 'form-control geolocation');
100 100
         $this->dataElement->setName($name . '[data]')
101
-                          ->setAttribute('id', $id . '-data');
101
+                            ->setAttribute('id', $id . '-data');
102 102
         $this->typeElement->setName($name . '[type]')
103
-                          ->setAttribute('id', $id . '-type');
103
+                            ->setAttribute('id', $id . '-type');
104 104
     }
105 105
 
106 106
     /**
@@ -145,8 +145,8 @@  discard block
 block discarded – undo
145 145
         if ('geo' == $value['type']) {
146 146
             $lonLat = $this->getConverter()->toCoordinates($value['name']);
147 147
             foreach($lonLat as $k=>$v) {
148
-                 list($lon,$lat) = explode(',', $v, 2);
149
-                 $latLon[]=$lat.','.$lon;
148
+                    list($lon,$lat) = explode(',', $v, 2);
149
+                    $latLon[]=$lat.','.$lon;
150 150
             }
151 151
 
152 152
             $value['data'] = [
Please login to merge, or discard this patch.
module/Geo/src/Geo/Form/GeoText/Converter.php 1 patch
Indentation   +10 added lines, -10 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
- * @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 Geo\Form\GeoText;
@@ -36,11 +36,11 @@  discard block
 block discarded – undo
36 36
         }
37 37
         $entity = new Location();
38 38
         $entity->setCity($data['city'])
39
-               ->setRegion($data['region'])
40
-               ->setPostalcode($data['postalcode'])
41
-               ->setCountry($data['country']);
39
+                ->setRegion($data['region'])
40
+                ->setPostalcode($data['postalcode'])
41
+                ->setCountry($data['country']);
42 42
         if (!empty($data['coordinates'])) {
43
-               $entity->setCoordinates(new Point($data['coordinates']));
43
+                $entity->setCoordinates(new Point($data['coordinates']));
44 44
         }
45 45
 
46 46
         return $entity;
Please login to merge, or discard this patch.
module/Geo/src/Geo/Options/ModuleOptions.php 1 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
- * @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;
Please login to merge, or discard this patch.
module/Install/Module.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
- * @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 Install;
@@ -60,6 +60,6 @@  discard block
 block discarded – undo
60 60
         $services     = $application->getServiceManager();
61 61
 
62 62
         $services->get('Install/Listener/LanguageSetter')
63
-                 ->attach($eventManager);
63
+                    ->attach($eventManager);
64 64
     }
65 65
 }
Please login to merge, or discard this patch.
module/Install/autoload_classmap.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de>
6
- * @author Mathias Gelhausen <[email protected]>
7
- */
3
+     * YAWIK
4
+     *
5
+     * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de>
6
+     * @author Mathias Gelhausen <[email protected]>
7
+     */
8 8
 $env = getenv('APPLICATION_ENV') ?: 'production';
9 9
 
10 10
 return 'production' == $env
Please login to merge, or discard this patch.
module/Install/config/module.config.php 1 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
- * @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
 return array(
11 11
 
Please login to merge, or discard this patch.