Completed
Pull Request — develop (#329)
by Carsten
07:08
created
module/Core/src/Core/Factory/Form/View/Helper/FormEditorLightFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         $helper = new FormEditorLight();
45 45
         if(isset($config['view_helper_config']['form_editor']['light']) && is_array($config['view_helper_config']['form_editor']['light'])){
46
-              $helper->setOptions($config['view_helper_config']['form_editor']['light']);
46
+                $helper->setOptions($config['view_helper_config']['form_editor']['light']);
47 47
         }
48 48
 
49 49
         $helper->setOption('theme' ,  'modern');
Please login to merge, or discard this patch.
module/Geo/src/Geo/Form/GeoText/Converter.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,11 +36,11 @@
 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.
module/Core/src/Core/Filter/XssFilter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function filter($value)
67 67
     {
68
-         $htmlPurifier = $this->getHtmlPurifier();
69
-         return $htmlPurifier->filter($value);
68
+            $htmlPurifier = $this->getHtmlPurifier();
69
+            return $htmlPurifier->filter($value);
70 70
     }
71 71
 }
72 72
\ No newline at end of file
Please login to merge, or discard this patch.
module/Geo/src/Geo/Form/GeoText.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -144,12 +144,12 @@  discard block
 block discarded – undo
144 144
         $id = str_replace(array('[', ']'), array('-', ''), $name);
145 145
         $this->setAttribute('id', $id);
146 146
         $this->nameElement->setName($name . '[name]')
147
-                          ->setAttribute('id', $id . '-name')
148
-                          ->setAttribute('class', 'form-control geolocation');
147
+                            ->setAttribute('id', $id . '-name')
148
+                            ->setAttribute('class', 'form-control geolocation');
149 149
         $this->dataElement->setName($name . '[data]')
150
-                          ->setAttribute('id', $id . '-data');
150
+                            ->setAttribute('id', $id . '-data');
151 151
         $this->typeElement->setName($name . '[type]')
152
-                          ->setAttribute('id', $id . '-type');
152
+                            ->setAttribute('id', $id . '-type');
153 153
     }
154 154
 
155 155
     /**
@@ -215,8 +215,8 @@  discard block
 block discarded – undo
215 215
             $lon = $lat = 0;
216 216
             
217 217
             foreach($lonLat as $k=>$v) {
218
-                 list($lon,$lat) = explode(',', $v, 2);
219
-                 $latLon[]=$lat.','.$lon;
218
+                    list($lon,$lat) = explode(',', $v, 2);
219
+                    $latLon[]=$lat.','.$lon;
220 220
             }
221 221
 
222 222
             $value['data'] = [
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->forms->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/Core/src/Core/View/Helper/Service/HeadScriptFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@
 block discarded – undo
58 58
             }
59 59
             
60 60
             if (is_string($specs)) {
61
-                  $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array');
62
-                  continue;
61
+                    $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array');
62
+                    continue;
63 63
             }
64 64
             
65 65
             foreach ($specs as $spec) {
Please login to merge, or discard this patch.
Organizations/src/Organizations/Factory/Form/EmployeeFieldsetFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $repositories = $services->get('repositories');
45 45
         $users        = $repositories->get('Auth/User'); /* @var $users \Auth\Repository\User */
46 46
 
47
-         /* todo: WRITE own Hydrator strategy class */
47
+            /* todo: WRITE own Hydrator strategy class */
48 48
         $strategy = new ClosureStrategy(
49 49
             function ($object) use ($users) {
50 50
             
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                 foreach (array(
72 72
                     Perms::JOBS_VIEW, Perms::JOBS_CHANGE, PERMS::JOBS_CREATE,
73 73
                     Perms::APPLICATIONS_VIEW, Perms::APPLICATIONS_CHANGE)
74
- as $perm) {
74
+    as $perm) {
75 75
                     if ($object->isAllowed($perm)) {
76 76
                         $values[] = $perm;
77 77
                     }
Please login to merge, or discard this patch.
module/Auth/src/Acl/Controller/Plugin/Acl.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -138,14 +138,14 @@
 block discarded – undo
138 138
         if (!$this->test($resource, $privilege)) {
139 139
             $msg = null === $privilege
140 140
                  ? sprintf(
141
-                     'You are not allowed to access resource "%s"',
142
-                     is_object($resource) ? $resource->getResourceId() : $resource
143
-                 )
141
+                        'You are not allowed to access resource "%s"',
142
+                        is_object($resource) ? $resource->getResourceId() : $resource
143
+                    )
144 144
                  : sprintf(
145
-                     'You are not allowed to execute operation "%s" on resource "%s"',
146
-                     $privilege,
147
-                     is_object($resource) ? $resource->getResourceId() : $resource
148
-                 );
145
+                        'You are not allowed to execute operation "%s" on resource "%s"',
146
+                        $privilege,
147
+                        is_object($resource) ? $resource->getResourceId() : $resource
148
+                    );
149 149
             
150 150
             if ($resource instanceof FileInterface && 0 == strpos($resource->type, 'image/')) {
151 151
                 throw new UnauthorizedImageAccessException(str_replace('resource', 'image', $msg));
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AbstractIdentifiableEntity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  * @ODM\MappedSuperclass
18
-  */
18
+ */
19 19
 abstract class AbstractIdentifiableEntity extends AbstractEntity implements IdentifiableEntityInterface
20 20
 {
21 21
        
Please login to merge, or discard this patch.