@@ -95,7 +95,7 @@ |
||
95 | 95 | 'notifier' => [ |
96 | 96 | 'info' => [ |
97 | 97 | 'files' => [ |
98 | - 'value' => "dropdown", // static notifier |
|
98 | + 'value' => "dropdown", // static notifier |
|
99 | 99 | ], |
100 | 100 | ], |
101 | 101 | ], |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * Search the backend folder for backends and register them. |
61 | 61 | */ |
62 | 62 | public function initialize() { |
63 | - $list = []; // this hold our plugin folders |
|
63 | + $list = []; // this hold our plugin folders |
|
64 | 64 | $workdir = __DIR__ . self::BACKEND_DIR; |
65 | 65 | |
66 | 66 | // Populate the list of directories to check against |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * Search the backend folder for external backends and register them. |
88 | 88 | */ |
89 | 89 | public function initializeExternal() { |
90 | - $list = []; // this hold our plugin folders |
|
90 | + $list = []; // this hold our plugin folders |
|
91 | 91 | $workdir = $this->EXTERNAL_BACKEND_DIR; |
92 | 92 | |
93 | 93 | // Populate the list of directories to check against |
@@ -191,7 +191,7 @@ |
||
191 | 191 | "fields" => $this->formFields, |
192 | 192 | "formConfig" => $this->formConfig, |
193 | 193 | ], |
194 | - "data" => [ // here we can specify the default values. |
|
194 | + "data" => [// here we can specify the default values. |
|
195 | 195 | "server_address" => "files.demo.com", |
196 | 196 | "server_port" => "80", |
197 | 197 | "server_path" => "/remote.php/webdav", |
@@ -136,7 +136,7 @@ |
||
136 | 136 | "fields" => $this->formFields, |
137 | 137 | "formConfig" => $this->formConfig, |
138 | 138 | ], |
139 | - "data" => [ // here we can specify the default values. |
|
139 | + "data" => [// here we can specify the default values. |
|
140 | 140 | "server_address" => $_SERVER['HTTP_HOST'], |
141 | 141 | "server_ssl" => true, |
142 | 142 | "server_port" => "443", |
@@ -445,7 +445,7 @@ |
||
445 | 445 | |
446 | 446 | public static function my_rsa_sha_encode($data, $key_id, $signagure_alg) { |
447 | 447 | $algos = [ |
448 | - 'sha1WithRSAEncryption' => ['alg' => 'sha1', 'oid' => '1.3.14.3.2.26'], |
|
448 | + 'sha1WithRSAEncryption' => ['alg' => 'sha1', 'oid' => '1.3.14.3.2.26'], |
|
449 | 449 | 'sha256WithRSAEncryption' => ['alg' => 'sha256', 'oid' => '2.16.840.1.101.3.4.2.1'], |
450 | 450 | 'sha384WithRSAEncryption' => ['alg' => 'sha384', 'oid' => '2.16.840.1.101.3.4.2.2'], |
451 | 451 | 'sha512WithRSAEncryption' => ['alg' => 'sha512', 'oid' => '2.16.840.1.101.3.4.2.3'], |
@@ -212,7 +212,7 @@ |
||
212 | 212 | } |
213 | 213 | |
214 | 214 | protected function name($tag = null) { |
215 | - $this->beginsequence($tag); # seq of RDN |
|
215 | + $this->beginsequence($tag); # seq of RDN |
|
216 | 216 | $res = []; |
217 | 217 | while ($this->in()) { |
218 | 218 | $parts = []; |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | if (strcspn($attvalue, "\t\r\n\0 ") !== strlen($attvalue)) { |
56 | 56 | $attvalue = str_replace( |
57 | 57 | ["\t", "\r", "\n", "\0", " "], |
58 | - ['', '', '', '', ''], |
|
58 | + ['', '', '', '', ''], |
|
59 | 59 | $attvalue |
60 | 60 | ); |
61 | 61 | } |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | "\xE2\x81\xBF", /* Shift JIS FULLWIDTH SUPERSCRIPT N */ |
123 | 123 | "\xCA\x9F", /* L UNICODE IPA Extension */ |
124 | 124 | "\xCA\x80", /* R UNICODE IPA Extension */ |
125 | - "\xC9\xB4", ], /* N UNICODE IPA Extension */ |
|
125 | + "\xC9\xB4", ], /* N UNICODE IPA Extension */ |
|
126 | 126 | ['l', 'l', 'r', 'r', 'n', 'n', |
127 | 127 | 'E', 'E', 'e', 'e', 'X', 'X', 'x', 'x', 'P', 'P', 'p', 'p', 'R', 'R', 'r', 'r', 'S', 'S', 's', 's', 'I', 'I', |
128 | 128 | 'i', 'i', 'O', 'O', 'o', 'o', 'N', 'N', 'n', 'n', 'L', 'L', 'l', 'l', 'U', 'U', 'u', 'u', 'n', 'n', |
@@ -756,7 +756,7 @@ discard block |
||
756 | 756 | $sToken = ''; |
757 | 757 | $bSucces = false; |
758 | 758 | $bEndTag = false; |
759 | - for ($i = $pos,$iCount = strlen($body); $i < $iCount; ++$i) { |
|
759 | + for ($i = $pos, $iCount = strlen($body); $i < $iCount; ++$i) { |
|
760 | 760 | $char = $body[$i]; |
761 | 761 | |
762 | 762 | switch ($char) { |
@@ -358,7 +358,7 @@ |
||
358 | 358 | |
359 | 359 | if ($themeProps['primary-color']) { |
360 | 360 | if (!$themeProps['primary-color:hover']) { |
361 | - list(, , $l) = Colors::rgb2hsl(Colors::colorString2Object($themeProps['primary-color'])); |
|
361 | + list(,, $l) = Colors::rgb2hsl(Colors::colorString2Object($themeProps['primary-color'])); |
|
362 | 362 | if ($l > 20) { |
363 | 363 | $themeProps['primary-color:hover'] = Colors::darker($themeProps['primary-color'], 10); |
364 | 364 | } |
@@ -1074,7 +1074,7 @@ discard block |
||
1074 | 1074 | // Postfix display name of every contact folder with respective owner name |
1075 | 1075 | // it is mandatory to keep display-name different |
1076 | 1076 | $userStoreProps = mapi_getprops($openedUserStore, [PR_MAILBOX_OWNER_NAME]); |
1077 | - for ($i = 0,$len = count($userContactFolders); $i < $len; ++$i) { |
|
1077 | + for ($i = 0, $len = count($userContactFolders); $i < $len; ++$i) { |
|
1078 | 1078 | $userContactFolders[$i][PR_DISPLAY_NAME] = $userContactFolders[$i][PR_DISPLAY_NAME] . " - " . $userStoreProps[PR_MAILBOX_OWNER_NAME]; |
1079 | 1079 | } |
1080 | 1080 | |
@@ -1098,7 +1098,7 @@ discard block |
||
1098 | 1098 | |
1099 | 1099 | // Create the lists of store entryids, folder entryids and folder names to be added |
1100 | 1100 | // to the profile section |
1101 | - for ($i = 0,$len = count($contactFolders); $i < $len; ++$i) { |
|
1101 | + for ($i = 0, $len = count($contactFolders); $i < $len; ++$i) { |
|
1102 | 1102 | $contact_store_entryids[] = $contactFolders[$i][PR_STORE_ENTRYID]; |
1103 | 1103 | $contact_folder_entryids[] = $contactFolders[$i][PR_ENTRYID]; |
1104 | 1104 | $contact_folder_names[] = $contactFolders[$i][PR_DISPLAY_NAME]; |