Completed
Push — master ( 3af7c9...98d162 )
by rugk
03:13
created
src/library/ThreemaGateway/Helper/Random.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     public static function getRandomString($length, $keyspace = 'abcdefghijklmnopqrstuvwxyz01234567')
62 62
     {
63 63
         /** @var string $output */
64
-        $output  = '';
64
+        $output = '';
65 65
         if (self::canUseLibsodium()) {
66 66
             /** @var int $keysize */
67 67
             $keysize = strlen($keyspace);
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Helper/Emoji.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
         // https://stackoverflow.com/questions/6058394/unicode-character-in-php-string
26 26
 
27 27
         // RegEx: https://regex101.com/r/yS2zX8/3
28
-        return preg_replace_callback('/(\\\\u([0-9a-fA-F]{4}))+/', function ($match) {
28
+        return preg_replace_callback('/(\\\\u([0-9a-fA-F]{4}))+/', function($match) {
29 29
             return json_decode('"' . $match[0] . '"');
30 30
         }, $string);
31 31
     }
Please login to merge, or discard this patch.
src/library/ThreemaGateway/Helper/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     public static function getOldestPossibleReplayAttackDate()
58 58
     {
59 59
         /** @var XenForo_Options $options */
60
-        $options   = XenForo_Application::getOptions();
60
+        $options = XenForo_Application::getOptions();
61 61
         /** @var int $rejectOlDefault the default maximum age of a message according*/
62 62
         $rejectOlDefault = strtotime('-14 days', XenForo_Application::$time);
63 63
         /* @var int $rejectOld the maximum age of a message according to the options */
Please login to merge, or discard this patch.