Completed
Pull Request — develop (#359)
by Mathias
23:51
created
module/Jobs/src/Jobs/Form/Hydrator/TemplateLabelHydrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         $object = parent::hydrate($data, $object);
44 44
         /* @var \Organizations\Entity\Template  $template */
45
-        $template=$object->getOrganization()->getTemplate();
45
+        $template = $object->getOrganization()->getTemplate();
46 46
         if (isset($data['description-label-requirements'])) {
47 47
             $template->setLabelRequirements($data['description-label-requirements']);
48 48
         }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/Register.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $this->add($fieldset);
66 66
 
67
-        $mode=$options->getMode();
67
+        $mode = $options->getMode();
68 68
         if (in_array($mode, [CaptchaOptions::RE_CAPTCHA, CaptchaOptions::IMAGE])) {
69 69
             if ($mode == CaptchaOptions::IMAGE) {
70 70
                 $captcha = new Image($options->getImage());
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/Auth/src/Auth/Repository/Filter/PaginationSearchUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
 
22 22
     protected $sortPropertiesMap = [
23
-        'name' => [ 'info.lastName', 'info.firstName', 'info.email' ],
23
+        'name' => ['info.lastName', 'info.firstName', 'info.email'],
24 24
     ];
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/Element/StatusSelect.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions );
39
+                                         ], $valueOptions);
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         $options = parent::getValueOptions();
83 83
 
84 84
         return true === $this->getOption('include_all_option')
85
-               ? array_merge([ 'all' => /*@translate*/ 'All' ], $options)
85
+               ? array_merge(['all' => /*@translate*/ 'All'], $options)
86 86
                : $options;
87 87
     }
88 88
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         if (true === $this->getOption('include_all_option')) {
37 37
             $valueOptions = array_merge([
38 38
                                             'all' => /*@translate*/ 'All',
39
-                                         ], $valueOptions );
39
+                                            ], $valueOptions );
40 40
         }
41 41
 
42 42
         $this->setValueOptions($valueOptions);
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Listener/AdminWidgetProvider.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,15 +39,15 @@
 block discarded – undo
39 39
                                      'title' => 'Jobs',
40 40
                                      'data' => [
41 41
                                         /*@translate*/ 'Total jobs' => [
42
-                                            'url' => [ 'lang/admin/jobs', [], true ],
42
+                                            'url' => ['lang/admin/jobs', [], true],
43 43
                                             'value' => $total,
44 44
                                         ],
45 45
                                         /*@translate*/ 'Active jobs' => [
46
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ],
46
+                                             'url' => ['lang/admin/jobs', [], ['query' => ['status' => 'active']], true],
47 47
                                              'value' => $active
48 48
                                          ],
49 49
                                         /*@translate*/ 'Pending jobs' => [
50
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ],
50
+                                             'url' => ['lang/admin/jobs', [], ['query' => ['status' => 'created']], true],
51 51
                                              'value' => $pending
52 52
                                          ]
53 53
                                      ],
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -36,21 +36,21 @@
 block discarded – undo
36 36
         $pending = $this->repository->count(['status.name' => StatusInterface::CREATED]);
37 37
 
38 38
         $event->addViewVariables('jobs', [
39
-                                     'title' => 'Jobs',
40
-                                     'data' => [
39
+                                        'title' => 'Jobs',
40
+                                        'data' => [
41 41
                                         /*@translate*/ 'Total jobs' => [
42 42
                                             'url' => [ 'lang/admin/jobs', [], true ],
43 43
                                             'value' => $total,
44 44
                                         ],
45 45
                                         /*@translate*/ 'Active jobs' => [
46
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ],
47
-                                             'value' => $active
48
-                                         ],
46
+                                                'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ],
47
+                                                'value' => $active
48
+                                            ],
49 49
                                         /*@translate*/ 'Pending jobs' => [
50
-                                             'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ],
51
-                                             'value' => $pending
52
-                                         ]
53
-                                     ],
54
-                                 ]);
50
+                                                'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ],
51
+                                                'value' => $pending
52
+                                            ]
53
+                                        ],
54
+                                    ]);
55 55
     }
56 56
 }
57 57
\ No newline at end of file
Please login to merge, or discard this patch.
module/Geo/config/module.config.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
                  * for multiple paths.
23 23
                  * example https://github.com/doctrine/DoctrineORMModule
24 24
                  */
25
-                'paths' => array( __DIR__ . '/../src/Geo/Entity'),
25
+                'paths' => array(__DIR__.'/../src/Geo/Entity'),
26 26
             ),
27 27
         ),
28 28
         'eventmanager' => array(
@@ -84,13 +84,13 @@  discard block
 block discarded – undo
84 84
     
85 85
         // Map template to files. Speeds up the lookup through the template stack.
86 86
         'template_map' => array(
87
-            'geo/form/GeoText' => __DIR__ . '/../view/form/geotext.phtml',
88
-            'geo/form/GeoHorizontal' => __DIR__ . '/../view/form/geo-horizontal.phtml',
87
+            'geo/form/GeoText' => __DIR__.'/../view/form/geotext.phtml',
88
+            'geo/form/GeoHorizontal' => __DIR__.'/../view/form/geo-horizontal.phtml',
89 89
         ),
90 90
     
91 91
         // Where to look for view templates not mapped above
92 92
         'template_path_stack' => array(
93
-            __DIR__ . '/../view',
93
+            __DIR__.'/../view',
94 94
         ),
95 95
     ),
96 96
 
Please login to merge, or discard this patch.