Completed
Push — development ( 477849...8fd89f )
by Nils
07:48
created
includes/language/greek.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'feature_support_canal' => 'For Support and Help, please use ',
18 18
     'user_ga_code' => 'Αποστολή GoogleAuthenticator στο χρήστη με ηλεκτρονικό μήνυμα',
19 19
     'send_ga_code' => 'Set and email Google Authentication code',
Please login to merge, or discard this patch.
includes/language/italian.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'feature_support_canal' => 'For Support and Help, please use ',
18 18
     'user_ga_code' => 'Invia all\'utente per mail il link GoogleAuthenticator',
19 19
     'send_ga_code' => 'Google Authenticator per utente',
Please login to merge, or discard this patch.
includes/language/german.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'feature_support_canal' => 'For Support and Help, please use ',
18 18
     'user_ga_code' => 'Den Google Authenticator per E-Mail an Benutzer senden',
19 19
     'send_ga_code' => 'Google Authenticator für Benutzer',
Please login to merge, or discard this patch.
includes/language/czech.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'feature_support_canal' => 'For Support and Help, please use ',
18 18
     'user_ga_code' => 'Zaslat uživateli Google Authenticator emailem',
19 19
     'send_ga_code' => 'Google Authenticator pro uživatele',
Please login to merge, or discard this patch.
includes/libraries/misc/random_compat/random_int.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
          */
124 124
         while ($range > 0) {
125 125
             if ($bits % 8 === 0) {
126
-               ++$bytes;
126
+                ++$bytes;
127 127
             }
128 128
             ++$bits;
129 129
             $range >>= 1;
Please login to merge, or discard this patch.
includes/libraries/PasswordLib/Key/Derivation/PBKDF/PBKDF2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         for ($i = 1; $i <= $len; $i++) {
50 50
             $tmp = hash_hmac(
51 51
                 $this->hash,
52
-                $salt . pack('N', $i),
52
+                $salt.pack('N', $i),
53 53
                 $password,
54 54
                 true
55 55
             );
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @return string The signature for this instance
73 73
      */
74 74
     public function getSignature() {
75
-        return 'pbkdf2-' . $this->hash;
75
+        return 'pbkdf2-'.$this->hash;
76 76
     }
77 77
 
78 78
 }
Please login to merge, or discard this patch.
includes/libraries/PasswordLib/Key/Factory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     public function registerKDF($name, $class) {
75 75
         $this->registerType(
76 76
             'kdf',
77
-            __NAMESPACE__ . '\\Derivation\\KDF',
77
+            __NAMESPACE__.'\\Derivation\\KDF',
78 78
             $name,
79 79
             $class
80 80
         );
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     public function registerPBKDF($name, $class) {
84 84
         $this->registerType(
85 85
             'pbkdf',
86
-            __NAMESPACE__ . '\\Derivation\\PBKDF',
86
+            __NAMESPACE__.'\\Derivation\\PBKDF',
87 87
             $name,
88 88
             $class
89 89
         );
@@ -91,16 +91,16 @@  discard block
 block discarded – undo
91 91
 
92 92
     protected function loadKDF() {
93 93
         $this->loadFiles(
94
-            __DIR__ . '/Derivation/KDF',
95
-            __NAMESPACE__ . '\\Derivation\\KDF\\',
94
+            __DIR__.'/Derivation/KDF',
95
+            __NAMESPACE__.'\\Derivation\\KDF\\',
96 96
             array($this, 'registerKDF')
97 97
         );
98 98
     }
99 99
 
100 100
     protected function loadPBKDF() {
101 101
         $this->loadFiles(
102
-            __DIR__ . '/Derivation/PBKDF',
103
-            __NAMESPACE__ . '\\Derivation\\PBKDF\\',
102
+            __DIR__.'/Derivation/PBKDF',
103
+            __NAMESPACE__.'\\Derivation\\PBKDF\\',
104 104
             array($this, 'registerPBKDF')
105 105
         );
106 106
     }
Please login to merge, or discard this patch.
includes/libraries/PasswordLib/Password/Implementation/PHPASS.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
     public function create($password) {
145 145
         $password = $this->checkPassword($password);
146 146
         $salt     = $this->to64($this->generator->generate(6));
147
-        $prefix   = static::encodeIterations($this->options['cost']) . $salt;
148
-        return static::$prefix . $prefix . $this->hash($password, $salt);
147
+        $prefix   = static::encodeIterations($this->options['cost']).$salt;
148
+        return static::$prefix.$prefix.$this->hash($password, $salt);
149 149
     }
150 150
 
151 151
     /**
@@ -185,9 +185,9 @@  discard block
 block discarded – undo
185 185
      */
186 186
     protected function hash($password, $salt) {
187 187
         $count = 1 << $this->options['cost'];
188
-        $hash  = hash($this->hashFunction, $salt . $password, true);
188
+        $hash  = hash($this->hashFunction, $salt.$password, true);
189 189
         do {
190
-            $hash = hash($this->hashFunction, $hash . $password, true);
190
+            $hash = hash($this->hashFunction, $hash.$password, true);
191 191
         } while (--$count);
192 192
         return $this->to64($hash);
193 193
     }
Please login to merge, or discard this patch.
includes/libraries/PasswordLib/Password/Implementation/MediaWiki.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                 'The hash was not created here, we cannot verify it'
55 55
             );
56 56
         }
57
-        preg_match('/^' . $prefix . '(.+)\./', $hash, $match);
57
+        preg_match('/^'.$prefix.'(.+)\./', $hash, $match);
58 58
         $salt = null;
59 59
         if (isset($match[1])) {
60 60
             $salt = $match[1];
Please login to merge, or discard this patch.