Passed
Push — master ( 0b0ee1...9503f0 )
by Petr
06:38 queued 03:11
created
php-tests/ControlTests/DateTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $input->resetUniq();
28 28
         $input->set('myown', 'original', 'not to look');
29 29
         $this->assertEquals(
30
-  ' <input type="text" value="" class="datepicker" id="myown_0" name="myown[]" /> '. PHP_EOL
30
+  ' <input type="text" value="" class="datepicker" id="myown_0" name="myown[]" /> ' . PHP_EOL
31 31
 . ' <input type="text" value="" class="datepicker" id="myown_1" name="myown[]" /> ', $input->renderInput());
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
php-src/Adapters/AAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     #[\ReturnTypeWillChange]
40 40
     public function current()
41 41
     {
42
-        return $this->valid() ? $this->offsetGet($this->key) : null ;
42
+        return $this->valid() ? $this->offsetGet($this->key) : null;
43 43
     }
44 44
 
45 45
     public function next(): void
Please login to merge, or discard this patch.
php-src/Interfaces/ICsrf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * @param ArrayAccess $cookie
18 18
      * @param int         $expire
19 19
      */
20
-    public function init(ArrayAccess &$cookie, int $expire = 3600): void;
20
+    public function init(ArrayAccess & $cookie, int $expire = 3600): void;
21 21
 
22 22
     /**
23 23
      * Remove known token
Please login to merge, or discard this patch.
php-src/Controls/Submit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     public function getValue()
28 28
     {
29
-        return $this->submitted ? $this->originalValue : '' ;
29
+        return $this->submitted ? $this->originalValue : '';
30 30
     }
31 31
 
32 32
     public function setTitle(string $title): void
Please login to merge, or discard this patch.
php-src/Controls/Button.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
         if (empty($title) && !empty($alias)) {
20 20
             $title = $alias;
21 21
         }
22
-        $title = empty($title) ? strval($this->originalValue) : $title ;
22
+        $title = empty($title) ? strval($this->originalValue) : $title;
23 23
         if (empty($alias)) {
24 24
             $alias = $title;
25 25
         }
Please login to merge, or discard this patch.
php-src/Controls/AControl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
 
165 165
     protected function escaped(string $content): string
166 166
     {
167
-        return static::$escapeOutput ? htmlspecialchars($content, ENT_QUOTES | ENT_HTML5, 'UTF-8', false) : $content ;
167
+        return static::$escapeOutput ? htmlspecialchars($content, ENT_QUOTES | ENT_HTML5, 'UTF-8', false) : $content;
168 168
     }
169 169
 
170 170
     public function count(): int
Please login to merge, or discard this patch.
php-src/Controls/Security/Csrf/Simple.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
     /** @var int */
20 20
     protected $expire = 3600;
21 21
 
22
-    public function init(ArrayAccess &$session, int $expire = 3600): void
22
+    public function init(ArrayAccess & $session, int $expire = 3600): void
23 23
     {
24 24
         $this->session = $session;
25 25
         $this->expire = $expire;
Please login to merge, or discard this patch.
php-src/Controls/Security/Csrf/JWT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /** @var array<string, string> Token cache */
26 26
     protected $tokens = [];
27 27
 
28
-    public function init(ArrayAccess &$cookie, int $expire = 3600): void
28
+    public function init(ArrayAccess & $cookie, int $expire = 3600): void
29 29
     {
30 30
         if (empty($cookie['csrf_token'])) {
31 31
             $cookie['csrf_token'] = uniqid('csrf', true);
Please login to merge, or discard this patch.
php-src/Controls/Security/Captcha/NoCaptcha.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,6 +71,6 @@
 block discarded – undo
71 71
     protected function getHtml(): string
72 72
     {
73 73
         return '<script src="' . NOCAPTCHA_API_SERVER . '"></script>
74
-	<div class="g-recaptcha" data-sitekey="' . static::$publicKey. '"></div>';
74
+	<div class="g-recaptcha" data-sitekey="' . static::$publicKey . '"></div>';
75 75
     }
76 76
 }
Please login to merge, or discard this patch.