Completed
Push — master ( d913d0...312f5c )
by Derek Stephen
07:27
created
src/Renderer/Field/SelectRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $option = $this->dom->createElement('option');
42 42
         $option->setAttribute('value', $value);
43 43
         $option->textContent = $label;
44
-        if($field->getValue() == $option->getAttribute('value')) {
44
+        if ($field->getValue() == $option->getAttribute('value')) {
45 45
             $option->setAttribute('selected', 'selected');
46 46
         }
47 47
         return $option;
Please login to merge, or discard this patch.
src/Renderer/Field/CheckboxRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         $radio->setAttribute('value', $value);
104 104
         $text = new DOMText($labelText);
105 105
 
106
-        if(in_array($value, $field->getValue())) {
106
+        if (in_array($value, $field->getValue())) {
107 107
             $radio->setAttribute('checked', 'checked');
108 108
         }
109 109
 
Please login to merge, or discard this patch.
src/Renderer/Field/RadioRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         $radio->setAttribute('value', $value);
104 104
         $text = new DOMText($labelText);
105 105
 
106
-        if($field->getValue() == $radio->getAttribute('value')) {
106
+        if ($field->getValue() == $radio->getAttribute('value')) {
107 107
             $radio->setAttribute('checked', 'checked');
108 108
         }
109 109
 
Please login to merge, or discard this patch.
src/Field/FieldAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
     {
196 196
         $value = $this->getValue();
197 197
 
198
-        if ( (!$validator->isValid($value)) && $this->isRequired()) {
198
+        if ((!$validator->isValid($value)) && $this->isRequired()) {
199 199
             $this->errorMessages = array_merge($this->errorMessages, $validator->getMessages());
200 200
         }
201 201
     }
Please login to merge, or discard this patch.
src/AbstractForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
         while ($this->fieldCollection->valid()) {
286 286
             $current = $this->fieldCollection->current();
287 287
             $this->moveFileIfUploadField($current);
288
-            $this->fieldCollection->next() ;
288
+            $this->fieldCollection->next();
289 289
         }
290 290
     }
291 291
 
Please login to merge, or discard this patch.