Passed
Push — master ( 513a82...0e4305 )
by Tomasz
07:13 queued 01:21
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.
devices/ms/Files/common.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1005,12 +1005,12 @@
 block discarded – undo
1005 1005
         $certUsernameLabel = WindowsCommon::sprint_nsi(_("Username:"));
1006 1006
         $certUsernameLength = strlen($certUsernameLabel);
1007 1007
         $labelLength = max($certPasswordLenght,$certUsernameLength);
1008
-  ?>
1008
+    ?>
1009 1009
   ${NSD_CreateLabel} 0 0 100% 32u "<?php WindowsCommon::echo_nsi(_("Selected file: \$Cert_file"))?>"
1010 1010
   !else
1011 1011
   <?php $certPasswordLabel = WindowsCommon::sprint_nsi(_("import password:"));
1012 1012
         $certPasswordLenght = strlen($certPasswordLabel);
1013
-  ?>
1013
+    ?>
1014 1014
   !insertmacro debug_cat 4 "Unpacking SB_cert.p12"
1015 1015
   File "SB_cert.p12"
1016 1016
   nsArray::Set Delete_files "SB_cert.p12"
Please login to merge, or discard this patch.
core/ProfileSilverbullet.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
      */
53 53
     const PRODUCTNAME = "Managed IdP";
54 54
 
55
+    /**
56
+     * @param integer $length
57
+     */
55 58
     public static function random_str(
56 59
     $length, $keyspace = '23456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
57 60
     ) {
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/view/html/Table.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     
30 30
     /**
31 31
      * 
32
-     * @return number
32
+     * @return integer
33 33
      */
34 34
     public function size(){
35 35
         return count($this->rows);
@@ -53,7 +53,6 @@  discard block
 block discarded – undo
53 53
     
54 54
     /**
55 55
      * 
56
-     * @param array $row
57 56
      */
58 57
     public function addRowArray($cells){
59 58
         $this->addRow(new Row($cells));
Please login to merge, or discard this patch.
tests/unit/web/lib/admin/view/InstitutionPageBuilderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param unknown $input
16 16
      * @param unknown $owner
17 17
      * @throws Exception
18
-     * @return mixed
18
+     * @return MockInstitution
19 19
      */
20 20
     private function valid_IdP($input, $owner){
21 21
         if ($input == 1){
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.