Completed
Push — master ( daab91...b549ed )
by Derek Stephen
02:54 queued 11s
created
src/Renderer/Field/RadioRender.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,8 @@
 block discarded – undo
53 53
     /**
54 54
      * @param FieldInterface $field
55 55
      * @param $value
56
-     * @param $labelText
56
+     * @param $labelText
57
+     * @param boolean $inline
57 58
      * @return DOMElement
58 59
      */
59 60
     private function processOption(FieldInterface $field, $value, $labelText, $inline)
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,13 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Del\Form\Renderer\Field;
4 4
 
5
-use Del\Form\Field\FieldInterface;
6
-use Del\Form\Field\Radio;
7
-use DOMDocumentFragment;
8
-use DOMElement;
9
-use DOMNode;
10
-use DOMText;
11
-use InvalidArgumentException;
5
+use Del\Form\Field\FieldInterface;
6
+use Del\Form\Field\Radio;
7
+use DOMDocumentFragment;
8
+use DOMElement;
9
+use DOMNode;
10
+use InvalidArgumentException;
12 11
 use LogicException;
13 12
 
14 13
 class RadioRender extends AbstractFieldRender implements FieldRendererInterface
Please login to merge, or discard this patch.
src/Field/Captcha/ReCaptchaAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,12 +31,12 @@
 block discarded – undo
31 31
 
32 32
     public function render(): string
33 33
     {
34
-        return '<script src="https://www.google.com/recaptcha/api.js?render=' . $this->siteKey . '"></script>
34
+        return '<script src="https://www.google.com/recaptcha/api.js?render='.$this->siteKey.'"></script>
35 35
         <script>
36 36
             $(document).ready(function(){
37 37
                 $(\'#captcha\').parent().parent().parent().hide();
38 38
                 grecaptcha.ready(function() {
39
-                grecaptcha.execute(\'' . $this->siteKey . '\', {action: \'homepage\'}).then(function(token) {
39
+                grecaptcha.execute(\'' . $this->siteKey.'\', {action: \'homepage\'}).then(function(token) {
40 40
                     $(\'#captcha\').val(token);
41 41
                 });
42 42
                 });
Please login to merge, or discard this patch.
src/Field/Captcha/FigletCaptcha.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,9 +73,9 @@
 block discarded – undo
73 73
     {
74 74
         $word = '';
75 75
 
76
-         for ($x = 0; $x < $this->length; $x ++) {
77
-             $word .= chr(rand(97, 122));
78
-         }
76
+            for ($x = 0; $x < $this->length; $x ++) {
77
+                $word .= chr(rand(97, 122));
78
+            }
79 79
 
80 80
         return $word;
81 81
     }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $word = $this->word;
64 64
         $figlet = new Figlet();
65 65
 
66
-        return '<div class="mono">' . ($figlet->render($word)) . '</div>';
66
+        return '<div class="mono">'.($figlet->render($word)).'</div>';
67 67
     }
68 68
 
69 69
     /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         $word = '';
75 75
 
76
-         for ($x = 0; $x < $this->length; $x ++) {
76
+         for ($x = 0; $x < $this->length; $x++) {
77 77
              $word .= chr(rand(97, 122));
78 78
          }
79 79
 
Please login to merge, or discard this patch.