Completed
Push — master ( 3af7c9...98d162 )
by rugk
03:13
created
src/library/ThreemaGateway/Handler/Permissions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
         // check whether visitor is user
132 132
         /** @var bool $userIsAlreadyVisitor Whether the new user is already the default user and the
133 133
                         old user is the default user too.
134
-        */
134
+         */
135 135
         $userIsAlreadyVisitor = $this->userIsDefault($newUser) && $this->userIsDefault($oldUserId);
136 136
         // prevent unnecessary changes
137 137
         if ($oldUserId == $newUserId || $userIsAlreadyVisitor) {
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Helper/Emoji.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@  discard block
 block discarded – undo
8 8
  * @license MIT
9 9
  */
10 10
 
11
- class ThreemaGateway_Helper_Emoji
12
- {
13
-     /**
14
-     * Replaces unicode escape sequence with the correct UNICODE character.
15
-     *
16
-     * XenForo template helper: emojiparseunicode.
17
-     * You need to pass it as surrogate pairs, e.g. \ud83d\udd11.
18
-     *
19
-     * @param  string $string
20
-     * @return string
21
-     */
11
+    class ThreemaGateway_Helper_Emoji
12
+    {
13
+        /**
14
+         * Replaces unicode escape sequence with the correct UNICODE character.
15
+         *
16
+         * XenForo template helper: emojiparseunicode.
17
+         * You need to pass it as surrogate pairs, e.g. \ud83d\udd11.
18
+         *
19
+         * @param  string $string
20
+         * @return string
21
+         */
22 22
     public static function parseUnicode($string)
23 23
     {
24 24
         // uses json_decode as a hackish way to encode unicode strings
@@ -47,4 +47,4 @@  discard block
 block discarded – undo
47 47
         // https://regex101.com/r/aQ3eA3/1
48 48
         return preg_replace('/(\d)/', '\1\\u20e3', $string);
49 49
     }
50
- }
50
+    }
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Installer/TfaProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $db->query('INSERT INTO `xf_tfa_provider`
56 56
                   (`provider_id`, `provider_class`, `priority`, `active`)
57 57
                   VALUES (?, ?, ?, ?)',
58
-                  [$this->tfaId, $this->tfaClass, $this->tfaPriority, (int) $enabled]);
58
+                    [$this->tfaId, $this->tfaClass, $this->tfaPriority, (int) $enabled]);
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.