Passed
Push — release_2_0 ( 062494...9608e9 )
by Stefan
07:59
created
web/user/API.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         break;
99 99
     case 'listIdentityProviders':
100 100
         if ($federation === FALSE) {
101
-           $federation = $id ? $validator->Federation($id)->tld : FALSE;
101
+            $federation = $id ? $validator->Federation($id)->tld : FALSE;
102 102
         }
103 103
         if ($federation === FALSE) { // federation is a mandatory parameter!
104 104
             exit;
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         break;
111 111
     case 'listProfiles': // needs $idp set - abort if not
112 112
         if ($idp === FALSE) {
113
-           $idp = $id ? $validator->IdP($id)->identifier : FALSE;
113
+            $idp = $id ? $validator->IdP($id)->identifier : FALSE;
114 114
         }
115 115
         if ($idp === FALSE) {
116 116
             exit;
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         break;
120 120
     case 'listDevices':
121 121
         if ($profile === FALSE) {
122
-           $profile = $id ? $validator->Profile($id)->identifier : FALSE;
122
+            $profile = $id ? $validator->Profile($id)->identifier : FALSE;
123 123
         }
124 124
         if ($profile === FALSE) {
125 125
             exit;
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         break;
147 147
     case 'profileAttributes': // needs $profile set
148 148
         if ($profile === FALSE) {
149
-           $profile = $id ? $validator->Profile($id)->identifier : FALSE;
149
+            $profile = $id ? $validator->Profile($id)->identifier : FALSE;
150 150
         }
151 151
         if ($profile === FALSE) {
152 152
             exit;
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         break;
156 156
     case 'sendLogo': // needs $idp and $disco set
157 157
         if ($idp === FALSE) {
158
-           $idp = $id ? $validator->IdP($id)->identifier : FALSE;
158
+            $idp = $id ? $validator->IdP($id)->identifier : FALSE;
159 159
         }
160 160
         if ($idp === FALSE) {
161 161
             exit;
Please login to merge, or discard this patch.
web/admin/overview_federation.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -311,8 +311,8 @@
 block discarded – undo
311 311
                             echo "<form method='post' action='overview_federation.php' accept-charset='UTF-8'>
312 312
                                 <input type='hidden' name='invitation_id' value='" . $oneinvite['token'] . "'/>
313 313
                                 <button class='delete' type='submit' name='submitbutton' value='" . web\lib\common\FormElements::BUTTON_DELETE . "'>" . _("Revoke Invitation") . "</button> "
314
-                              . sprintf(_("(expires %s)"),$oneinvite['expiry'])
315
-                              .     "</form>";
314
+                                . sprintf(_("(expires %s)"),$oneinvite['expiry'])
315
+                                .     "</form>";
316 316
                         }
317 317
                         echo "      </td>
318 318
                                  </tr>";
Please login to merge, or discard this patch.
web/lib/admin/MapNone.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     public function htmlShowtime($wizard = FALSE, $additional = FALSE) {
85 85
         if (!$this->readOnly) {
86
- //           return $this->htmlPreEdit($wizard, $additional) . $this->htmlPostEdit(TRUE);
86
+    //           return $this->htmlPreEdit($wizard, $additional) . $this->htmlPostEdit(TRUE);
87 87
             return $this->htmlPreEdit($wizard, $additional) . $this->findLocationHtml() . $this->htmlPostEdit(TRUE);
88 88
         }
89 89
     }
Please login to merge, or discard this patch.
web/lib/admin/API.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,8 +143,8 @@
 block discarded – undo
143 143
             "OPT" => [API::AUXATTRIB_TARGETMAIL],
144 144
             "RETVAL" => [
145 145
                 ["TOKEN URL", 
146
-                 "EMAIL SENT",              // dependent on TARGETMAIL input
147
-                 "EMAIL TRANSPORT SECURE"], // dependent on TARGETMAIL input
146
+                    "EMAIL SENT",              // dependent on TARGETMAIL input
147
+                    "EMAIL TRANSPORT SECURE"], // dependent on TARGETMAIL input
148 148
             ]
149 149
         ],
150 150
         API::ACTION_ADMIN_DEL => [
Please login to merge, or discard this patch.
devices/ms/Device_W8_10.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
  * @author Tomasz Wolniewicz <[email protected]>
36 36
  * @package ModuleWriting
37 37
  */
38
- class Device_W8_10 extends WindowsCommon {
38
+    class Device_W8_10 extends WindowsCommon {
39 39
     final public function __construct() {
40 40
         parent::__construct();
41 41
         \core\common\Entity::intoThePotatoes();
Please login to merge, or discard this patch.
devices/xml/Device_XML.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
         return $helpdesk;
295 295
     }
296 296
 
297
-   private function getCredentialApplicability() {
297
+    private function getCredentialApplicability() {
298 298
         $ssids = $this->attributes['internal:SSID'];
299 299
         $oids = $this->attributes['internal:consortia'];
300 300
         $credentialapplicability = new CredentialApplicability();
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
     }
421 421
     
422 422
     private function getAuthMethod($eap) {
423
- //       $attr = $this->attributes;
423
+    //       $attr = $this->attributes;
424 424
         $authmethod = new AuthenticationMethod();
425 425
         $eapParams = $this->getAuthenticationMethodParams($eap);
426 426
         $eaptype = new Type();
Please login to merge, or discard this patch.
devices/redirect_dev/Device_RedirectDev.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,15 +22,15 @@
 block discarded – undo
22 22
 namespace devices\redirect_dev;
23 23
 
24 24
 class Device_RedirectDev extends \core\DeviceConfig {
25
-   /**
26
-    * Constructs a Device object.
27
-    *
28
-    * @final not to be redefined
29
-    */
25
+    /**
26
+     * Constructs a Device object.
27
+     *
28
+     * @final not to be redefined
29
+     */
30 30
     final public function __construct() {
31 31
         parent::__construct();
32
-      $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]);
33
-      $this->loggerInstance->debug(4,"RedirectEx called");
32
+        $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]);
33
+        $this->loggerInstance->debug(4,"RedirectEx called");
34 34
     }
35 35
     
36 36
     /**
Please login to merge, or discard this patch.
devices/linux/Device_Linux.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
         }
212 212
 
213 213
         if (!empty($this->attributes['internal:realm'][0])) {
214
-           $config['user_realm'] = $this->attributes['internal:realm'][0];
214
+            $config['user_realm'] = $this->attributes['internal:realm'][0];
215 215
         }
216 216
         
217 217
         if(!empty($this->attributes['internal:hint_userinput_suffix'][0]) && $this->attributes['internal:hint_userinput_suffix'][0] == 1) {
Please login to merge, or discard this patch.
config/config-master-template.php 1 patch
Indentation   +27 added lines, -28 removed lines patch added patch discarded remove patch
@@ -118,13 +118,13 @@  discard block
 block discarded – undo
118 118
     ],
119 119
 
120 120
     /**
121
-      * Configuration for GeoIP2 
122
-      * Beware, the legacy version does not really work with IPv6 addresses
123
-      * version: set to 2 if you wish to use GeoIP2, to 1 for the legacy version or set to 0 to turn off geolocation service
124
-      * geoip2-path-to-autoloader: points to the GeoIP2 autoloader 
125
-      * geoip2-path-to-db: points to the GeoIP2 city database
126
-      * @var array
127
-      */
121
+     * Configuration for GeoIP2 
122
+     * Beware, the legacy version does not really work with IPv6 addresses
123
+     * version: set to 2 if you wish to use GeoIP2, to 1 for the legacy version or set to 0 to turn off geolocation service
124
+     * geoip2-path-to-autoloader: points to the GeoIP2 autoloader 
125
+     * geoip2-path-to-db: points to the GeoIP2 city database
126
+     * @var array
127
+     */
128 128
       
129 129
     'GEOIP' => [
130 130
         'version' => 0,
@@ -152,7 +152,6 @@  discard block
 block discarded – undo
152 152
      *    mails, just configure the signing cert with these parameters. All must
153 153
      *    be non-NULL for signing to happen. If you don't need a keypass, make 
154 154
      *    it an empty string instead.
155
-
156 155
      * @var array
157 156
      */
158 157
     'MAILSETTINGS' => [ // we always use Submission
@@ -172,25 +171,25 @@  discard block
 block discarded – undo
172 171
      * @var array
173 172
      */
174 173
     'LANGUAGES' => [
175
-      'bg' => ['display' => 'Български',   'locale' => 'bg_BG.utf8',    'latin_based' => FALSE],
176
-      'ca' => ['display' => 'Català',      'locale' => 'ca_ES.utf8',    'latin_based' => TRUE],
177
-      'cs' => ['display' => 'Čeština',     'locale' => 'cs_CZ.utf8',    'latin_based' => TRUE],
178
-      'de' => ['display' => 'Deutsch',     'locale' => 'de_DE.utf8',    'latin_based' => TRUE],
179
-      'el' => ['display' => 'Ελληνικά',    'locale' => 'el_GR.utf8',    'latin_based' => FALSE],
180
-      'en' => ['display' => 'English(GB)', 'locale' => 'en_GB.utf8',    'latin_based' => TRUE],
181
-      'es' => ['display' => 'Español',     'locale' => 'es_ES.utf8',    'latin_based' => TRUE],     
182
-      'et' => ['display' => 'Eesti',       'locale' => 'et_EE.utf8',    'latin_based' => TRUE], 
183
-      'fr' => ['display' => 'Français',    'locale' => 'fr_FR.utf8',    'latin_based' => TRUE],
184
-      'hr' => ['display' => 'Hrvatski',    'locale' => 'hr_HR.utf8',    'latin_based' => TRUE],
185
-      'hu' => ['display' => 'Magyar',      'locale' => 'hu_HU.utf8',    'latin_based' => TRUE],
186
-      'it' => ['display' => 'Italiano',    'locale' => 'it_IT.utf8',    'latin_based' => TRUE],
187
-      'nb' => ['display' => 'Norsk',       'locale' => 'nb_NO.utf8',    'latin_based' => TRUE],
188
-      'pl' => ['display' => 'Polski',      'locale' => 'pl_PL.utf8',    'latin_based' => TRUE],
189
-      'pt' => ['display' => 'Português',   'locale' => 'pt_PT.utf8',    'latin_based' => TRUE],
190
-      'sl' => ['display' => 'Slovenščina', 'locale' => 'sl_SI.utf8',    'latin_based' => TRUE],
191
-      'sr' => ['display' => 'Srpski',      'locale' => 'sr_RS@latin',   'latin_based' => TRUE],
192
-      'fi' => ['display' => 'Suomi',       'locale' => 'fi_FI.utf8',    'latin_based' => TRUE],
193
-      'tr' => ['display' => 'Türkçe',      'locale' => 'tr_TR.utf8',    'latin_based' => TRUE],
174
+        'bg' => ['display' => 'Български',   'locale' => 'bg_BG.utf8',    'latin_based' => FALSE],
175
+        'ca' => ['display' => 'Català',      'locale' => 'ca_ES.utf8',    'latin_based' => TRUE],
176
+        'cs' => ['display' => 'Čeština',     'locale' => 'cs_CZ.utf8',    'latin_based' => TRUE],
177
+        'de' => ['display' => 'Deutsch',     'locale' => 'de_DE.utf8',    'latin_based' => TRUE],
178
+        'el' => ['display' => 'Ελληνικά',    'locale' => 'el_GR.utf8',    'latin_based' => FALSE],
179
+        'en' => ['display' => 'English(GB)', 'locale' => 'en_GB.utf8',    'latin_based' => TRUE],
180
+        'es' => ['display' => 'Español',     'locale' => 'es_ES.utf8',    'latin_based' => TRUE],     
181
+        'et' => ['display' => 'Eesti',       'locale' => 'et_EE.utf8',    'latin_based' => TRUE], 
182
+        'fr' => ['display' => 'Français',    'locale' => 'fr_FR.utf8',    'latin_based' => TRUE],
183
+        'hr' => ['display' => 'Hrvatski',    'locale' => 'hr_HR.utf8',    'latin_based' => TRUE],
184
+        'hu' => ['display' => 'Magyar',      'locale' => 'hu_HU.utf8',    'latin_based' => TRUE],
185
+        'it' => ['display' => 'Italiano',    'locale' => 'it_IT.utf8',    'latin_based' => TRUE],
186
+        'nb' => ['display' => 'Norsk',       'locale' => 'nb_NO.utf8',    'latin_based' => TRUE],
187
+        'pl' => ['display' => 'Polski',      'locale' => 'pl_PL.utf8',    'latin_based' => TRUE],
188
+        'pt' => ['display' => 'Português',   'locale' => 'pt_PT.utf8',    'latin_based' => TRUE],
189
+        'sl' => ['display' => 'Slovenščina', 'locale' => 'sl_SI.utf8',    'latin_based' => TRUE],
190
+        'sr' => ['display' => 'Srpski',      'locale' => 'sr_RS@latin',   'latin_based' => TRUE],
191
+        'fi' => ['display' => 'Suomi',       'locale' => 'fi_FI.utf8',    'latin_based' => TRUE],
192
+        'tr' => ['display' => 'Türkçe',      'locale' => 'tr_TR.utf8',    'latin_based' => TRUE],
194 193
 
195 194
 
196 195
 
@@ -267,7 +266,7 @@  discard block
 block discarded – undo
267 266
             'user' => 'customerservice',
268 267
             'pass' => '2lame4u',
269 268
             'readonly' => TRUE, ],
270
-         'enforce-external-sync' => TRUE,
269
+            'enforce-external-sync' => TRUE,
271 270
     ],
272 271
 
273 272
     /**
Please login to merge, or discard this patch.