Passed
Push — master ( 7a87af...d7fd99 )
by
unknown
02:17 queued 14s
created
dev/autoloader.php 1 patch
Spacing   +61 added lines, -61 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  * @return void
8 8
  */
9 9
 function mapi_load_mapidefs(?int $level): void {
10
-	return ;
10
+	return;
11 11
 }
12 12
 
13 13
 /**
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  * @param int $proptag
22 22
  * @return int|false
23 23
  */
24
-function mapi_prop_type(int $proptag): int|false {
24
+function mapi_prop_type(int $proptag): int | false {
25 25
 	return 0;
26 26
 }
27 27
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
  * @param int $proptag
30 30
  * @return int|false
31 31
  */
32
-function mapi_prop_id(int $proptag): int|false {
32
+function mapi_prop_id(int $proptag): int | false {
33 33
 	return 0;
34 34
 }
35 35
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
  * @param int $errcode
38 38
  * @return bool|false
39 39
  */
40
-function mapi_is_error(int $errcode): bool|false {
40
+function mapi_is_error(int $errcode): bool | false {
41 41
 	return false;
42 42
 }
43 43
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
  * @param int $code
47 47
  * @return int|false
48 48
  */
49
-function mapi_make_scode(int $sev, int $code): int|false {
49
+function mapi_make_scode(int $sev, int $code): int | false {
50 50
 	return 0;
51 51
 }
52 52
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
  * @param int $propid
56 56
  * @return int|false
57 57
  */
58
-function mapi_prop_tag(int $proptype, int $propid): int|false {
58
+function mapi_prop_tag(int $proptype, int $propid): int | false {
59 59
 	return 0;
60 60
 }
61 61
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
  * @param ?int $flags
67 67
  * @return string|false
68 68
  */
69
-function mapi_createoneoff(?string $displayname, string $type, string $address, ?int $flags = 0): string|false {
69
+function mapi_createoneoff(?string $displayname, string $type, string $address, ?int $flags = 0): string | false {
70 70
 	return '';
71 71
 }
72 72
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
  * @param string $entryid
75 75
  * @return array|false
76 76
  */
77
-function mapi_parseoneoff(string $entryid): array|false {
77
+function mapi_parseoneoff(string $entryid): array | false {
78 78
 	return [];
79 79
 }
80 80
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
  * @param ?string $misc_version
90 90
  * @return Resource|false
91 91
  */
92
-function mapi_logon_zarafa(string $username, string $password, ?string $server = null, ?string $sslcert = null, ?string $sslpass = null, ?int $flags = 0, ?string $wa_version = null, ?string $misc_version = null): Resource|false {
92
+function mapi_logon_zarafa(string $username, string $password, ?string $server = null, ?string $sslcert = null, ?string $sslpass = null, ?int $flags = 0, ?string $wa_version = null, ?string $misc_version = null): Resource | false {
93 93
 	return null;
94 94
 }
95 95
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
  * @param int $flags
100 100
  * @return Resource|false
101 101
  */
102
-function mapi_logon_ex(string $username, string $password, int $flags): Resource|false {
102
+function mapi_logon_ex(string $username, string $password, int $flags): Resource | false {
103 103
 	return null;
104 104
 }
105 105
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
  * @param string $token
108 108
  * @return Resource|false
109 109
  */
110
-function mapi_logon_token(string $token): Resource|false {
110
+function mapi_logon_token(string $token): Resource | false {
111 111
 	return null;
112 112
 }
113 113
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
  * @param Resource $session
116 116
  * @return Resource|false
117 117
  */
118
-function mapi_getmsgstorestable(Resource $session): Resource|false {
118
+function mapi_getmsgstorestable(Resource $session): Resource | false {
119 119
 	return null;
120 120
 }
121 121
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
  * @param string $entryid
125 125
  * @return Resource|false
126 126
  */
127
-function mapi_openmsgstore(Resource $ses, string $entryid): Resource|false {
127
+function mapi_openmsgstore(Resource $ses, string $entryid): Resource | false {
128 128
 	return null;
129 129
 }
130 130
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
  * @param string $uid
134 134
  * @return Resource|false
135 135
  */
136
-function mapi_openprofilesection(Resource $ses, string $uid): Resource|false {
136
+function mapi_openprofilesection(Resource $ses, string $uid): Resource | false {
137 137
 	return null;
138 138
 }
139 139
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
  * @param Resource $session
142 142
  * @return Resource|false
143 143
  */
144
-function mapi_openaddressbook(Resource $session): Resource|false {
144
+function mapi_openaddressbook(Resource $session): Resource | false {
145 145
 	return null;
146 146
 }
147 147
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
  * @param ?int $flags
152 152
  * @return Resource|false
153 153
  */
154
-function mapi_openentry(Resource $ses, ?string $entryid = null, ?int $flags = 0): Resource|false {
154
+function mapi_openentry(Resource $ses, ?string $entryid = null, ?int $flags = 0): Resource | false {
155 155
 	return null;
156 156
 }
157 157
 
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
  * @param ?int $flags
162 162
  * @return Resource|false
163 163
  */
164
-function mapi_ab_openentry(Resource $abk, ?string $entryid = null, ?int $flags = 0): Resource|false {
164
+function mapi_ab_openentry(Resource $abk, ?string $entryid = null, ?int $flags = 0): Resource | false {
165 165
 	return null;
166 166
 }
167 167
 
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
  * @param Resource $abk
180 180
  * @return string|false
181 181
  */
182
-function mapi_ab_getdefaultdir(Resource $abk): string|false {
182
+function mapi_ab_getdefaultdir(Resource $abk): string | false {
183 183
 	return '';
184 184
 }
185 185
 
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
  * @param string $mailbox_dn
189 189
  * @return string|false
190 190
  */
191
-function mapi_msgstore_createentryid(Resource $store, string $mailbox_dn): string|false {
191
+function mapi_msgstore_createentryid(Resource $store, string $mailbox_dn): string | false {
192 192
 	return '';
193 193
 }
194 194
 
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
  * @param ?int $flags
209 209
  * @return Resource|false
210 210
  */
211
-function mapi_msgstore_openentry(Resource $store, ?string $entryid = null, ?int $flags = 0): Resource|false {
211
+function mapi_msgstore_openentry(Resource $store, ?string $entryid = null, ?int $flags = 0): Resource | false {
212 212
 	return null;
213 213
 }
214 214
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
  * @param Resource $store
217 217
  * @return Resource|false
218 218
  */
219
-function mapi_msgstore_getreceivefolder(Resource $store): Resource|false {
219
+function mapi_msgstore_getreceivefolder(Resource $store): Resource | false {
220 220
 	return null;
221 221
 }
222 222
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
  * @param ?string $sk_msg
227 227
  * @return string|false
228 228
  */
229
-function mapi_msgstore_entryidfromsourcekey(Resource $store, string $sk_fld, ?string $sk_msg = null): string|false {
229
+function mapi_msgstore_entryidfromsourcekey(Resource $store, string $sk_fld, ?string $sk_msg = null): string | false {
230 230
 	return '';
231 231
 }
232 232
 
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
  * @param Resource $sink
238 238
  * @return int|false
239 239
  */
240
-function mapi_msgstore_advise(Resource $store, string $entryid, int $event_mask, Resource $sink): int|false {
240
+function mapi_msgstore_advise(Resource $store, string $entryid, int $event_mask, Resource $sink): int | false {
241 241
 	return 0;
242 242
 }
243 243
 
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 /**
263 263
  * @return Resource|false
264 264
  */
265
-function mapi_sink_create(): Resource|false {
265
+function mapi_sink_create(): Resource | false {
266 266
 	return null;
267 267
 }
268 268
 
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
  * @param Resource $table
301 301
  * @return int|false
302 302
  */
303
-function mapi_table_getrowcount(Resource $table): int|false {
303
+function mapi_table_getrowcount(Resource $table): int | false {
304 304
 	return 0;
305 305
 }
306 306
 
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
  * @param int $rowcount
321 321
  * @return int|false
322 322
  */
323
-function mapi_table_seekrow(Resource $table, int $bookmark, int $rowcount): int|false {
323
+function mapi_table_seekrow(Resource $table, int $bookmark, int $rowcount): int | false {
324 324
 	return 0;
325 325
 }
326 326
 
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
  * @param ?int $flags
352 352
  * @return int|false
353 353
  */
354
-function mapi_table_findrow(Resource $table, array $restrict, ?int $bookmark = 0, ?int $flags = 0): int|false {
354
+function mapi_table_findrow(Resource $table, array $restrict, ?int $bookmark = 0, ?int $flags = 0): int | false {
355 355
 	return 0;
356 356
 }
357 357
 
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
  * @param Resource $table
360 360
  * @return int|false
361 361
  */
362
-function mapi_table_createbookmark(Resource $table): int|false {
362
+function mapi_table_createbookmark(Resource $table): int | false {
363 363
 	return 0;
364 364
 }
365 365
 
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
  * @param ?int $flags
378 378
  * @return Resource|false
379 379
  */
380
-function mapi_folder_gethierarchytable(Resource $fld, ?int $flags = 0): Resource|false {
380
+function mapi_folder_gethierarchytable(Resource $fld, ?int $flags = 0): Resource | false {
381 381
 	return null;
382 382
 }
383 383
 
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
  * @param ?int $flags
387 387
  * @return Resource|false
388 388
  */
389
-function mapi_folder_getcontentstable(Resource $fld, ?int $flags = 0): Resource|false {
389
+function mapi_folder_getcontentstable(Resource $fld, ?int $flags = 0): Resource | false {
390 390
 	return null;
391 391
 }
392 392
 
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
  * @param Resource $fld
395 395
  * @return Resource|false
396 396
  */
397
-function mapi_folder_getrulestable(Resource $fld): Resource|false {
397
+function mapi_folder_getrulestable(Resource $fld): Resource | false {
398 398
 	return null;
399 399
 }
400 400
 
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
  * @param ?int $flags
404 404
  * @return Resource|false
405 405
  */
406
-function mapi_folder_createmessage(Resource $fld, ?int $flags = 0): Resource|false {
406
+function mapi_folder_createmessage(Resource $fld, ?int $flags = 0): Resource | false {
407 407
 	return null;
408 408
 }
409 409
 
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
  * @param ?int $folder_type
416 416
  * @return Resource|false
417 417
  */
418
-function mapi_folder_createfolder(Resource $fld, string $fname, ?string $comment = null, ?int $flags = 0, ?int $folder_type = 0): Resource|false {
418
+function mapi_folder_createfolder(Resource $fld, string $fname, ?string $comment = null, ?int $flags = 0, ?int $folder_type = 0): Resource | false {
419 419
 	return null;
420 420
 }
421 421
 
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
  * @param Resource $msg
516 516
  * @return Resource|false
517 517
  */
518
-function mapi_message_getattachmenttable(Resource $msg): Resource|false {
518
+function mapi_message_getattachmenttable(Resource $msg): Resource | false {
519 519
 	return null;
520 520
 }
521 521
 
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
  * @param Resource $msg
524 524
  * @return Resource|false
525 525
  */
526
-function mapi_message_getrecipienttable(Resource $msg): Resource|false {
526
+function mapi_message_getrecipienttable(Resource $msg): Resource | false {
527 527
 	return null;
528 528
 }
529 529
 
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
  * @param int $id
533 533
  * @return Resource|false
534 534
  */
535
-function mapi_message_openattach(Resource $msg, int $id): Resource|false {
535
+function mapi_message_openattach(Resource $msg, int $id): Resource | false {
536 536
 	return null;
537 537
 }
538 538
 
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
  * @param ?int $flags
542 542
  * @return Resource|false
543 543
  */
544
-function mapi_message_createattach(Resource $msg, ?int $flags = 0): Resource|false {
544
+function mapi_message_createattach(Resource $msg, ?int $flags = 0): Resource | false {
545 545
 	return null;
546 546
 }
547 547
 
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
  * @param ?string $guid
590 590
  * @return Resource|false
591 591
  */
592
-function mapi_openpropertytostream(Resource $any, int $proptag, ?int $flags = 0, ?string $guid = null): Resource|false {
592
+function mapi_openpropertytostream(Resource $any, int $proptag, ?int $flags = 0, ?string $guid = null): Resource | false {
593 593
 	return null;
594 594
 }
595 595
 
@@ -598,7 +598,7 @@  discard block
 block discarded – undo
598 598
  * @param string $data
599 599
  * @return int|false
600 600
  */
601
-function mapi_stream_write(Resource $stream, string $data): int|false {
601
+function mapi_stream_write(Resource $stream, string $data): int | false {
602 602
 	return 0;
603 603
 }
604 604
 
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
  * @param int $size
608 608
  * @return string|false
609 609
  */
610
-function mapi_stream_read(Resource $stream, int $size): string|false {
610
+function mapi_stream_read(Resource $stream, int $size): string | false {
611 611
 	return '';
612 612
 }
613 613
 
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
  * @param Resource $stream
616 616
  * @return array|false
617 617
  */
618
-function mapi_stream_stat(Resource $stream): array|false {
618
+function mapi_stream_stat(Resource $stream): array | false {
619 619
 	return [];
620 620
 }
621 621
 
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
 /**
650 650
  * @return Resource|false
651 651
  */
652
-function mapi_stream_create(): Resource|false {
652
+function mapi_stream_create(): Resource | false {
653 653
 	return null;
654 654
 }
655 655
 
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
  * @param ?int $flags
659 659
  * @return Resource|bool
660 660
  */
661
-function mapi_attach_openobj(Resource $attach, ?int $flags = 0): Resource|bool {
661
+function mapi_attach_openobj(Resource $attach, ?int $flags = 0): Resource | bool {
662 662
 	return null;
663 663
 }
664 664
 
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
  * @param int $proptag
707 707
  * @return Resource|false
708 708
  */
709
-function mapi_openproperty(Resource $any, int $proptag /* [more] */): Resource|false {
709
+function mapi_openproperty(Resource $any, int $proptag /* [more] */): Resource | false {
710 710
 	return null;
711 711
 }
712 712
 
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
  * @param ?array $names
725 725
  * @return array|false
726 726
  */
727
-function mapi_getnamesfromids(Resource $any, ?array $names = null): array|false {
727
+function mapi_getnamesfromids(Resource $any, ?array $names = null): array | false {
728 728
 	return [];
729 729
 }
730 730
 
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
  * @param ?array $guids
735 735
  * @return array|false
736 736
  */
737
-function mapi_getidsfromnames(Resource $store, array $names, ?array $guids = null): array|false {
737
+function mapi_getidsfromnames(Resource $store, array $names, ?array $guids = null): array | false {
738 738
 	return [];
739 739
 }
740 740
 
@@ -742,7 +742,7 @@  discard block
 block discarded – undo
742 742
  * @param string $data
743 743
  * @return string|false
744 744
  */
745
-function mapi_decompressrtf(string $data): string|false {
745
+function mapi_decompressrtf(string $data): string | false {
746 746
 	return '';
747 747
 }
748 748
 
@@ -751,7 +751,7 @@  discard block
 block discarded – undo
751 751
  * @param int $type
752 752
  * @return array|false
753 753
  */
754
-function mapi_zarafa_getpermissionrules(Resource $any, int $type): array|false {
754
+function mapi_zarafa_getpermissionrules(Resource $any, int $type): array | false {
755 755
 	return [];
756 756
 }
757 757
 
@@ -771,7 +771,7 @@  discard block
 block discarded – undo
771 771
  * @param int $end
772 772
  * @return array|false
773 773
  */
774
-function mapi_getuserfreebusy(Resource $ses, string $entryid, int $start, int $end): array|false {
774
+function mapi_getuserfreebusy(Resource $ses, string $entryid, int $start, int $end): array | false {
775 775
 	return [];
776 776
 }
777 777
 
@@ -782,7 +782,7 @@  discard block
 block discarded – undo
782 782
  * @param int $end
783 783
  * @return string|false
784 784
  */
785
-function mapi_getuserfreebusyical(Resource $ses, string $entryid, int $start, int $end): string|false {
785
+function mapi_getuserfreebusyical(Resource $ses, string $entryid, int $start, int $end): string | false {
786 786
 	return '';
787 787
 }
788 788
 
@@ -822,7 +822,7 @@  discard block
 block discarded – undo
822 822
  * @param Resource $r
823 823
  * @return int|false
824 824
  */
825
-function mapi_exportchanges_getchangecount(Resource $r): int|false {
825
+function mapi_exportchanges_getchangecount(Resource $r): int | false {
826 826
 	return 0;
827 827
 }
828 828
 
@@ -930,7 +930,7 @@  discard block
 block discarded – undo
930 930
  * @param object &$object
931 931
  * @return Resource|false
932 932
  */
933
-function mapi_wrap_importcontentschanges(object &$object): Resource|false {
933
+function mapi_wrap_importcontentschanges(object &$object): Resource | false {
934 934
 	return null;
935 935
 }
936 936
 
@@ -938,7 +938,7 @@  discard block
 block discarded – undo
938 938
  * @param object &$object
939 939
  * @return Resource|false
940 940
  */
941
-function mapi_wrap_importhierarchychanges(object &$object): Resource|false {
941
+function mapi_wrap_importhierarchychanges(object &$object): Resource | false {
942 942
 	return null;
943 943
 }
944 944
 
@@ -949,7 +949,7 @@  discard block
 block discarded – undo
949 949
  * @param array $opts
950 950
  * @return Resource|false
951 951
  */
952
-function mapi_inetmapi_imtoinet(Resource $ses, Resource $abk, Resource $msg, array $opts): Resource|false {
952
+function mapi_inetmapi_imtoinet(Resource $ses, Resource $abk, Resource $msg, array $opts): Resource | false {
953 953
 	return null;
954 954
 }
955 955
 
@@ -985,7 +985,7 @@  discard block
 block discarded – undo
985 985
  * @param string $ics
986 986
  * @return array|false
987 987
  */
988
-function mapi_icaltomapi2(Resource $abk, Resource $fld, string $ics): array|false {
988
+function mapi_icaltomapi2(Resource $abk, Resource $fld, string $ics): array | false {
989 989
 	return [];
990 990
 }
991 991
 
@@ -996,7 +996,7 @@  discard block
 block discarded – undo
996 996
  * @param array $opts
997 997
  * @return string|false
998 998
  */
999
-function mapi_mapitoical(Resource $ses, Resource $abk, Resource $msg, array $opts): string|false {
999
+function mapi_mapitoical(Resource $ses, Resource $abk, Resource $msg, array $opts): string | false {
1000 1000
 	return '';
1001 1001
 }
1002 1002
 
@@ -1016,7 +1016,7 @@  discard block
 block discarded – undo
1016 1016
  * @param string $vcard
1017 1017
  * @return array|false
1018 1018
  */
1019
-function mapi_vcftomapi2(Resource $fld, string $vcard): array|false {
1019
+function mapi_vcftomapi2(Resource $fld, string $vcard): array | false {
1020 1020
 	return [];
1021 1021
 }
1022 1022
 
@@ -1027,7 +1027,7 @@  discard block
 block discarded – undo
1027 1027
  * @param array $opts
1028 1028
  * @return string|false
1029 1029
  */
1030
-function mapi_mapitovcf(Resource $ses, Resource $abk, Resource $msg, array $opts): string|false {
1030
+function mapi_mapitovcf(Resource $ses, Resource $abk, Resource $msg, array $opts): string | false {
1031 1031
 	return '';
1032 1032
 }
1033 1033
 
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
  * @param string $username
1070 1070
  * @return array|false
1071 1071
  */
1072
-function nsp_getuserinfo(string $username): array|false {
1072
+function nsp_getuserinfo(string $username): array | false {
1073 1073
 	return [];
1074 1074
 }
1075 1075
 
@@ -1087,7 +1087,7 @@  discard block
 block discarded – undo
1087 1087
  * @param string $essdn
1088 1088
  * @return string|false
1089 1089
  */
1090
-function nsp_essdn_to_username(string $essdn): string|false {
1090
+function nsp_essdn_to_username(string $essdn): string | false {
1091 1091
 	return '';
1092 1092
 }
1093 1093
 
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
  * @param string $tz
1106 1106
  * @return string|false
1107 1107
  */
1108
-function mapi_ianatz_to_tzdef(string $tz): string|false {
1108
+function mapi_ianatz_to_tzdef(string $tz): string | false {
1109 1109
 	return '';
1110 1110
 }
1111 1111
 
Please login to merge, or discard this patch.