Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Auth/src/Auth/Listener/MailForgotPassword.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected $mailService;
39 39
 
40
-    public function __construct($options, $mailService, $coreOptions){
41
-        $this->options=$options;
42
-        $this->mailService=$mailService;
40
+    public function __construct($options, $mailService, $coreOptions) {
41
+        $this->options = $options;
42
+        $this->mailService = $mailService;
43 43
         $this->coreOptions = $coreOptions;
44 44
     }
45 45
 
@@ -50,15 +50,15 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function __invoke(AuthEvent $e)
52 52
     {
53
-        $siteName=$this->coreOptions->getSiteName();
53
+        $siteName = $this->coreOptions->getSiteName();
54 54
 
55 55
         $user                    = $e->getUser();
56 56
         $userEmail               = $user->info->email;
57 57
         $userName                = $user->info->displayName;
58 58
         $resetLink               = $e->getResetLink();
59 59
 
60
-        $fromEmail               =  $this->options->getFromEmail();
61
-        $fromName                =  $this->options->getFromName();
60
+        $fromEmail               = $this->options->getFromEmail();
61
+        $fromName                = $this->options->getFromName();
62 62
 
63 63
         $mail                    = $this->mailService->get('htmltemplate');
64 64
         $mail->user              = $user;
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 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
- * @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
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/ListFilter.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
      *
54 54
      * fieldset: string service name of the Fieldset class
55 55
      */
56
-    public function __construct($name = null, array $options=[])
56
+    public function __construct($name = null, array $options = [])
57 57
     {
58
-        $this->fieldset = array_key_exists('fieldset',$options)?$options['fieldset']:self::BASE_FIELDSET;
58
+        $this->fieldset = array_key_exists('fieldset', $options) ? $options['fieldset'] : self::BASE_FIELDSET;
59 59
         parent::__construct();
60 60
     }
61 61
 
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 - 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;
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/Plugin/Photon.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @param string $par Query Parameter
19 19
      * @param string $geoCoderUrl Url of the geo location service
20
-     * @param string $land language
20
+     * @param string $lang language
21 21
      *
22 22
      * @return array|mixed|string
23 23
      */
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $client->setMethod('GET');
28 28
 
29 29
         $osmTags = [
30
-            'tourism','aeroway','railway', 'amenity', 'historic', 'tunnel', 'mountain_pass',
30
+            'tourism', 'aeroway', 'railway', 'amenity', 'historic', 'tunnel', 'mountain_pass',
31 31
             'leisure', 'natural', 'bridge', 'waterway'
32 32
         ];
33 33
 
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
         $result = $response->getBody();
49 49
         $result = json_decode($result);
50 50
         $result = $result->features;
51
-        $r=[];
51
+        $r = [];
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 : ''),
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
                   'osm_id' => (property_exists($val->properties, 'osm_id') ? $val->properties->osm_id : ''),
63 63
                   'data' => json_encode($val),
64 64
             ];
65
-            $r[]=$row;
65
+            $r[] = $row;
66 66
         }
67 67
         return $r;
68 68
     }
Please login to merge, or discard this 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/Jobs/src/Jobs/Form/ListFilterLocationFieldset.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function __construct(array $options = [])
30 30
     {
31 31
         parent::__construct();
32
-        if (array_key_exists('location_engine_type',$options)) {
32
+        if (array_key_exists('location_engine_type', $options)) {
33 33
             $this->locationEngineType = $options['location_engine_type'];
34 34
         }
35 35
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
                 ),
67 67
                 'attributes' => [
68 68
                     'value' => '10', // default distance
69
-                    'data-searchbox'  => -1,  // hide the search box
69
+                    'data-searchbox'  => -1, // hide the search box
70 70
                     'data-allowclear' => 'false', // allow to clear a selected value
71 71
                     'data-placeholder'  => /*@translate*/ 'Distance',
72 72
                 ]
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 - 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
 
Please login to merge, or discard this patch.
module/Geo/src/Geo/Form/GeoText/Converter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     public function toCoordinates($input) {
99 99
         $client = new Client('http://api.cross-solution.de/geo');
100 100
         $client->setMethod('GET');
101
-        $client->setParameterGet(array('q' => $input, 'country' => 'DE', 'coor' => 1, 'zoom' => 1 , 'strict' => 0));
101
+        $client->setParameterGet(array('q' => $input, 'country' => 'DE', 'coor' => 1, 'zoom' => 1, 'strict' => 0));
102 102
         $response = $client->send();
103 103
         $result = $response->getBody();
104 104
         $result = json_decode($result);
Please login to merge, or discard this 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.
Jobs/src/Jobs/Factory/Repository/Filter/PaginationAdminQueryFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param ServiceLocatorInterface $serviceLocator
22
-     * @return PaginationAdminQuery|mixed
22
+     * @return PaginationAdminQuery
23 23
      */
24 24
     public function createService(ServiceLocatorInterface $serviceLocator)
25 25
     {
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 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
- * @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
 
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Factory/Repository/Filter/PaginationQueryFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * @param ServiceLocatorInterface $serviceLocator
17
-     * @return PaginationQuery|mixed
17
+     * @return PaginationQuery
18 18
      */
19 19
     public function createService(ServiceLocatorInterface $serviceLocator)
20 20
     {
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/TranslatorAwareMessage.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -108,6 +108,9 @@
 block discarded – undo
108 108
         return parent::setSubject($subject);
109 109
     }
110 110
 
111
+    /**
112
+     * @param string $formatString
113
+     */
111 114
     public function setFormattedSubject($formatString)
112 115
     {
113 116
         $args       = func_get_args();
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 - 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;
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/MailServiceFactory.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,16 +24,16 @@
 block discarded – undo
24 24
 
25 25
         /* @var \Auth\Options\ModuleOptions $authOptions */
26 26
         $authOptions = $serviceLocator->get('Auth\Options');
27
-        $configArray=[
27
+        $configArray = [
28 28
                 'from' => [
29 29
                     'name' => $authOptions->getFromName(),
30 30
                     'email' => $authOptions->getFromEmail()
31 31
                 ]
32 32
         ];
33 33
 
34
-        $config      = new MailServiceConfig($configArray);
34
+        $config = new MailServiceConfig($configArray);
35 35
         
36
-        $service   = new MailService($config);
36
+        $service = new MailService($config);
37 37
         
38 38
         return $service;
39 39
         
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 - 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;
Please login to merge, or discard this patch.