Completed
Push — develop ( 85a285...a5396a )
by Mathias
12:51 queued 05:46
created
module/Core/src/Core/Form/View/Helper/FormSimple.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@
 block discarded – undo
36 36
         $formContent = '';
37 37
         foreach ($form as $element) {
38 38
             if ($element instanceof FieldsetInterface) {
39
-                $formContent.= $this->getView()->formCollection($element);
39
+                $formContent .= $this->getView()->formCollection($element);
40 40
             } else {
41
-                $formContent.= $this->getView()->formRowSimple($element);
41
+                $formContent .= $this->getView()->formRowSimple($element);
42 42
             }
43 43
         }
44 44
 
45
-        return $this->openTag($form) . $formContent . $this->closeTag();
45
+        return $this->openTag($form).$formContent.$this->closeTag();
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormEditorColor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     protected function additionalOptions()
21 21
     {
22
-        return 'toolbar: "undo redo | styleselect forecolor | bold italic | alignleft aligncenter alignright alignjustify | ' .
22
+        return 'toolbar: "undo redo | styleselect forecolor | bold italic | alignleft aligncenter alignright alignjustify | '.
23 23
         'bullist numlist outdent indent ", ';
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Form.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      *
81 81
      * @return $this
82 82
      */
83
-    public function setDescription($description,$params = null)
83
+    public function setDescription($description, $params = null)
84 84
     {
85 85
         $this->options['description'] = $description;
86 86
         $this->options['description_params'] = $params;
@@ -350,9 +350,9 @@  discard block
 block discarded – undo
350 350
                 if (!$inputExists && $required) {
351 351
                     $fieldsetName = '';
352 352
                     if ($fieldset->hasAttribute('name')) {
353
-                        $fieldsetName = 'in Fieldset "' . $fieldset->getAttribute('name') . '" ';
353
+                        $fieldsetName = 'in Fieldset "'.$fieldset->getAttribute('name').'" ';
354 354
                     }
355
-                    throw new \RuntimeException('input for "' . $name . '" ' . $fieldsetName . 'is required but a input-field with this name is not defined');
355
+                    throw new \RuntimeException('input for "'.$name.'" '.$fieldsetName.'is required but a input-field with this name is not defined');
356 356
                 }
357 357
             }
358 358
         }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/BaseForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function init()
37 37
     {
38 38
         if (empty($this->baseFieldset)) {
39
-            throw new \InvalidArgumentException('For the Form ' . get_class($this) . ' there is no Basefieldset');
39
+            throw new \InvalidArgumentException('For the Form '.get_class($this).' there is no Basefieldset');
40 40
         }
41 41
         $this->addBaseFieldset();
42 42
         $this->addButtonsFieldset();
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Element/DateRange.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,9 +97,9 @@
 block discarded – undo
97 97
     {
98 98
         $name = $this->getName();
99 99
         
100
-        $this->startDateElement->setName($name . '[startDate]');
101
-        $this->endDateElement->setName($name . '[endDate]');
102
-        $this->currentCheckbox->setName($name . '[current]');
100
+        $this->startDateElement->setName($name.'[startDate]');
101
+        $this->endDateElement->setName($name.'[endDate]');
102
+        $this->currentCheckbox->setName($name.'[current]');
103 103
     }
104 104
     
105 105
     public function __clone()
Please login to merge, or discard this patch.
module/Core/src/Core/Form/SummaryFormButtonsFieldset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,10 +103,10 @@
 block discarded – undo
103 103
      */
104 104
     public function setFormId($formId)
105 105
     {
106
-        $this->formId = $formId . '-';
106
+        $this->formId = $formId.'-';
107 107
        
108 108
         foreach ($this as $button) {
109
-            $button->setAttribute('id', $this->formId . $button->getAttribute('id'));
109
+            $button->setAttribute('id', $this->formId.$button->getAttribute('id'));
110 110
         }
111 111
         return $this;
112 112
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Repository/Filter/AbstractPaginationQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         
44 44
         if ($this->repositoryName) {
45 45
             $nameParts = explode('/', $this->repositoryName);
46
-            $entityClass = $nameParts[0] . '\\Entity\\' . $nameParts[1];
46
+            $entityClass = $nameParts[0].'\\Entity\\'.$nameParts[1];
47 47
             $queryBuilder->find($entityClass);
48 48
         }
49 49
         return $this->createQuery($value, $queryBuilder);
Please login to merge, or discard this patch.
Repository/DoctrineMongoODM/Event/AbstractUpdatePermissionsSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         $repository     = $dm->getRepository($repositoryName);
99 99
         
100 100
         $criteria = array(
101
-            'permissions.assigned.' . $resourceId => array(
101
+            'permissions.assigned.'.$resourceId => array(
102 102
                 '$exists' => true
103 103
             )
104 104
         );
Please login to merge, or discard this patch.
module/Core/src/Core/Repository/DoctrineMongoODM/Event/EventArgs.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function get($key)
23 23
     {
24 24
         if (!isset($this->values[$key])) {
25
-            throw new \OutOfBoundsException('Invalid key "' . $key . '"');
25
+            throw new \OutOfBoundsException('Invalid key "'.$key.'"');
26 26
         }
27 27
         return $this->values[$key];
28 28
     }
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
     
46 46
     public function __call($method, $params)
47 47
     {
48
-        $type   = substr($method, 0, 3);
48
+        $type = substr($method, 0, 3);
49 49
         
50 50
         if ('get' == $type || 'set' == $type) {
51
-            $filter = function ($match) {
52
-                return '_' . strtolower($match[0]);
51
+            $filter = function($match) {
52
+                return '_'.strtolower($match[0]);
53 53
             };
54 54
             $key = lcfirst(substr($method, 3));
55 55
             $key = preg_replace_callback('~([A-Z])~', $filter, $key);
@@ -57,6 +57,6 @@  discard block
 block discarded – undo
57 57
             return 'get' == $type ? $this->get($key) : $this->set($key, (isset($params[0]) ? $params[0] : null));
58 58
         }
59 59
         
60
-        throw new \BadMethodCallException('Unknown method: ' . $method);
60
+        throw new \BadMethodCallException('Unknown method: '.$method);
61 61
     }
62 62
 }
Please login to merge, or discard this patch.