Changeset 3452915
- Timestamp:
- 02/03/2026 01:51:52 PM (7 weeks ago)
- Location:
- wschat-live-chat
- Files:
-
- 22 edited
- 1 copied
-
tags/3.1.8 (copied) (copied from wschat-live-chat/trunk)
-
tags/3.1.8/readme.txt (modified) (3 diffs)
-
tags/3.1.8/vendor/autoload.php (modified) (1 diff)
-
tags/3.1.8/vendor/bin/carbon (modified) (1 diff)
-
tags/3.1.8/vendor/composer/ClassLoader.php (modified) (25 diffs)
-
tags/3.1.8/vendor/composer/InstalledVersions.php (modified) (6 diffs)
-
tags/3.1.8/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
tags/3.1.8/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/3.1.8/vendor/composer/autoload_static.php (modified) (7 diffs)
-
tags/3.1.8/vendor/composer/installed.php (modified) (2 diffs)
-
tags/3.1.8/vendor/composer/platform_check.php (modified) (1 diff)
-
tags/3.1.8/wschat.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/bin/carbon (modified) (1 diff)
-
trunk/vendor/composer/ClassLoader.php (modified) (25 diffs)
-
trunk/vendor/composer/InstalledVersions.php (modified) (6 diffs)
-
trunk/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (7 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/wschat.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wschat-live-chat/tags/3.1.8/readme.txt
r3395773 r3452915 4 4 Tags: live chat, chat, wordpress chat, chat plugin, live support 5 5 Requires at least: 4.3 6 Tested up to: 6. 87 Stable tag: 3.1. 76 Tested up to: 6.9 7 Stable tag: 3.1.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 == Changelog == 94 94 95 = 3.1.8 = 96 * Made compatible with WordPress 6.9 97 95 98 = 3.1.7 = 99 * Fixed vulnerability issues 100 101 = 3.1.6 = 96 102 * Code cleanup and Improvement. 97 103 … … 153 159 == Upgrade notice == 154 160 161 = 3.1.8 = 162 * Made compatible with WordPress 6.9 163 155 164 = 3.1.7 = 165 * Fixed vulnerability issues 166 167 = 3.1.6 = 156 168 * Code cleanup and Improvement. 157 169 -
wschat-live-chat/tags/3.1.8/vendor/autoload.php
r3395773 r3452915 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 23 20 require_once __DIR__ . '/composer/autoload_real.php'; 24 21 25 return ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa0::getLoader();22 return ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a::getLoader(); -
wschat-live-chat/tags/3.1.8/vendor/bin/carbon
r3094643 r3452915 113 113 || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) 114 114 ) { 115 include("phpvfscomposer://" . __DIR__ . '/..'.'/nesbot/carbon/bin/carbon'); 116 exit(0); 115 return include("phpvfscomposer://" . __DIR__ . '/..'.'/nesbot/carbon/bin/carbon'); 117 116 } 118 117 } 119 118 120 include __DIR__ . '/..'.'/nesbot/carbon/bin/carbon';119 return include __DIR__ . '/..'.'/nesbot/carbon/bin/carbon'; -
wschat-live-chat/tags/3.1.8/vendor/composer/ClassLoader.php
r3094643 r3452915 43 43 class ClassLoader 44 44 { 45 /** @var ?string */ 45 /** @var \Closure(string):void */ 46 private static $includeFile; 47 48 /** @var string|null */ 46 49 private $vendorDir; 47 50 48 51 // PSR-4 49 52 /** 50 * @var array[] 51 * @psalm-var array<string, array<string, int>> 53 * @var array<string, array<string, int>> 52 54 */ 53 55 private $prefixLengthsPsr4 = array(); 54 56 /** 55 * @var array[] 56 * @psalm-var array<string, array<int, string>> 57 * @var array<string, list<string>> 57 58 */ 58 59 private $prefixDirsPsr4 = array(); 59 60 /** 60 * @var array[] 61 * @psalm-var array<string, string> 61 * @var list<string> 62 62 */ 63 63 private $fallbackDirsPsr4 = array(); … … 65 65 // PSR-0 66 66 /** 67 * @var array[] 68 * @psalm-var array<string, array<string, string[]>> 67 * List of PSR-0 prefixes 68 * 69 * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) 70 * 71 * @var array<string, array<string, list<string>>> 69 72 */ 70 73 private $prefixesPsr0 = array(); 71 74 /** 72 * @var array[] 73 * @psalm-var array<string, string> 75 * @var list<string> 74 76 */ 75 77 private $fallbackDirsPsr0 = array(); … … 79 81 80 82 /** 81 * @var string[] 82 * @psalm-var array<string, string> 83 * @var array<string, string> 83 84 */ 84 85 private $classMap = array(); … … 88 89 89 90 /** 90 * @var bool[] 91 * @psalm-var array<string, bool> 91 * @var array<string, bool> 92 92 */ 93 93 private $missingClasses = array(); 94 94 95 /** @var ?string*/95 /** @var string|null */ 96 96 private $apcuPrefix; 97 97 98 98 /** 99 * @var self[]99 * @var array<string, self> 100 100 */ 101 101 private static $registeredLoaders = array(); 102 102 103 103 /** 104 * @param ?string$vendorDir104 * @param string|null $vendorDir 105 105 */ 106 106 public function __construct($vendorDir = null) 107 107 { 108 108 $this->vendorDir = $vendorDir; 109 } 110 111 /** 112 * @return string[] 109 self::initializeIncludeClosure(); 110 } 111 112 /** 113 * @return array<string, list<string>> 113 114 */ 114 115 public function getPrefixes() … … 122 123 123 124 /** 124 * @return array[] 125 * @psalm-return array<string, array<int, string>> 125 * @return array<string, list<string>> 126 126 */ 127 127 public function getPrefixesPsr4() … … 131 131 132 132 /** 133 * @return array[] 134 * @psalm-return array<string, string> 133 * @return list<string> 135 134 */ 136 135 public function getFallbackDirs() … … 140 139 141 140 /** 142 * @return array[] 143 * @psalm-return array<string, string> 141 * @return list<string> 144 142 */ 145 143 public function getFallbackDirsPsr4() … … 149 147 150 148 /** 151 * @return string[] Array of classname => path 152 * @psalm-return array<string, string> 149 * @return array<string, string> Array of classname => path 153 150 */ 154 151 public function getClassMap() … … 158 155 159 156 /** 160 * @param string[] $classMap Class to filename map 161 * @psalm-param array<string, string> $classMap 157 * @param array<string, string> $classMap Class to filename map 162 158 * 163 159 * @return void … … 176 172 * appending or prepending to the ones previously set for this prefix. 177 173 * 178 * @param string $prefix The prefix179 * @param string[]|string $paths The PSR-0 root directories180 * @param bool $prepend Whether to prepend the directories174 * @param string $prefix The prefix 175 * @param list<string>|string $paths The PSR-0 root directories 176 * @param bool $prepend Whether to prepend the directories 181 177 * 182 178 * @return void … … 184 180 public function add($prefix, $paths, $prepend = false) 185 181 { 182 $paths = (array) $paths; 186 183 if (!$prefix) { 187 184 if ($prepend) { 188 185 $this->fallbackDirsPsr0 = array_merge( 189 (array)$paths,186 $paths, 190 187 $this->fallbackDirsPsr0 191 188 ); … … 193 190 $this->fallbackDirsPsr0 = array_merge( 194 191 $this->fallbackDirsPsr0, 195 (array)$paths192 $paths 196 193 ); 197 194 } … … 202 199 $first = $prefix[0]; 203 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 204 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 205 202 206 203 return; … … 208 205 if ($prepend) { 209 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 210 (array)$paths,207 $paths, 211 208 $this->prefixesPsr0[$first][$prefix] 212 209 ); … … 214 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 215 212 $this->prefixesPsr0[$first][$prefix], 216 (array)$paths213 $paths 217 214 ); 218 215 } … … 223 220 * appending or prepending to the ones previously set for this namespace. 224 221 * 225 * @param string $prefix The prefix/namespace, with trailing '\\'226 * @param string[]|string $paths The PSR-4 base directories227 * @param bool $prepend Whether to prepend the directories222 * @param string $prefix The prefix/namespace, with trailing '\\' 223 * @param list<string>|string $paths The PSR-4 base directories 224 * @param bool $prepend Whether to prepend the directories 228 225 * 229 226 * @throws \InvalidArgumentException … … 233 230 public function addPsr4($prefix, $paths, $prepend = false) 234 231 { 232 $paths = (array) $paths; 235 233 if (!$prefix) { 236 234 // Register directories for the root namespace. 237 235 if ($prepend) { 238 236 $this->fallbackDirsPsr4 = array_merge( 239 (array)$paths,237 $paths, 240 238 $this->fallbackDirsPsr4 241 239 ); … … 243 241 $this->fallbackDirsPsr4 = array_merge( 244 242 $this->fallbackDirsPsr4, 245 (array)$paths243 $paths 246 244 ); 247 245 } … … 253 251 } 254 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 255 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 256 254 } elseif ($prepend) { 257 255 // Prepend directories for an already registered namespace. 258 256 $this->prefixDirsPsr4[$prefix] = array_merge( 259 (array)$paths,257 $paths, 260 258 $this->prefixDirsPsr4[$prefix] 261 259 ); … … 264 262 $this->prefixDirsPsr4[$prefix] = array_merge( 265 263 $this->prefixDirsPsr4[$prefix], 266 (array)$paths264 $paths 267 265 ); 268 266 } … … 273 271 * replacing any others previously set for this prefix. 274 272 * 275 * @param string $prefix The prefix276 * @param string[]|string $paths The PSR-0 base directories273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 277 275 * 278 276 * @return void … … 291 289 * replacing any others previously set for this namespace. 292 290 * 293 * @param string $prefix The prefix/namespace, with trailing '\\'294 * @param string[]|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 295 293 * 296 294 * @throws \InvalidArgumentException … … 426 424 { 427 425 if ($file = $this->findFile($class)) { 428 includeFile($file); 426 $includeFile = self::$includeFile; 427 $includeFile($file); 429 428 430 429 return true; … … 477 476 478 477 /** 479 * Returns the currently registered loaders indexed by their corresponding vendor directories.480 * 481 * @return self[]478 * Returns the currently registered loaders keyed by their corresponding vendor directories. 479 * 480 * @return array<string, self> 482 481 */ 483 482 public static function getRegisteredLoaders() … … 556 555 return false; 557 556 } 557 558 /** 559 * @return void 560 */ 561 private static function initializeIncludeClosure() 562 { 563 if (self::$includeFile !== null) { 564 return; 565 } 566 567 /** 568 * Scope isolated include. 569 * 570 * Prevents access to $this/self from included files. 571 * 572 * @param string $file 573 * @return void 574 */ 575 self::$includeFile = \Closure::bind(static function($file) { 576 include $file; 577 }, null, null); 578 } 558 579 } 559 560 /**561 * Scope isolated include.562 *563 * Prevents access to $this/self from included files.564 *565 * @param string $file566 * @return void567 * @private568 */569 function includeFile($file)570 {571 include $file;572 } -
wschat-live-chat/tags/3.1.8/vendor/composer/InstalledVersions.php
r3094643 r3452915 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 99 110 foreach (self::getInstalled() as $installed) { 100 111 if (isset($installed['versions'][$packageName])) { 101 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);112 return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; 102 113 } 103 114 } … … 120 131 public static function satisfies(VersionParser $parser, $packageName, $constraint) 121 132 { 122 $constraint = $parser->parseConstraints( $constraint);133 $constraint = $parser->parseConstraints((string) $constraint); 123 134 $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 124 135 … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; 330 362 } elseif (is_file($vendorDir.'/composer/installed.php')) { 331 $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; 332 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 333 self::$installed = $installed[count($installed) - 1]; 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 364 $required = require $vendorDir.'/composer/installed.php'; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 334 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 335 374 } 336 375 } … … 341 380 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 342 381 if (substr(__DIR__, -8, 1) !== 'C') { 343 self::$installed = require __DIR__ . '/installed.php'; 382 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 383 $required = require __DIR__ . '/installed.php'; 384 self::$installed = $required; 344 385 } else { 345 386 self::$installed = array(); 346 387 } 347 388 } 348 $installed[] = self::$installed; 389 390 if (self::$installed !== array() && !$copiedLocalDir) { 391 $installed[] = self::$installed; 392 } 349 393 350 394 return $installed; -
wschat-live-chat/tags/3.1.8/vendor/composer/autoload_psr4.php
r3313283 r3452915 18 18 'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'), 19 19 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), 20 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- message/src', $vendorDir . '/psr/http-factory/src'),20 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 21 21 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 22 22 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), 23 23 'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), 24 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/ macroable', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/support'),24 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/support', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/macroable'), 25 25 'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'), 26 26 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), -
wschat-live-chat/tags/3.1.8/vendor/composer/autoload_real.php
r3395773 r3452915 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa05 class ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa0', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa0', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit6a932a337571d9c9081ba7062921a12a::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInitce184c7063177f4e01f76ab5b7765fa0::$files; 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequirece184c7063177f4e01f76ab5b7765fa0($fileIdentifier, $file); 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$files; 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 39 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 40 41 require $file; 42 } 43 }, null, null); 44 foreach ($filesToLoad as $fileIdentifier => $file) { 45 $requireFile($fileIdentifier, $file); 39 46 } 40 47 … … 42 49 } 43 50 } 44 45 /**46 * @param string $fileIdentifier47 * @param string $file48 * @return void49 */50 function composerRequirece184c7063177f4e01f76ab5b7765fa0($fileIdentifier, $file)51 {52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {53 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;54 55 require $file;56 }57 } -
wschat-live-chat/tags/3.1.8/vendor/composer/autoload_static.php
r3395773 r3452915 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa07 class ComposerStaticInit6a932a337571d9c9081ba7062921a12a 8 8 { 9 9 public static $files = array ( … … 20 20 21 21 public static $prefixLengthsPsr4 = array ( 22 'v' => 22 'v' => 23 23 array ( 24 24 'voku\\' => 5, 25 25 ), 26 'W' => 26 'W' => 27 27 array ( 28 28 'WSChat\\' => 7, 29 29 ), 30 'T' => 30 'T' => 31 31 array ( 32 32 'Twilio\\' => 7, 33 33 ), 34 'S' => 34 'S' => 35 35 array ( 36 36 'Symfony\\Polyfill\\Php80\\' => 23, … … 40 40 'Sinergi\\BrowserDetector\\' => 24, 41 41 ), 42 'P' => 42 'P' => 43 43 array ( 44 44 'Pusher\\' => 7, … … 50 50 'Psr\\Cache\\' => 10, 51 51 ), 52 'I' => 52 'I' => 53 53 array ( 54 54 'Illuminate\\Support\\' => 19, 55 55 'Illuminate\\Contracts\\' => 21, 56 56 ), 57 'G' => 57 'G' => 58 58 array ( 59 59 'GuzzleHttp\\Psr7\\' => 16, … … 84 84 'GPBMetadata\\ApiCore\\' => 20, 85 85 ), 86 'F' => 86 'F' => 87 87 array ( 88 88 'Firebase\\JWT\\' => 13, 89 89 ), 90 'D' => 90 'D' => 91 91 array ( 92 92 'Doctrine\\Inflector\\' => 19, 93 93 ), 94 'C' => 94 'C' => 95 95 array ( 96 96 'Carbon\\' => 7, … … 99 99 100 100 public static $prefixDirsPsr4 = array ( 101 'voku\\' => 101 'voku\\' => 102 102 array ( 103 103 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', 104 104 ), 105 'WSChat\\' => 105 'WSChat\\' => 106 106 array ( 107 107 0 => __DIR__ . '/../..' . '/src', 108 108 ), 109 'Twilio\\' => 109 'Twilio\\' => 110 110 array ( 111 111 0 => __DIR__ . '/..' . '/twilio/sdk/src/Twilio', 112 112 ), 113 'Symfony\\Polyfill\\Php80\\' => 113 'Symfony\\Polyfill\\Php80\\' => 114 114 array ( 115 115 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', 116 116 ), 117 'Symfony\\Polyfill\\Mbstring\\' => 117 'Symfony\\Polyfill\\Mbstring\\' => 118 118 array ( 119 119 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', 120 120 ), 121 'Symfony\\Contracts\\Translation\\' => 121 'Symfony\\Contracts\\Translation\\' => 122 122 array ( 123 123 0 => __DIR__ . '/..' . '/symfony/translation-contracts', 124 124 ), 125 'Symfony\\Component\\Translation\\' => 125 'Symfony\\Component\\Translation\\' => 126 126 array ( 127 127 0 => __DIR__ . '/..' . '/symfony/translation', 128 128 ), 129 'Sinergi\\BrowserDetector\\' => 129 'Sinergi\\BrowserDetector\\' => 130 130 array ( 131 131 0 => __DIR__ . '/..' . '/sinergi/browser-detector/src', 132 132 ), 133 'Pusher\\' => 133 'Pusher\\' => 134 134 array ( 135 135 0 => __DIR__ . '/..' . '/pusher/pusher-php-server/src', 136 136 ), 137 'Psr\\SimpleCache\\' => 137 'Psr\\SimpleCache\\' => 138 138 array ( 139 139 0 => __DIR__ . '/..' . '/psr/simple-cache/src', 140 140 ), 141 'Psr\\Log\\' => 141 'Psr\\Log\\' => 142 142 array ( 143 143 0 => __DIR__ . '/..' . '/psr/log/Psr/Log', 144 144 ), 145 'Psr\\Http\\Message\\' => 146 array ( 147 0 => __DIR__ . '/..' . '/psr/http- message/src',148 1 => __DIR__ . '/..' . '/psr/http- factory/src',149 ), 150 'Psr\\Http\\Client\\' => 145 'Psr\\Http\\Message\\' => 146 array ( 147 0 => __DIR__ . '/..' . '/psr/http-factory/src', 148 1 => __DIR__ . '/..' . '/psr/http-message/src', 149 ), 150 'Psr\\Http\\Client\\' => 151 151 array ( 152 152 0 => __DIR__ . '/..' . '/psr/http-client/src', 153 153 ), 154 'Psr\\Container\\' => 154 'Psr\\Container\\' => 155 155 array ( 156 156 0 => __DIR__ . '/..' . '/psr/container/src', 157 157 ), 158 'Psr\\Cache\\' => 158 'Psr\\Cache\\' => 159 159 array ( 160 160 0 => __DIR__ . '/..' . '/psr/cache/src', 161 161 ), 162 'Illuminate\\Support\\' => 163 array ( 164 0 => __DIR__ . '/..' . '/illuminate/ macroable',162 'Illuminate\\Support\\' => 163 array ( 164 0 => __DIR__ . '/..' . '/illuminate/support', 165 165 1 => __DIR__ . '/..' . '/illuminate/collections', 166 2 => __DIR__ . '/..' . '/illuminate/ support',167 ), 168 'Illuminate\\Contracts\\' => 166 2 => __DIR__ . '/..' . '/illuminate/macroable', 167 ), 168 'Illuminate\\Contracts\\' => 169 169 array ( 170 170 0 => __DIR__ . '/..' . '/illuminate/contracts', 171 171 ), 172 'GuzzleHttp\\Psr7\\' => 172 'GuzzleHttp\\Psr7\\' => 173 173 array ( 174 174 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', 175 175 ), 176 'GuzzleHttp\\Promise\\' => 176 'GuzzleHttp\\Promise\\' => 177 177 array ( 178 178 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', 179 179 ), 180 'GuzzleHttp\\' => 180 'GuzzleHttp\\' => 181 181 array ( 182 182 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', 183 183 ), 184 'Grpc\\Gcp\\' => 184 'Grpc\\Gcp\\' => 185 185 array ( 186 186 0 => __DIR__ . '/..' . '/google/grpc-gcp/src', 187 187 ), 188 'Grpc\\' => 188 'Grpc\\' => 189 189 array ( 190 190 0 => __DIR__ . '/..' . '/grpc/grpc/src/lib', 191 191 ), 192 'Google\\Type\\' => 192 'Google\\Type\\' => 193 193 array ( 194 194 0 => __DIR__ . '/..' . '/google/common-protos/src/Type', 195 195 ), 196 'Google\\Rpc\\' => 196 'Google\\Rpc\\' => 197 197 array ( 198 198 0 => __DIR__ . '/..' . '/google/common-protos/src/Rpc', 199 199 ), 200 'Google\\Protobuf\\' => 200 'Google\\Protobuf\\' => 201 201 array ( 202 202 0 => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf', 203 203 ), 204 'Google\\LongRunning\\' => 204 'Google\\LongRunning\\' => 205 205 array ( 206 206 0 => __DIR__ . '/..' . '/google/longrunning/src/LongRunning', 207 207 ), 208 'Google\\Iam\\' => 208 'Google\\Iam\\' => 209 209 array ( 210 210 0 => __DIR__ . '/..' . '/google/common-protos/src/Iam', 211 211 ), 212 'Google\\Cloud\\Dialogflow\\' => 212 'Google\\Cloud\\Dialogflow\\' => 213 213 array ( 214 214 0 => __DIR__ . '/..' . '/google/cloud-dialogflow/src', 215 215 ), 216 'Google\\Cloud\\' => 216 'Google\\Cloud\\' => 217 217 array ( 218 218 0 => __DIR__ . '/..' . '/google/common-protos/src/Cloud', 219 219 ), 220 'Google\\Auth\\' => 220 'Google\\Auth\\' => 221 221 array ( 222 222 0 => __DIR__ . '/..' . '/google/auth/src', 223 223 ), 224 'Google\\Api\\' => 224 'Google\\Api\\' => 225 225 array ( 226 226 0 => __DIR__ . '/..' . '/google/common-protos/src/Api', 227 227 ), 228 'Google\\ApiCore\\LongRunning\\' => 228 'Google\\ApiCore\\LongRunning\\' => 229 229 array ( 230 230 0 => __DIR__ . '/..' . '/google/longrunning/src/ApiCore/LongRunning', 231 231 ), 232 'Google\\ApiCore\\' => 232 'Google\\ApiCore\\' => 233 233 array ( 234 234 0 => __DIR__ . '/..' . '/google/gax/src', 235 235 ), 236 'GPBMetadata\\Google\\Type\\' => 236 'GPBMetadata\\Google\\Type\\' => 237 237 array ( 238 238 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Type', 239 239 ), 240 'GPBMetadata\\Google\\Rpc\\' => 240 'GPBMetadata\\Google\\Rpc\\' => 241 241 array ( 242 242 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Rpc', 243 243 ), 244 'GPBMetadata\\Google\\Protobuf\\' => 244 'GPBMetadata\\Google\\Protobuf\\' => 245 245 array ( 246 246 0 => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf', 247 247 ), 248 'GPBMetadata\\Google\\Longrunning\\' => 248 'GPBMetadata\\Google\\Longrunning\\' => 249 249 array ( 250 250 0 => __DIR__ . '/..' . '/google/longrunning/metadata/Longrunning', 251 251 ), 252 'GPBMetadata\\Google\\Logging\\' => 252 'GPBMetadata\\Google\\Logging\\' => 253 253 array ( 254 254 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Logging', 255 255 ), 256 'GPBMetadata\\Google\\Iam\\' => 256 'GPBMetadata\\Google\\Iam\\' => 257 257 array ( 258 258 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Iam', 259 259 ), 260 'GPBMetadata\\Google\\Cloud\\Dialogflow\\' => 260 'GPBMetadata\\Google\\Cloud\\Dialogflow\\' => 261 261 array ( 262 262 0 => __DIR__ . '/..' . '/google/cloud-dialogflow/metadata', 263 263 ), 264 'GPBMetadata\\Google\\Cloud\\' => 264 'GPBMetadata\\Google\\Cloud\\' => 265 265 array ( 266 266 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Cloud', 267 267 ), 268 'GPBMetadata\\Google\\Api\\' => 268 'GPBMetadata\\Google\\Api\\' => 269 269 array ( 270 270 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Api', 271 271 ), 272 'GPBMetadata\\ApiCore\\' => 272 'GPBMetadata\\ApiCore\\' => 273 273 array ( 274 274 0 => __DIR__ . '/..' . '/google/gax/metadata/ApiCore', 275 275 ), 276 'Firebase\\JWT\\' => 276 'Firebase\\JWT\\' => 277 277 array ( 278 278 0 => __DIR__ . '/..' . '/firebase/php-jwt/src', 279 279 ), 280 'Doctrine\\Inflector\\' => 280 'Doctrine\\Inflector\\' => 281 281 array ( 282 282 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', 283 283 ), 284 'Carbon\\' => 284 'Carbon\\' => 285 285 array ( 286 286 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', … … 306 306 { 307 307 return \Closure::bind(function () use ($loader) { 308 $loader->prefixLengthsPsr4 = ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::$prefixLengthsPsr4;309 $loader->prefixDirsPsr4 = ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::$prefixDirsPsr4;310 $loader->classMap = ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::$classMap;308 $loader->prefixLengthsPsr4 = ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$prefixLengthsPsr4; 309 $loader->prefixDirsPsr4 = ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$prefixDirsPsr4; 310 $loader->classMap = ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$classMap; 311 311 312 312 }, null, ClassLoader::class); -
wschat-live-chat/tags/3.1.8/vendor/composer/installed.php
r3395773 r3452915 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' e9eebf54c5bebbdabe7a82d276fbe8100bb49eff',6 'reference' => 'd34e0bab49877b049c2afb46d20892245946b21a', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-master', 24 24 'version' => 'dev-master', 25 'reference' => ' e9eebf54c5bebbdabe7a82d276fbe8100bb49eff',25 'reference' => 'd34e0bab49877b049c2afb46d20892245946b21a', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../', -
wschat-live-chat/tags/3.1.8/vendor/composer/platform_check.php
r2974794 r3452915 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
wschat-live-chat/tags/3.1.8/wschat.php
r3395773 r3452915 4 4 * Plugin URI: https://elextensions.com/plugin/wschat-wordpress-live-chat-plugin/ 5 5 * Description: Let's you connect to your customers in real-time. 6 * Version: 3.1. 76 * Version: 3.1.8 7 7 * Requires PHP: 7.1.3 8 8 * WC requires at least: 3.0.0 -
wschat-live-chat/trunk/readme.txt
r3395773 r3452915 4 4 Tags: live chat, chat, wordpress chat, chat plugin, live support 5 5 Requires at least: 4.3 6 Tested up to: 6. 87 Stable tag: 3.1. 76 Tested up to: 6.9 7 Stable tag: 3.1.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 == Changelog == 94 94 95 = 3.1.8 = 96 * Made compatible with WordPress 6.9 97 95 98 = 3.1.7 = 99 * Fixed vulnerability issues 100 101 = 3.1.6 = 96 102 * Code cleanup and Improvement. 97 103 … … 153 159 == Upgrade notice == 154 160 161 = 3.1.8 = 162 * Made compatible with WordPress 6.9 163 155 164 = 3.1.7 = 165 * Fixed vulnerability issues 166 167 = 3.1.6 = 156 168 * Code cleanup and Improvement. 157 169 -
wschat-live-chat/trunk/vendor/autoload.php
r3395773 r3452915 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 23 20 require_once __DIR__ . '/composer/autoload_real.php'; 24 21 25 return ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa0::getLoader();22 return ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a::getLoader(); -
wschat-live-chat/trunk/vendor/bin/carbon
r3094643 r3452915 113 113 || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) 114 114 ) { 115 include("phpvfscomposer://" . __DIR__ . '/..'.'/nesbot/carbon/bin/carbon'); 116 exit(0); 115 return include("phpvfscomposer://" . __DIR__ . '/..'.'/nesbot/carbon/bin/carbon'); 117 116 } 118 117 } 119 118 120 include __DIR__ . '/..'.'/nesbot/carbon/bin/carbon';119 return include __DIR__ . '/..'.'/nesbot/carbon/bin/carbon'; -
wschat-live-chat/trunk/vendor/composer/ClassLoader.php
r3094643 r3452915 43 43 class ClassLoader 44 44 { 45 /** @var ?string */ 45 /** @var \Closure(string):void */ 46 private static $includeFile; 47 48 /** @var string|null */ 46 49 private $vendorDir; 47 50 48 51 // PSR-4 49 52 /** 50 * @var array[] 51 * @psalm-var array<string, array<string, int>> 53 * @var array<string, array<string, int>> 52 54 */ 53 55 private $prefixLengthsPsr4 = array(); 54 56 /** 55 * @var array[] 56 * @psalm-var array<string, array<int, string>> 57 * @var array<string, list<string>> 57 58 */ 58 59 private $prefixDirsPsr4 = array(); 59 60 /** 60 * @var array[] 61 * @psalm-var array<string, string> 61 * @var list<string> 62 62 */ 63 63 private $fallbackDirsPsr4 = array(); … … 65 65 // PSR-0 66 66 /** 67 * @var array[] 68 * @psalm-var array<string, array<string, string[]>> 67 * List of PSR-0 prefixes 68 * 69 * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) 70 * 71 * @var array<string, array<string, list<string>>> 69 72 */ 70 73 private $prefixesPsr0 = array(); 71 74 /** 72 * @var array[] 73 * @psalm-var array<string, string> 75 * @var list<string> 74 76 */ 75 77 private $fallbackDirsPsr0 = array(); … … 79 81 80 82 /** 81 * @var string[] 82 * @psalm-var array<string, string> 83 * @var array<string, string> 83 84 */ 84 85 private $classMap = array(); … … 88 89 89 90 /** 90 * @var bool[] 91 * @psalm-var array<string, bool> 91 * @var array<string, bool> 92 92 */ 93 93 private $missingClasses = array(); 94 94 95 /** @var ?string*/95 /** @var string|null */ 96 96 private $apcuPrefix; 97 97 98 98 /** 99 * @var self[]99 * @var array<string, self> 100 100 */ 101 101 private static $registeredLoaders = array(); 102 102 103 103 /** 104 * @param ?string$vendorDir104 * @param string|null $vendorDir 105 105 */ 106 106 public function __construct($vendorDir = null) 107 107 { 108 108 $this->vendorDir = $vendorDir; 109 } 110 111 /** 112 * @return string[] 109 self::initializeIncludeClosure(); 110 } 111 112 /** 113 * @return array<string, list<string>> 113 114 */ 114 115 public function getPrefixes() … … 122 123 123 124 /** 124 * @return array[] 125 * @psalm-return array<string, array<int, string>> 125 * @return array<string, list<string>> 126 126 */ 127 127 public function getPrefixesPsr4() … … 131 131 132 132 /** 133 * @return array[] 134 * @psalm-return array<string, string> 133 * @return list<string> 135 134 */ 136 135 public function getFallbackDirs() … … 140 139 141 140 /** 142 * @return array[] 143 * @psalm-return array<string, string> 141 * @return list<string> 144 142 */ 145 143 public function getFallbackDirsPsr4() … … 149 147 150 148 /** 151 * @return string[] Array of classname => path 152 * @psalm-return array<string, string> 149 * @return array<string, string> Array of classname => path 153 150 */ 154 151 public function getClassMap() … … 158 155 159 156 /** 160 * @param string[] $classMap Class to filename map 161 * @psalm-param array<string, string> $classMap 157 * @param array<string, string> $classMap Class to filename map 162 158 * 163 159 * @return void … … 176 172 * appending or prepending to the ones previously set for this prefix. 177 173 * 178 * @param string $prefix The prefix179 * @param string[]|string $paths The PSR-0 root directories180 * @param bool $prepend Whether to prepend the directories174 * @param string $prefix The prefix 175 * @param list<string>|string $paths The PSR-0 root directories 176 * @param bool $prepend Whether to prepend the directories 181 177 * 182 178 * @return void … … 184 180 public function add($prefix, $paths, $prepend = false) 185 181 { 182 $paths = (array) $paths; 186 183 if (!$prefix) { 187 184 if ($prepend) { 188 185 $this->fallbackDirsPsr0 = array_merge( 189 (array)$paths,186 $paths, 190 187 $this->fallbackDirsPsr0 191 188 ); … … 193 190 $this->fallbackDirsPsr0 = array_merge( 194 191 $this->fallbackDirsPsr0, 195 (array)$paths192 $paths 196 193 ); 197 194 } … … 202 199 $first = $prefix[0]; 203 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 204 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 205 202 206 203 return; … … 208 205 if ($prepend) { 209 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 210 (array)$paths,207 $paths, 211 208 $this->prefixesPsr0[$first][$prefix] 212 209 ); … … 214 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 215 212 $this->prefixesPsr0[$first][$prefix], 216 (array)$paths213 $paths 217 214 ); 218 215 } … … 223 220 * appending or prepending to the ones previously set for this namespace. 224 221 * 225 * @param string $prefix The prefix/namespace, with trailing '\\'226 * @param string[]|string $paths The PSR-4 base directories227 * @param bool $prepend Whether to prepend the directories222 * @param string $prefix The prefix/namespace, with trailing '\\' 223 * @param list<string>|string $paths The PSR-4 base directories 224 * @param bool $prepend Whether to prepend the directories 228 225 * 229 226 * @throws \InvalidArgumentException … … 233 230 public function addPsr4($prefix, $paths, $prepend = false) 234 231 { 232 $paths = (array) $paths; 235 233 if (!$prefix) { 236 234 // Register directories for the root namespace. 237 235 if ($prepend) { 238 236 $this->fallbackDirsPsr4 = array_merge( 239 (array)$paths,237 $paths, 240 238 $this->fallbackDirsPsr4 241 239 ); … … 243 241 $this->fallbackDirsPsr4 = array_merge( 244 242 $this->fallbackDirsPsr4, 245 (array)$paths243 $paths 246 244 ); 247 245 } … … 253 251 } 254 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 255 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 256 254 } elseif ($prepend) { 257 255 // Prepend directories for an already registered namespace. 258 256 $this->prefixDirsPsr4[$prefix] = array_merge( 259 (array)$paths,257 $paths, 260 258 $this->prefixDirsPsr4[$prefix] 261 259 ); … … 264 262 $this->prefixDirsPsr4[$prefix] = array_merge( 265 263 $this->prefixDirsPsr4[$prefix], 266 (array)$paths264 $paths 267 265 ); 268 266 } … … 273 271 * replacing any others previously set for this prefix. 274 272 * 275 * @param string $prefix The prefix276 * @param string[]|string $paths The PSR-0 base directories273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 277 275 * 278 276 * @return void … … 291 289 * replacing any others previously set for this namespace. 292 290 * 293 * @param string $prefix The prefix/namespace, with trailing '\\'294 * @param string[]|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 295 293 * 296 294 * @throws \InvalidArgumentException … … 426 424 { 427 425 if ($file = $this->findFile($class)) { 428 includeFile($file); 426 $includeFile = self::$includeFile; 427 $includeFile($file); 429 428 430 429 return true; … … 477 476 478 477 /** 479 * Returns the currently registered loaders indexed by their corresponding vendor directories.480 * 481 * @return self[]478 * Returns the currently registered loaders keyed by their corresponding vendor directories. 479 * 480 * @return array<string, self> 482 481 */ 483 482 public static function getRegisteredLoaders() … … 556 555 return false; 557 556 } 557 558 /** 559 * @return void 560 */ 561 private static function initializeIncludeClosure() 562 { 563 if (self::$includeFile !== null) { 564 return; 565 } 566 567 /** 568 * Scope isolated include. 569 * 570 * Prevents access to $this/self from included files. 571 * 572 * @param string $file 573 * @return void 574 */ 575 self::$includeFile = \Closure::bind(static function($file) { 576 include $file; 577 }, null, null); 578 } 558 579 } 559 560 /**561 * Scope isolated include.562 *563 * Prevents access to $this/self from included files.564 *565 * @param string $file566 * @return void567 * @private568 */569 function includeFile($file)570 {571 include $file;572 } -
wschat-live-chat/trunk/vendor/composer/InstalledVersions.php
r3094643 r3452915 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 99 110 foreach (self::getInstalled() as $installed) { 100 111 if (isset($installed['versions'][$packageName])) { 101 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);112 return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; 102 113 } 103 114 } … … 120 131 public static function satisfies(VersionParser $parser, $packageName, $constraint) 121 132 { 122 $constraint = $parser->parseConstraints( $constraint);133 $constraint = $parser->parseConstraints((string) $constraint); 123 134 $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 124 135 … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; 330 362 } elseif (is_file($vendorDir.'/composer/installed.php')) { 331 $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; 332 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 333 self::$installed = $installed[count($installed) - 1]; 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 364 $required = require $vendorDir.'/composer/installed.php'; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 334 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 335 374 } 336 375 } … … 341 380 // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 342 381 if (substr(__DIR__, -8, 1) !== 'C') { 343 self::$installed = require __DIR__ . '/installed.php'; 382 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 383 $required = require __DIR__ . '/installed.php'; 384 self::$installed = $required; 344 385 } else { 345 386 self::$installed = array(); 346 387 } 347 388 } 348 $installed[] = self::$installed; 389 390 if (self::$installed !== array() && !$copiedLocalDir) { 391 $installed[] = self::$installed; 392 } 349 393 350 394 return $installed; -
wschat-live-chat/trunk/vendor/composer/autoload_psr4.php
r3313283 r3452915 18 18 'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'), 19 19 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), 20 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- message/src', $vendorDir . '/psr/http-factory/src'),20 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 21 21 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 22 22 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), 23 23 'Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), 24 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/ macroable', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/support'),24 'Illuminate\\Support\\' => array($vendorDir . '/illuminate/support', $vendorDir . '/illuminate/collections', $vendorDir . '/illuminate/macroable'), 25 25 'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'), 26 26 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), -
wschat-live-chat/trunk/vendor/composer/autoload_real.php
r3395773 r3452915 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa05 class ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa0', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit ce184c7063177f4e01f76ab5b7765fa0', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit6a932a337571d9c9081ba7062921a12a', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit6a932a337571d9c9081ba7062921a12a::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInitce184c7063177f4e01f76ab5b7765fa0::$files; 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequirece184c7063177f4e01f76ab5b7765fa0($fileIdentifier, $file); 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$files; 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 39 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 40 41 require $file; 42 } 43 }, null, null); 44 foreach ($filesToLoad as $fileIdentifier => $file) { 45 $requireFile($fileIdentifier, $file); 39 46 } 40 47 … … 42 49 } 43 50 } 44 45 /**46 * @param string $fileIdentifier47 * @param string $file48 * @return void49 */50 function composerRequirece184c7063177f4e01f76ab5b7765fa0($fileIdentifier, $file)51 {52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {53 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;54 55 require $file;56 }57 } -
wschat-live-chat/trunk/vendor/composer/autoload_static.php
r3395773 r3452915 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa07 class ComposerStaticInit6a932a337571d9c9081ba7062921a12a 8 8 { 9 9 public static $files = array ( … … 20 20 21 21 public static $prefixLengthsPsr4 = array ( 22 'v' => 22 'v' => 23 23 array ( 24 24 'voku\\' => 5, 25 25 ), 26 'W' => 26 'W' => 27 27 array ( 28 28 'WSChat\\' => 7, 29 29 ), 30 'T' => 30 'T' => 31 31 array ( 32 32 'Twilio\\' => 7, 33 33 ), 34 'S' => 34 'S' => 35 35 array ( 36 36 'Symfony\\Polyfill\\Php80\\' => 23, … … 40 40 'Sinergi\\BrowserDetector\\' => 24, 41 41 ), 42 'P' => 42 'P' => 43 43 array ( 44 44 'Pusher\\' => 7, … … 50 50 'Psr\\Cache\\' => 10, 51 51 ), 52 'I' => 52 'I' => 53 53 array ( 54 54 'Illuminate\\Support\\' => 19, 55 55 'Illuminate\\Contracts\\' => 21, 56 56 ), 57 'G' => 57 'G' => 58 58 array ( 59 59 'GuzzleHttp\\Psr7\\' => 16, … … 84 84 'GPBMetadata\\ApiCore\\' => 20, 85 85 ), 86 'F' => 86 'F' => 87 87 array ( 88 88 'Firebase\\JWT\\' => 13, 89 89 ), 90 'D' => 90 'D' => 91 91 array ( 92 92 'Doctrine\\Inflector\\' => 19, 93 93 ), 94 'C' => 94 'C' => 95 95 array ( 96 96 'Carbon\\' => 7, … … 99 99 100 100 public static $prefixDirsPsr4 = array ( 101 'voku\\' => 101 'voku\\' => 102 102 array ( 103 103 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', 104 104 ), 105 'WSChat\\' => 105 'WSChat\\' => 106 106 array ( 107 107 0 => __DIR__ . '/../..' . '/src', 108 108 ), 109 'Twilio\\' => 109 'Twilio\\' => 110 110 array ( 111 111 0 => __DIR__ . '/..' . '/twilio/sdk/src/Twilio', 112 112 ), 113 'Symfony\\Polyfill\\Php80\\' => 113 'Symfony\\Polyfill\\Php80\\' => 114 114 array ( 115 115 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', 116 116 ), 117 'Symfony\\Polyfill\\Mbstring\\' => 117 'Symfony\\Polyfill\\Mbstring\\' => 118 118 array ( 119 119 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', 120 120 ), 121 'Symfony\\Contracts\\Translation\\' => 121 'Symfony\\Contracts\\Translation\\' => 122 122 array ( 123 123 0 => __DIR__ . '/..' . '/symfony/translation-contracts', 124 124 ), 125 'Symfony\\Component\\Translation\\' => 125 'Symfony\\Component\\Translation\\' => 126 126 array ( 127 127 0 => __DIR__ . '/..' . '/symfony/translation', 128 128 ), 129 'Sinergi\\BrowserDetector\\' => 129 'Sinergi\\BrowserDetector\\' => 130 130 array ( 131 131 0 => __DIR__ . '/..' . '/sinergi/browser-detector/src', 132 132 ), 133 'Pusher\\' => 133 'Pusher\\' => 134 134 array ( 135 135 0 => __DIR__ . '/..' . '/pusher/pusher-php-server/src', 136 136 ), 137 'Psr\\SimpleCache\\' => 137 'Psr\\SimpleCache\\' => 138 138 array ( 139 139 0 => __DIR__ . '/..' . '/psr/simple-cache/src', 140 140 ), 141 'Psr\\Log\\' => 141 'Psr\\Log\\' => 142 142 array ( 143 143 0 => __DIR__ . '/..' . '/psr/log/Psr/Log', 144 144 ), 145 'Psr\\Http\\Message\\' => 146 array ( 147 0 => __DIR__ . '/..' . '/psr/http- message/src',148 1 => __DIR__ . '/..' . '/psr/http- factory/src',149 ), 150 'Psr\\Http\\Client\\' => 145 'Psr\\Http\\Message\\' => 146 array ( 147 0 => __DIR__ . '/..' . '/psr/http-factory/src', 148 1 => __DIR__ . '/..' . '/psr/http-message/src', 149 ), 150 'Psr\\Http\\Client\\' => 151 151 array ( 152 152 0 => __DIR__ . '/..' . '/psr/http-client/src', 153 153 ), 154 'Psr\\Container\\' => 154 'Psr\\Container\\' => 155 155 array ( 156 156 0 => __DIR__ . '/..' . '/psr/container/src', 157 157 ), 158 'Psr\\Cache\\' => 158 'Psr\\Cache\\' => 159 159 array ( 160 160 0 => __DIR__ . '/..' . '/psr/cache/src', 161 161 ), 162 'Illuminate\\Support\\' => 163 array ( 164 0 => __DIR__ . '/..' . '/illuminate/ macroable',162 'Illuminate\\Support\\' => 163 array ( 164 0 => __DIR__ . '/..' . '/illuminate/support', 165 165 1 => __DIR__ . '/..' . '/illuminate/collections', 166 2 => __DIR__ . '/..' . '/illuminate/ support',167 ), 168 'Illuminate\\Contracts\\' => 166 2 => __DIR__ . '/..' . '/illuminate/macroable', 167 ), 168 'Illuminate\\Contracts\\' => 169 169 array ( 170 170 0 => __DIR__ . '/..' . '/illuminate/contracts', 171 171 ), 172 'GuzzleHttp\\Psr7\\' => 172 'GuzzleHttp\\Psr7\\' => 173 173 array ( 174 174 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', 175 175 ), 176 'GuzzleHttp\\Promise\\' => 176 'GuzzleHttp\\Promise\\' => 177 177 array ( 178 178 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', 179 179 ), 180 'GuzzleHttp\\' => 180 'GuzzleHttp\\' => 181 181 array ( 182 182 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', 183 183 ), 184 'Grpc\\Gcp\\' => 184 'Grpc\\Gcp\\' => 185 185 array ( 186 186 0 => __DIR__ . '/..' . '/google/grpc-gcp/src', 187 187 ), 188 'Grpc\\' => 188 'Grpc\\' => 189 189 array ( 190 190 0 => __DIR__ . '/..' . '/grpc/grpc/src/lib', 191 191 ), 192 'Google\\Type\\' => 192 'Google\\Type\\' => 193 193 array ( 194 194 0 => __DIR__ . '/..' . '/google/common-protos/src/Type', 195 195 ), 196 'Google\\Rpc\\' => 196 'Google\\Rpc\\' => 197 197 array ( 198 198 0 => __DIR__ . '/..' . '/google/common-protos/src/Rpc', 199 199 ), 200 'Google\\Protobuf\\' => 200 'Google\\Protobuf\\' => 201 201 array ( 202 202 0 => __DIR__ . '/..' . '/google/protobuf/src/Google/Protobuf', 203 203 ), 204 'Google\\LongRunning\\' => 204 'Google\\LongRunning\\' => 205 205 array ( 206 206 0 => __DIR__ . '/..' . '/google/longrunning/src/LongRunning', 207 207 ), 208 'Google\\Iam\\' => 208 'Google\\Iam\\' => 209 209 array ( 210 210 0 => __DIR__ . '/..' . '/google/common-protos/src/Iam', 211 211 ), 212 'Google\\Cloud\\Dialogflow\\' => 212 'Google\\Cloud\\Dialogflow\\' => 213 213 array ( 214 214 0 => __DIR__ . '/..' . '/google/cloud-dialogflow/src', 215 215 ), 216 'Google\\Cloud\\' => 216 'Google\\Cloud\\' => 217 217 array ( 218 218 0 => __DIR__ . '/..' . '/google/common-protos/src/Cloud', 219 219 ), 220 'Google\\Auth\\' => 220 'Google\\Auth\\' => 221 221 array ( 222 222 0 => __DIR__ . '/..' . '/google/auth/src', 223 223 ), 224 'Google\\Api\\' => 224 'Google\\Api\\' => 225 225 array ( 226 226 0 => __DIR__ . '/..' . '/google/common-protos/src/Api', 227 227 ), 228 'Google\\ApiCore\\LongRunning\\' => 228 'Google\\ApiCore\\LongRunning\\' => 229 229 array ( 230 230 0 => __DIR__ . '/..' . '/google/longrunning/src/ApiCore/LongRunning', 231 231 ), 232 'Google\\ApiCore\\' => 232 'Google\\ApiCore\\' => 233 233 array ( 234 234 0 => __DIR__ . '/..' . '/google/gax/src', 235 235 ), 236 'GPBMetadata\\Google\\Type\\' => 236 'GPBMetadata\\Google\\Type\\' => 237 237 array ( 238 238 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Type', 239 239 ), 240 'GPBMetadata\\Google\\Rpc\\' => 240 'GPBMetadata\\Google\\Rpc\\' => 241 241 array ( 242 242 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Rpc', 243 243 ), 244 'GPBMetadata\\Google\\Protobuf\\' => 244 'GPBMetadata\\Google\\Protobuf\\' => 245 245 array ( 246 246 0 => __DIR__ . '/..' . '/google/protobuf/src/GPBMetadata/Google/Protobuf', 247 247 ), 248 'GPBMetadata\\Google\\Longrunning\\' => 248 'GPBMetadata\\Google\\Longrunning\\' => 249 249 array ( 250 250 0 => __DIR__ . '/..' . '/google/longrunning/metadata/Longrunning', 251 251 ), 252 'GPBMetadata\\Google\\Logging\\' => 252 'GPBMetadata\\Google\\Logging\\' => 253 253 array ( 254 254 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Logging', 255 255 ), 256 'GPBMetadata\\Google\\Iam\\' => 256 'GPBMetadata\\Google\\Iam\\' => 257 257 array ( 258 258 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Iam', 259 259 ), 260 'GPBMetadata\\Google\\Cloud\\Dialogflow\\' => 260 'GPBMetadata\\Google\\Cloud\\Dialogflow\\' => 261 261 array ( 262 262 0 => __DIR__ . '/..' . '/google/cloud-dialogflow/metadata', 263 263 ), 264 'GPBMetadata\\Google\\Cloud\\' => 264 'GPBMetadata\\Google\\Cloud\\' => 265 265 array ( 266 266 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Cloud', 267 267 ), 268 'GPBMetadata\\Google\\Api\\' => 268 'GPBMetadata\\Google\\Api\\' => 269 269 array ( 270 270 0 => __DIR__ . '/..' . '/google/common-protos/metadata/Api', 271 271 ), 272 'GPBMetadata\\ApiCore\\' => 272 'GPBMetadata\\ApiCore\\' => 273 273 array ( 274 274 0 => __DIR__ . '/..' . '/google/gax/metadata/ApiCore', 275 275 ), 276 'Firebase\\JWT\\' => 276 'Firebase\\JWT\\' => 277 277 array ( 278 278 0 => __DIR__ . '/..' . '/firebase/php-jwt/src', 279 279 ), 280 'Doctrine\\Inflector\\' => 280 'Doctrine\\Inflector\\' => 281 281 array ( 282 282 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', 283 283 ), 284 'Carbon\\' => 284 'Carbon\\' => 285 285 array ( 286 286 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', … … 306 306 { 307 307 return \Closure::bind(function () use ($loader) { 308 $loader->prefixLengthsPsr4 = ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::$prefixLengthsPsr4;309 $loader->prefixDirsPsr4 = ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::$prefixDirsPsr4;310 $loader->classMap = ComposerStaticInit ce184c7063177f4e01f76ab5b7765fa0::$classMap;308 $loader->prefixLengthsPsr4 = ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$prefixLengthsPsr4; 309 $loader->prefixDirsPsr4 = ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$prefixDirsPsr4; 310 $loader->classMap = ComposerStaticInit6a932a337571d9c9081ba7062921a12a::$classMap; 311 311 312 312 }, null, ClassLoader::class); -
wschat-live-chat/trunk/vendor/composer/installed.php
r3395773 r3452915 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' e9eebf54c5bebbdabe7a82d276fbe8100bb49eff',6 'reference' => 'd34e0bab49877b049c2afb46d20892245946b21a', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-master', 24 24 'version' => 'dev-master', 25 'reference' => ' e9eebf54c5bebbdabe7a82d276fbe8100bb49eff',25 'reference' => 'd34e0bab49877b049c2afb46d20892245946b21a', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../', -
wschat-live-chat/trunk/vendor/composer/platform_check.php
r2974794 r3452915 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
wschat-live-chat/trunk/wschat.php
r3395773 r3452915 4 4 * Plugin URI: https://elextensions.com/plugin/wschat-wordpress-live-chat-plugin/ 5 5 * Description: Let's you connect to your customers in real-time. 6 * Version: 3.1. 76 * Version: 3.1.8 7 7 * Requires PHP: 7.1.3 8 8 * WC requires at least: 3.0.0
Note: See TracChangeset
for help on using the changeset viewer.