Passed
Branch master (1fbb83)
by Petr
03:24
created
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/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.
php-src/Controls/Security/Captcha/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  */
15 15
 class Text extends AGraphical
16 16
 {
17
-    public function set(string $alias, ArrayAccess &$session, string $errorMessage, string $font = '/usr/share/fonts/truetype/freefont/FreeMono.ttf'): self
17
+    public function set(string $alias, ArrayAccess & $session, string $errorMessage, string $font = '/usr/share/fonts/truetype/freefont/FreeMono.ttf'): self
18 18
     {
19 19
         $this->font = $font;
20 20
         $text = strtoupper($this->generateRandomString(8));
Please login to merge, or discard this patch.
php-src/Controls/Security/Captcha/Factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
     public function __construct(ITimeout $libTimeout = null, string $captchaError = '')
31 31
     {
32 32
         $this->libTimeout = $libTimeout;
33
-        $this->captchaError = empty($captchaError) ? $this->captchaError : $captchaError ;
33
+        $this->captchaError = empty($captchaError) ? $this->captchaError : $captchaError;
34 34
     }
35 35
 
36
-    public function getCaptcha(int $type, ArrayAccess &$session, string $alias = 'captcha'): ACaptcha
36
+    public function getCaptcha(int $type, ArrayAccess & $session, string $alias = 'captcha'): ACaptcha
37 37
     {
38 38
         switch ($type) {
39 39
             case static::TYPE_DISABLED:
Please login to merge, or discard this patch.
php-src/Controls/TSelected.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public function getValue()
26 26
     {
27
-        return $this->getSelected() ? $this->originalValue : '' ;
27
+        return $this->getSelected() ? $this->originalValue : '';
28 28
     }
29 29
 
30 30
     /**
Please login to merge, or discard this patch.