Completed
Pull Request — develop (#359)
by Mathias
23:51
created
module/Core/src/Core/Form/View/Helper/FormWizardContainer.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -90,24 +90,24 @@
 block discarded – undo
90 90
             $tabId = $containerId . '-' . strtolower($tabElement->getName());
91 91
             $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>';
92 92
             $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">'
93
-                          . $formContainer($tabElement, $layout, $parameter)
94
-                          . '</div>';
93
+                            . $formContainer($tabElement, $layout, $parameter)
94
+                            . '</div>';
95 95
         }
96 96
 
97 97
         $content .= '<style type="text/css">.tab-content > div > div:first-child { margin-top: 10px; }</style><div class="wizard-container" id="' . $containerId . '">'
98
-                  . '<ul>' . $tabsNav . '</ul>'
99
-                  . '<div class="tab-content">' . $tabsContent . '</div>';
98
+                    . '<ul>' . $tabsNav . '</ul>'
99
+                    . '<div class="tab-content">' . $tabsContent . '</div>';
100 100
         if ($containerParams['pager']) {
101 101
             $content .='<ul class="pager wizard">'
102
-                  . '<li class="previous"><a href="javascript:;">&larr; ' . $translate('previous') . '</a></li>'
103
-                  . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' &rarr;</a></li>'
104
-                  . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">'
105
-                  . (false !== $containerParams['finish_label']
102
+                    . '<li class="previous"><a href="javascript:;">&larr; ' . $translate('previous') . '</a></li>'
103
+                    . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' &rarr;</a></li>'
104
+                    . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">'
105
+                    . (false !== $containerParams['finish_label']
106 106
                      ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">'
107
-                       . $translate($containerParams['finish_label']) . ' &bull;</a>'
107
+                        . $translate($containerParams['finish_label']) . ' &bull;</a>'
108 108
                      : ''
109 109
                     )
110
-                  . '</li></ul>';
110
+                    . '</li></ul>';
111 111
         }
112 112
         $content .= '</div>';
113 113
 
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/CreatePaginatorService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
         $adapter->setParams($params);
83 83
         $paginator->setCurrentPageNumber($params->get('page', 1))
84
-                  ->setItemCountPerPage($params->get('count', 10));
84
+                    ->setItemCountPerPage($params->get('count', 10));
85 85
 
86 86
         return $paginator;
87 87
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormElement.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
-
4 3
  */
5 4
 
6 5
 namespace Core\Form\View\Helper;
Please login to merge, or discard this patch.
module/Settings/src/Settings/Form/AbstractSettingsForm.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         }
67 67
         
68 68
         $fieldset->setUseAsBaseFieldset(true)
69
-                 ->setName('base');
69
+                    ->setName('base');
70 70
         
71 71
         $fieldset->setObject($object);
72 72
         $this->add($fieldset);
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
     {
93 93
         parent::setName(strtolower($name) . '-settings');
94 94
         $urlHelper = $this->formManager->getServiceLocator()
95
-                     ->get('ViewHelperManager')
96
-                     ->get('url');
95
+                        ->get('ViewHelperManager')
96
+                        ->get('url');
97 97
         
98 98
         $url = $urlHelper('lang/settings', array('module' => $name), true);
99 99
         $this->setAttribute('action', $url);
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Controller/ImportController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -182,9 +182,9 @@  discard block
 block discarded – undo
182 182
                                 $location = new Location();
183 183
                                 $coords = array_map(function ($i) { return (float) $i; }, $locData['coordinates']);
184 184
                                 $location->setCountry($locData['country'])
185
-                                         ->setRegion($locData['region'])
186
-                                         ->setCity($locData['city'])
187
-                                         ->setCoordinates(new Point($coords));
185
+                                            ->setRegion($locData['region'])
186
+                                            ->setCity($locData['city'])
187
+                                            ->setCoordinates(new Point($coords));
188 188
 
189 189
                                 $jobLocations->add($location);
190 190
                             }
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
                                 /* @var $jobEvents \Zend\EventManager\EventManager */
