Completed
Pull Request — develop (#359)
by Mathias
23:51
created
module/Jobs/src/Jobs/Form/MultipostButtonFieldset.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -24,19 +24,19 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->add(
27
-             array(
28
-                 'type' => 'Core/Spinner-Submit',
29
-                 'name' => 'calculate',
30
-                 'options' => array(
31
-                     'label' => /*@translate*/ 'Calculate price',
32
-                 ),
33
-                 'attributes' => array(
34
-                     'id' => 'calculate',
35
-                     'type' => 'button',
36
-                     'value' => 'calculate',
37
-                     'class' => 'mps-calculate btn btn-success btn-xs'
38
-                 ),
39
-             )
27
+                array(
28
+                    'type' => 'Core/Spinner-Submit',
29
+                    'name' => 'calculate',
30
+                    'options' => array(
31
+                        'label' => /*@translate*/ 'Calculate price',
32
+                    ),
33
+                    'attributes' => array(
34
+                        'id' => 'calculate',
35
+                        'type' => 'button',
36
+                        'value' => 'calculate',
37
+                        'class' => 'mps-calculate btn btn-success btn-xs'
38
+                    ),
39
+                )
40 40
         );
41 41
 
42 42
         parent::init();
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/FactsFieldset.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     public function init()
35 35
     {
36 36
         $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator())
37
-             ->setName('base');
37
+                ->setName('base');
38 38
 
39 39
         $this->add(
40 40
             array(
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/ContentCollector.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public function trigger($event, $target = null)
43 43
     {
44 44
         if (empty($this->_template) || !is_string($this->_template)) {
45
-              throw new \InvalidArgumentException('ContentCollector must have a template-name');
45
+                throw new \InvalidArgumentException('ContentCollector must have a template-name');
46 46
         }
47 47
           
48 48
         $responseCollection = $this->getController()->getEventManager()->trigger($event, $target);
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
         $viewModel->setTemplate($this->_template);
51 51
         foreach ($responseCollection as $i => $response) {
52 52
             if (is_string($response)) {
53
-                      $template = $response;
54
-                      $response = new ViewModel(array('target' => $target));
55
-                      $response->setTemplate($template);
53
+                        $template = $response;
54
+                        $response = new ViewModel(array('target' => $target));
55
+                        $response->setTemplate($template);
56 56
             }
57 57
                     $viewModel->addChild($response, $this->_captureTo . $i);
58 58
         }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Hydrator/PreviewLinkHydrator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,12 +39,12 @@
 block discarded – undo
39 39
         $viewLink = $controllerPluginManager->get('url')->fromRoute(
40 40
             'lang/jobs/view',
41 41
             array(
42
-              ),
42
+                ),
43 43
             array(
44
-                  'query' => array(
45
-                      'id' => $data['id'],
46
-                  )
47
-              )
44
+                    'query' => array(
45
+                        'id' => $data['id'],
46
+                    )
47
+                )
48 48
         );
49 49
 
50 50
         $data['previewLink']         = $viewLink;
Please login to merge, or discard this patch.
module/Geo/src/Geo/Controller/Plugin/Photon.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -51,16 +51,16 @@
 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/Applications/src/Applications/Mail/Forward.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,11 +118,11 @@
 block discarded – undo
118 118
     {
119 119
         $services = $this->getServiceLocator()->getServiceLocator();
120 120
 
121
-         /*
121
+            /*
122 122
           * "ViewHelperManager" defined by ZF2
123 123
           *  see http://framework.zend.com/manual/2.0/en/modules/zend.mvc.services.html#viewmanager
124 124
           */
125
-         $viewManager = $services->get('ViewHelperManager');
125
+            $viewManager = $services->get('ViewHelperManager');
126 126
 
127 127
         return $viewManager->get("partial")->__invoke('applications/mail/forward', array("application"=>$this->application));
128 128
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/GroupFieldset.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
     public function init()
29 29
     {
30 30
         $this->setName('data')
31
-             ->setLabel('Group data')
32
-             ->setUseAsBaseFieldset(true)
33
-             ->setHydrator(new EntityHydrator());
31
+                ->setLabel('Group data')
32
+                ->setUseAsBaseFieldset(true)
33
+                ->setHydrator(new EntityHydrator());
34 34
         
35 35
         $this->add(
36 36
             array(
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 'required' => true,
70 70
                 'validators' => array(
71 71
                     array('name'    => 'Auth/Form/UniqueGroupName',
72
-                          'options' => array(
72
+                            'options' => array(
73 73
                             'allowName' => 'edit' == $this->getOption('mode')
74 74
                                           ? $this->getObject()->getName()
75 75
                                           : null
Please login to merge, or discard this patch.
module/Applications/src/Applications/Form/ContactContainer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function init()
26 26
     {
27 27
         $this->setIsDisableCapable(false)
28
-             ->setIsDisableElementsCapable(false);
28
+                ->setIsDisableElementsCapable(false);
29 29
 
30 30
         $this->setForms(
31 31
             array(
Please login to merge, or discard this patch.
module/Applications/src/Applications/Factory/Form/AttachmentsFactory.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -73,14 +73,14 @@
 block discarded – undo
73 73
         $count = $options->getAttachmentsCount();
74 74
 
75 75
         $form->setIsDisableCapable(false)
76
-             ->setIsDisableElementsCapable(false)
77
-             ->setIsDescriptionsEnabled(true)
78
-             ->setDescription(
76
+                ->setIsDisableElementsCapable(false)
77
+                ->setIsDescriptionsEnabled(true)
78
+                ->setDescription(
79 79
                 /*@translate*/ 'Attach images or PDF Documents to your application. Drag&drop them, or click into the attachement area. You can upload up to %sMB',
80
-                 [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
81
-             )
82
-             ->setParam('return', 'file-uri')
83
-             ->setLabel(/*@translate*/ 'Attachments');
80
+                    [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
81
+                )
82
+                ->setParam('return', 'file-uri')
83
+                ->setLabel(/*@translate*/ 'Attachments');
84 84
 
85 85
         /** @var $file FileUpload*/
86 86
         $file = $form->get($this->fileName);
Please login to merge, or discard this patch.