Passed
Push — master ( 4163e3...6165ef )
by Petr
07:48
created
php-src/Methods/UrlCerts.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@
 block discarded – undo
43 43
 
44 44
     public function process(\ArrayAccess $credentials): void
45 45
     {
46
-        $name = $credentials->offsetExists(static::INPUT_NAME) ? strval($credentials->offsetGet(static::INPUT_NAME)) : '' ;
47
-        $name = $credentials->offsetExists(static::INPUT_NAME2) ? strval($credentials->offsetGet(static::INPUT_NAME2)) : $name ;
48
-        $stamp = $credentials->offsetExists(static::INPUT_STAMP) ? intval(strval($credentials->offsetGet(static::INPUT_STAMP))) : 0 ;
46
+        $name = $credentials->offsetExists(static::INPUT_NAME) ? strval($credentials->offsetGet(static::INPUT_NAME)) : '';
47
+        $name = $credentials->offsetExists(static::INPUT_NAME2) ? strval($credentials->offsetGet(static::INPUT_NAME2)) : $name;
48
+        $stamp = $credentials->offsetExists(static::INPUT_STAMP) ? intval(strval($credentials->offsetGet(static::INPUT_STAMP))) : 0;
49 49
 
50 50
         $wantedUser = $this->certAuthenticator->getDataOnly(strval($name));
51 51
         $wantedCert = $this->certAuthenticator->getCertData(strval($name));
Please login to merge, or discard this patch.
php-src/Methods/UrlHash.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@
 block discarded – undo
52 52
 
53 53
     public function process(\ArrayAccess $credentials): void
54 54
     {
55
-        $name = $credentials->offsetExists(static::INPUT_NAME) ? strval($credentials->offsetGet(static::INPUT_NAME)) : '' ;
56
-        $name = $credentials->offsetExists(static::INPUT_NAME2) ? strval($credentials->offsetGet(static::INPUT_NAME2) ): $name ;
57
-        $stamp = $credentials->offsetExists(static::INPUT_STAMP) ? intval(strval($credentials->offsetGet(static::INPUT_STAMP))) : 0 ;
55
+        $name = $credentials->offsetExists(static::INPUT_NAME) ? strval($credentials->offsetGet(static::INPUT_NAME)) : '';
56
+        $name = $credentials->offsetExists(static::INPUT_NAME2) ? strval($credentials->offsetGet(static::INPUT_NAME2)) : $name;
57
+        $stamp = $credentials->offsetExists(static::INPUT_STAMP) ? intval(strval($credentials->offsetGet(static::INPUT_STAMP))) : 0;
58 58
 
59 59
         $wantedUser = $this->certAuthenticator->getDataOnly(strval($name));
60 60
         $wantedCert = $this->certAuthenticator->getCertData(strval($name));
Please login to merge, or discard this patch.
php-src/Methods/HttpCerts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
 
42 42
     public function process(\ArrayAccess $credentials): void
43 43
     {
44
-        $name = $this->server->offsetExists(static::INPUT_NAME) ? strval($this->server->offsetGet(static::INPUT_NAME)) : '' ;
45
-        $digest = $this->server->offsetExists(static::INPUT_PASS) ? strval($this->server->offsetGet(static::INPUT_PASS)) : '' ;
44
+        $name = $this->server->offsetExists(static::INPUT_NAME) ? strval($this->server->offsetGet(static::INPUT_NAME)) : '';
45
+        $digest = $this->server->offsetExists(static::INPUT_PASS) ? strval($this->server->offsetGet(static::INPUT_PASS)) : '';
46 46
         $wantedUser = $this->certAuthenticator->getDataOnly(strval($name));
47 47
         $wantedCert = $this->certAuthenticator->getCertData(strval($name));
48 48
         if ($wantedUser && $wantedCert && $digest) {
Please login to merge, or discard this patch.
php-src/Auth.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
 {
17 17
     /** @var acc_interfaces\IUser|acc_interfaces\IUserCert|null */
18 18
     protected static $authenticator = null;
19
-    protected static ?acc_interfaces\IAuth $auth = null;
20
-    protected static ?acc_interfaces\IProcessGroups $groups = null;
21
-    protected static ?acc_interfaces\IProcessClasses $classes = null;
22
-    protected static ?acc_interfaces\IProcessAccounts $accounts = null;
19
+    protected static ? acc_interfaces\IAuth $auth = null;
20
+    protected static ? acc_interfaces\IProcessGroups $groups = null;
21
+    protected static ? acc_interfaces\IProcessClasses $classes = null;
22
+    protected static ? acc_interfaces\IProcessAccounts $accounts = null;
23 23
 
24 24
     protected static ?AuthTree $authTree = null;
25 25
 
Please login to merge, or discard this patch.