Passed
Push — master ( 87852b...70110a )
by Tomasz
03:24
created
web/skins/classic/user/js/roll.php 1 patch
Indentation   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -68,13 +68,12 @@
 block discarded – undo
68 68
 
69 69
 <?php
70 70
 /**
71
-  * The OS object holds operating system descriptions
72
-  * @param name is the main title
73
-  * @param subtitle - the subtitle
74
-  * @param path - the path to the scriin-dump image
75
-  * @param signed - if true show information that the module is signed
76
-    
77
-*/
71
+ * The OS object holds operating system descriptions
72
+ * @param name is the main title
73
+ * @param subtitle - the subtitle
74
+ * @param path - the path to the scriin-dump image
75
+ * @param signed - if true show information that the module is signed
76
+ */
78 77
 ?>
79 78
 
80 79
 function OS(name, subtitle, path, signed) {
Please login to merge, or discard this patch.
utils/ocsp_update.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     core\ProfileSilverbullet::triggerNewOCSPStatement($serialRow->serial_number);
24 24
 }
25 25
 
26
- /* 
26
+    /* 
27 27
   * and then writes all recently updated statements to a temporary directory. The 
28 28
   * calling script ocsp_update.sh should then scp all the files to their 
29 29
   * destination.
Please login to merge, or discard this patch.
core/Psr4Autoloader.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,8 +156,8 @@
 block discarded – undo
156 156
             // replace namespace separators with directory separators
157 157
             // in the relative class name, append with .php
158 158
             $file = $base_dir
159
-                  . str_replace('\\', '/', $relative_class)
160
-                  . '.php';
159
+                    . str_replace('\\', '/', $relative_class)
160
+                    . '.php';
161 161
 
162 162
             // if the mapped file exists, require it
163 163
             if ($this->requireFile($file)) {
Please login to merge, or discard this patch.
web/lib/admin/view/MessageBox.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
      */
17 17
     private $box;
18 18
     
19
-   /**
20
-    * 
21
-    * @param string $class
22
-    */
19
+    /**
20
+     * 
21
+     * @param string $class
22
+     */
23 23
     public function __construct($class) {
24 24
         $this->box = new CompositeTag('div');
25 25
         $this->class = $class;
Please login to merge, or discard this patch.
web/lib/admin/http/AddUsersCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                     $userCount++;
33 33
                 }
34 34
             }else{
35
-                 $this->storeErrorMessage(sprintf(_('Username or expiry date missing for %s record!'), $userCount + 1));
35
+                    $this->storeErrorMessage(sprintf(_('Username or expiry date missing for %s record!'), $userCount + 1));
36 36
             }
37 37
         }
38 38
         if($userCount>0){
Please login to merge, or discard this patch.
utils/cleanup.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         if (isset($Cache[$entry])) {
42 42
             continue;
43 43
         }
44
-       \core\common\Entity::rrmdir($downloads . '/' . $entry);
44
+        \core\common\Entity::rrmdir($downloads . '/' . $entry);
45 45
         print "$entry\n";
46 46
     }
47 47
     closedir($handle);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         if ($ftime < 3600) {
57 57
             continue;
58 58
         }
59
-       \core\common\Entity::rrmdir($downloads . '/' . $entry);
59
+        \core\common\Entity::rrmdir($downloads . '/' . $entry);
60 60
         print "$entry\n";
61 61
     }
62 62
     closedir($handle);
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
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             $outString .= "# save user certificate\n";
66 66
             $outString .= 'echo "';
67 67
             $outString .= base64_encode($this->clientCert["certdata"])
68
-               . '" | base64 -d ' . " > \$HOME/$this->localDir/user.p12\n";
68
+                . '" | base64 -d ' . " > \$HOME/$this->localDir/user.p12\n";
69 69
         }
70 70
         if ($this->selectedEap == \core\common\EAP::EAPTYPE_TLS || $this->selectedEap == \core\common\EAP::EAPTYPE_SILVERBULLET) {
71 71
             $outString .= $this->printP12Dialog();
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
@@ -11,15 +11,15 @@
 block discarded – undo
11 11
 namespace devices\redirect_dev;
12 12
 
13 13
 class Device_RedirectDev extends \core\DeviceConfig {
14
-   /**
15
-    * Constructs a Device object.
16
-    *
17
-    * @final not to be redefined
18
-    */
14
+    /**
15
+     * Constructs a Device object.
16
+     *
17
+     * @final not to be redefined
18
+     */
19 19
     final public function __construct() {
20 20
         parent::__construct();
21
-      $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]);
22
-      $this->loggerInstance->debug(4,"RedirectEx called");
21
+        $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]);
22
+        $this->loggerInstance->debug(4,"RedirectEx called");
23 23
     }
24 24
     public function writeDeviceInfo() {
25 25
         $out = "<p>";
Please login to merge, or discard this patch.
core/diag/RFC6614Tests.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -246,11 +246,11 @@  discard block
 block discarded – undo
246 246
     }
247 247
 
248 248
         /**
249
-     * This function parses a X.509 cert and returns all certificatePolicies OIDs
250
-     * 
251
-     * @param array $cert (returned from openssl_x509_parse) 
252
-     * @return array of OIDs
253
-     */
249
+         * This function parses a X.509 cert and returns all certificatePolicies OIDs
250
+         * 
251
+         * @param array $cert (returned from openssl_x509_parse) 
252
+         * @return array of OIDs
253
+         */
254 254
     private function propertyCheckPolicy($cert) {
255 255
         $oids = [];
256 256
         if ($cert['extensions']['certificatePolicies']) {
@@ -263,11 +263,11 @@  discard block
 block discarded – undo
263 263
         return $oids;
264 264
     }
265 265
         /**
266
-     * This function parses a X.509 cert and returns the value of $field
267
-     * 
268
-     * @param array $cert (returned from openssl_x509_parse) 
269
-     * @return string value of the issuer field or ''
270
-     */
266
+         * This function parses a X.509 cert and returns the value of $field
267
+         * 
268
+         * @param array $cert (returned from openssl_x509_parse) 
269
+         * @return string value of the issuer field or ''
270
+         */
271 271
     private function getCertificateIssuer($cert) {
272 272
         $issuer = '';
273 273
         foreach ($cert['issuer'] as $key => $val) {
Please login to merge, or discard this patch.