216 216
                                 $jobEvents = $services->get('Jobs/Events');
217 217
                                 $jobEvent->setName(JobEvent::EVENT_JOB_ACCEPTED)
218
-                                         ->setTarget($this);
218
+                                            ->setTarget($this);
219 219
                                 $responses = $jobEvents->trigger($jobEvent);
220 220
                                 foreach ($responses as $response) {
221 221
                                     // responses from the portals
Please login to merge, or discard this patch.
Jobs/src/Jobs/Factory/Form/Hydrator/OrganizationNameHydratorFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * @filesource
6 6
  * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7 7
  * @license   MIT
8
-  */
8
+ */
9 9
 
10 10
 namespace Jobs\Factory\Form\Hydrator;
11 11
 
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Entity/OrganizationInterface.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -107,23 +107,23 @@
 block discarded – undo
107 107
 
108 108
 
109 109
     /**
110
-    * Sets the name of the organization
111
-    *
112
-    * @param OrganizationName organizationName
113
-    * @return OrganizationInterface
114
-    */
110
+     * Sets the name of the organization
111
+     *
112
+     * @param OrganizationName organizationName
113
+     * @return OrganizationInterface
114
+     */
115 115
     public function setOrganizationName(OrganizationName $organizationNames);
116 116
 
117
-   /**
118
-    * Gets the name of the organization
119
-    *
120
-    * @return OrganizationName
121
-    */
117
+    /**
118
+     * Gets the name of the organization
119
+     *
120
+     * @return OrganizationName
121
+     */
122 122
     public function getOrganizationName();
123 123
    
124
-      /**
125
-     * @return string
126
-     */
124
+        /**
125
+         * @return string
126
+         */
127 127
     public function getDescription();
128 128
 
129 129
     /**
Please login to merge, or discard this patch.
module/Cv/src/Cv/Factory/Form/AttachmentsFormFactory.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
         $count = $options->getAttachmentsCount();
75 75
 
76 76
         $form->setIsDisableCapable(false)
77
-             ->setIsDisableElementsCapable(false)
78
-             ->setIsDescriptionsEnabled(true)
79
-             ->setDescription(
77
+                ->setIsDisableElementsCapable(false)
78
+                ->setIsDescriptionsEnabled(true)
79
+                ->setDescription(
80 80
                 /*@translate*/ 'Attach images or PDF Documents to your CV. Drag&drop them, or click into the attachement area. You can upload up to %sMB',
81
-                 [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
82
-             )
83
-             ->setParam('return', 'file-uri')
84
-             ->setLabel(/*@translate*/ 'Attachments');
81
+                    [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)]
82
+                )
83
+                ->setParam('return', 'file-uri')
84
+                ->setLabel(/*@translate*/ 'Attachments');
85 85
 
86 86
         /* @var $file \Core\Form\Element\FileUpload */
87 87
         $file = $form->get($this->fileName);
Please login to merge, or discard this patch.
module/Cv/src/Cv/Entity/ContactImage.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -44,16 +44,16 @@
 block discarded – undo
44 44
         $this->contact->setImage(null);
45 45
     }
46 46
     
47
-	/**
48
-	 * @param Contact $contact
49
-	 * @return ContactImage
50
-	 */
51
-	public function setContact(Contact $contact)
52
-	{
53
-		$this->contact = $contact;
47
+    /**
48
+     * @param Contact $contact
49
+     * @return ContactImage
50
+     */
51
+    public function setContact(Contact $contact)
52
+    {
53
+        $this->contact = $contact;
54 54
 		
55
-		return $this;
56
-	}
55
+        return $this;
56
+    }
57 57
 
58 58
     /**
59 59
      * @return Contact
Please login to merge, or discard this patch.