Completed
Push — develop ( fd8298...e653e2 )
by Carsten
14s
created
module/Organizations/config/module.config.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -68,13 +68,13 @@  discard block
 block discarded – undo
68 68
     'view_manager' => array(
69 69
         // Map template to files. Speeds up the lookup through the template stack.
70 70
         'template_map' => array(
71
-             'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
72
-             'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
73
-             'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
74
-             'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
75
-             'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
76
-             'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
77
-             'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
71
+                'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml',
72
+                'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml',
73
+                'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml',
74
+                'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml',
75
+                'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml',
76
+                'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml',
77
+                'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml',
78 78
             'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml',
79 79
         ),
80 80
         // Where to look for view templates not mapped above
@@ -84,20 +84,20 @@  discard block
 block discarded – undo
84 84
     ),
85 85
     'form_elements' => array(
86 86
         'invokables' => array(
87
-             'Organizations/form' => 'Organizations\Form\Organizations',
88
-             'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
89
-             'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
90
-             'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
91
-             'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
92
-             'Organizations/OrganizationsNameFieldset'    => 'Organizations\Form\OrganizationsNameFieldset',
93
-             'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
94
-             //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
95
-             'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
96
-             'Organizations/Employees'                    => 'Organizations\Form\Employees',
97
-             'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
98
-             'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
99
-             'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
100
-             'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
87
+                'Organizations/form' => 'Organizations\Form\Organizations',
88
+                'Organizations/OrganizationsContactForm'     => 'Organizations\Form\OrganizationsContactForm',
89
+                'Organizations/OrganizationsNameForm'        => 'Organizations\Form\OrganizationsNameForm',
90
+                'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm',
91
+                'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset',
92
+                'Organizations/OrganizationsNameFieldset'    => 'Organizations\Form\OrganizationsNameFieldset',
93
+                'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset',
94
+                //'Organizations/OrganizationFieldset'       => 'Organizations\Form\OrganizationFieldset',
95
+                'Organizations/EmployeesContainer'           => 'Organizations\Form\EmployeesContainer',
96
+                'Organizations/Employees'                    => 'Organizations\Form\Employees',
97
+                'Organizations/InviteEmployeeBar'            => 'Organizations\Form\Element\InviteEmployeeBar',
98
+                'Organizations/Employee'                     => 'Organizations\Form\Element\Employee',
99
+                'Organizations/WorkflowSettings'             => 'Organizations\Form\WorkflowSettings',
100
+                'Organizations/WorkflowSettingsFieldset'     => 'Organizations\Form\WorkflowSettingsFieldset',
101 101
 
102 102
         ),
103 103
         'factories' => array(
@@ -187,13 +187,13 @@  discard block
 block discarded – undo
187 187
     ),
188 188
     'service_manager' => [
189 189
         'invokables' => [
190
-           'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener'
190
+            'Organizations\Auth\Dependency\EmployeeListListener' => 'Organizations\Auth\Dependency\EmployeeListListener'
191 191
         ],
192 192
         'factories' => [
193
-           'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory',
194
-           'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory',
195
-           'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory',
196
-           'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory'
193
+            'Organizations\Auth\Dependency\ListListener' => 'Organizations\Factory\Auth\Dependency\ListListenerFactory',
194
+            'Organizations\ImageFileCache\Manager' => 'Organizations\Factory\ImageFileCache\ManagerFactory',
195
+            'Organizations\ImageFileCache\ODMListener' => 'Organizations\Factory\ImageFileCache\ODMListenerFactory',
196
+            'Organizations\ImageFileCache\ApplicationListener' => 'Organizations\Factory\ImageFileCache\ApplicationListenerFactory'
197 197
         ]
198 198
     ],
199 199
     'event_manager' => [
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/View/Helper/ApplyUrl.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,10 +123,10 @@
 block discarded – undo
123 123
      * @param $options
124 124
      */
125 125
     public function setOptions($options){
126
-       foreach($options as $key=>$val) {
126
+        foreach($options as $key=>$val) {
127 127
             if (array_key_exists($this->options,$key)) {
128 128
                 $this->options[$key]=$val;
129 129
             }
130
-       }
130
+        }
131 131
     }
132 132
 }
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/View/Helper/JobUrl.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,10 +102,10 @@
 block discarded – undo
102 102
             }
103 103
         }else{
104 104
             $result = sprintf('<a href="%s" rel="%s" %s>%s</a>',
105
-                              $url,
106
-                              $options['rel'],
107
-                              $options['target']?"target=" . $options['target']:"",
108
-                              strip_tags($jobEntity->getTitle()));
105
+                                $url,
106
+                                $options['rel'],
107
+                                $options['target']?"target=" . $options['target']:"",
108
+                                strip_tags($jobEntity->getTitle()));
109 109
         }
110 110
 
111 111
         return $result;
Please login to merge, or discard this patch.
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.