@@ -236,7 +236,7 @@ |
||
| 236 | 236 | self::STREAMER_VAR => "unapprovedinromapplist", |
| 237 | 237 | self::STREAMER_PROP => self::STREAMER_TYPE_SEND_EMPTY, |
| 238 | 238 | self::STREAMER_ARRAY => SYNC_PROVISION_APPNAME, |
| 239 | - ], // TODO check |
|
| 239 | + ], // TODO check |
|
| 240 | 240 | SYNC_PROVISION_APPROVEDAPPLIST => [ |
| 241 | 241 | self::STREAMER_VAR => "approvedapplist", |
| 242 | 242 | self::STREAMER_PROP => self::STREAMER_TYPE_SEND_EMPTY, |
@@ -758,7 +758,7 @@ discard block |
||
| 758 | 758 | $current['loopcount'] = 1; |
| 759 | 759 | // the MaxCount is the max number of messages exported before |
| 760 | 760 | $current['maxCount'] = $counter + (($maxItems < $queuedMessages) ? $maxItems : $queuedMessages); |
| 761 | - $loop = true; // loop mode!! |
|
| 761 | + $loop = true; // loop mode!! |
|
| 762 | 762 | } |
| 763 | 763 | } |
| 764 | 764 | elseif ($queuedMessages == 0) { |
@@ -778,7 +778,7 @@ discard block |
||
| 778 | 778 | $this->ignore_messageid = $current['potential']; |
| 779 | 779 | } |
| 780 | 780 | $current['maxCount'] = $counter + (($maxItems < $queuedMessages) ? $maxItems : $queuedMessages); |
| 781 | - $loop = true; // loop mode!! |
|
| 781 | + $loop = true; // loop mode!! |
|
| 782 | 782 | } |
| 783 | 783 | } |
| 784 | 784 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | public const UNAUTHENTICATED = 1; |
| 12 | 12 | public const UNPROVISIONED = 2; |
| 13 | 13 | public const NOACTIVESYNCCOMMAND = 3; |
| 14 | - public const WEBSERVICECOMMAND = 4; // DEPRECATED |
|
| 14 | + public const WEBSERVICECOMMAND = 4; // DEPRECATED |
|
| 15 | 15 | public const HIERARCHYCOMMAND = 5; |
| 16 | 16 | public const PLAININPUT = 6; |
| 17 | 17 | public const REQUESTHANDLER = 7; |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | if (!isset(self::$loopCounter[$name])) { |
| 35 | 35 | self::$loopCounter[$name] = 0; |
| 36 | 36 | } |
| 37 | - else { |
|
| 38 | - ++self::$loopCounter[$name]; |
|
| 37 | + else {++self::$loopCounter[$name]; |
|
| 39 | 38 | } |
| 40 | 39 | |
| 41 | 40 | if (self::$loopCounter[$name] > self::MAXLOOP) { |
@@ -450,7 +450,7 @@ discard block |
||
| 450 | 450 | return false; |
| 451 | 451 | } |
| 452 | 452 | if (null !== $this->apcuPrefix) { |
| 453 | - $file = apcu_fetch($this->apcuPrefix.$class, $hit); |
|
| 453 | + $file = apcu_fetch($this->apcuPrefix . $class, $hit); |
|
| 454 | 454 | if ($hit) { |
| 455 | 455 | return $file; |
| 456 | 456 | } |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | } |
| 465 | 465 | |
| 466 | 466 | if (null !== $this->apcuPrefix) { |
| 467 | - apcu_add($this->apcuPrefix.$class, $file); |
|
| 467 | + apcu_add($this->apcuPrefix . $class, $file); |
|
| 468 | 468 | } |
| 469 | 469 | |
| 470 | 470 | if (false === $file) { |
@@ -325,9 +325,9 @@ |
||
| 325 | 325 | foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { |
| 326 | 326 | if (isset(self::$installedByVendor[$vendorDir])) { |
| 327 | 327 | $installed[] = self::$installedByVendor[$vendorDir]; |
| 328 | - } elseif (is_file($vendorDir.'/composer/installed.php')) { |
|
| 329 | - $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; |
|
| 330 | - if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
|
| 328 | + } elseif (is_file($vendorDir . '/composer/installed.php')) { |
|
| 329 | + $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir . '/composer/installed.php'; |
|
| 330 | + if (null === self::$installed && strtr($vendorDir . '/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { |
|
| 331 | 331 | self::$installed = $installed[count($installed) - 1]; |
| 332 | 332 | } |
| 333 | 333 | } |
@@ -6,13 +6,13 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | class ComposerStaticInit153a56a781a72686b71399955d98204f |
| 8 | 8 | { |
| 9 | - public static $files = array ( |
|
| 9 | + public static $files = array( |
|
| 10 | 10 | '158e247719544c05f5e89c414f630c24' => __DIR__ . '/../..' . '/version.php', |
| 11 | 11 | 'f2969980cdf0dddd210ef5448430b9c0' => __DIR__ . '/../..' . '/lib/core/gsyncdefs.php', |
| 12 | 12 | 'd2a63a53b4a43a2bd71de0cec5c1abfb' => __DIR__ . '/../..' . '/lib/utils/compat.php', |
| 13 | 13 | ); |
| 14 | 14 | |
| 15 | - public static $classMap = array ( |
|
| 15 | + public static $classMap = array( |
|
| 16 | 16 | 'ASDevice' => __DIR__ . '/../..' . '/lib/core/asdevice.php', |
| 17 | 17 | 'AuthenticationRequiredException' => __DIR__ . '/../..' . '/lib/exceptions/authenticationrequiredexception.php', |
| 18 | 18 | 'BaseException' => '/usr/share/php-mapi/class.baseexception.php', |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | |
| 164 | 164 | public static function getInitializer(ClassLoader $loader) |
| 165 | 165 | { |
| 166 | - return \Closure::bind(function () use ($loader) { |
|
| 166 | + return \Closure::bind(function() use ($loader) { |
|
| 167 | 167 | $loader->classMap = ComposerStaticInit153a56a781a72686b71399955d98204f::$classMap; |
| 168 | 168 | |
| 169 | 169 | }, null, ClassLoader::class); |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | ], |
| 143 | 143 | ], // EXISTS OR |
| 144 | 144 | ], |
| 145 | - ]; // global OR |
|
| 145 | + ]; // global OR |
|
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | /** |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | 0x3F => "DisallowNewTimeProposal", // Since 14.0 |
| 214 | 214 | ], |
| 215 | 215 | // AirNotify |
| 216 | - 3 => [ // Code page 3 is no longer in use, however, tokens 05 through 17 have been defined. 20100501 |
|
| 216 | + 3 => [// Code page 3 is no longer in use, however, tokens 05 through 17 have been defined. 20100501 |
|
| 217 | 217 | 0x05 => "Notify", |
| 218 | 218 | 0x06 => "Notification", |
| 219 | 219 | 0x07 => "Version", |
@@ -565,7 +565,7 @@ discard block |
||
| 565 | 565 | 0x12 => "Data", // Since 14.1 |
| 566 | 566 | ], |
| 567 | 567 | // AirSyncBase |
| 568 | - 0x11 => [ // Since 12.0 |
|
| 568 | + 0x11 => [// Since 12.0 |
|
| 569 | 569 | 0x05 => "BodyPreference", |
| 570 | 570 | 0x06 => "Type", |
| 571 | 571 | 0x07 => "TruncationSize", |
@@ -608,7 +608,7 @@ discard block |
||
| 608 | 608 | 0x2D => "InstanceId", // Since 16.0 |
| 609 | 609 | ], |
| 610 | 610 | // Settings |
| 611 | - 0x12 => [ // Since 12.0 |
|
| 611 | + 0x12 => [// Since 12.0 |
|
| 612 | 612 | 0x05 => "Settings", |
| 613 | 613 | 0x06 => "Status", |
| 614 | 614 | 0x07 => "Get", |
@@ -649,7 +649,7 @@ discard block |
||
| 649 | 649 | 0x2B => "RightsManagementInformation", // Since 14.1 |
| 650 | 650 | ], |
| 651 | 651 | // DocumentLibrary |
| 652 | - 0x13 => [ // Since 12.0 |
|
| 652 | + 0x13 => [// Since 12.0 |
|
| 653 | 653 | 0x05 => "LinkId", |
| 654 | 654 | 0x06 => "DisplayName", |
| 655 | 655 | 0x07 => "IsFolder", |
@@ -660,7 +660,7 @@ discard block |
||
| 660 | 660 | 0x0C => "ContentType", |
| 661 | 661 | ], |
| 662 | 662 | // ItemOperations |
| 663 | - 0x14 => [ // Since 12.0 |
|
| 663 | + 0x14 => [// Since 12.0 |
|
| 664 | 664 | 0x05 => "ItemOperations", |
| 665 | 665 | 0x06 => "Fetch", |
| 666 | 666 | 0x07 => "Store", |
@@ -684,7 +684,7 @@ discard block |
||
| 684 | 684 | 0x19 => "MoveAlways", // Since 14.0 |
| 685 | 685 | ], |
| 686 | 686 | // ComposeMail |
| 687 | - 0x15 => [ // Since 14.0 |
|
| 687 | + 0x15 => [// Since 14.0 |
|
| 688 | 688 | 0x05 => "SendMail", |
| 689 | 689 | 0x06 => "SmartForward", |
| 690 | 690 | 0x07 => "SmartReply", |
@@ -706,7 +706,7 @@ discard block |
||
| 706 | 706 | 0x18 => "Email", // Since 16.0 |
| 707 | 707 | ], |
| 708 | 708 | // POOMMAIL2 |
| 709 | - 0x16 => [ // Since 14.0 |
|
| 709 | + 0x16 => [// Since 14.0 |
|
| 710 | 710 | 0x05 => "UmCallerId", |
| 711 | 711 | 0x06 => "UmUserNotes", |
| 712 | 712 | 0x07 => "UmAttDuration", |
@@ -727,7 +727,7 @@ discard block |
||
| 727 | 727 | 0x17 => "Send", // Since 16.0 |
| 728 | 728 | ], |
| 729 | 729 | // Notes |
| 730 | - 0x17 => [ // Since 14.0 |
|
| 730 | + 0x17 => [// Since 14.0 |
|
| 731 | 731 | 0x05 => "Subject", |
| 732 | 732 | 0x06 => "MessageClass", |
| 733 | 733 | 0x07 => "LastModifiedDate", |
@@ -735,7 +735,7 @@ discard block |
||
| 735 | 735 | 0x09 => "Category", |
| 736 | 736 | ], |
| 737 | 737 | // RightsManagement |
| 738 | - 0x18 => [ // Since 14.1 |
|
| 738 | + 0x18 => [// Since 14.1 |
|
| 739 | 739 | 0x05 => "RightsManagementSupport", |
| 740 | 740 | 0x06 => "RightsManagementTemplates", |
| 741 | 741 | 0x07 => "RightsManagementTemplate", |
@@ -758,7 +758,7 @@ discard block |
||
| 758 | 758 | 0x18 => "RemoveRightsManagementProtection", |
| 759 | 759 | ], |
| 760 | 760 | // FIND |
| 761 | - 0x19 => [ // Since 16.1 |
|
| 761 | + 0x19 => [// Since 16.1 |
|
| 762 | 762 | 0x05 => "Find", // Since 16.1 |
| 763 | 763 | 0x06 => "SearchId", // Since 16.1 |
| 764 | 764 | 0x07 => "ExecuteSearch", // Since 16.1 |