[更新]ComposerUpdate

This commit is contained in:
Anyon 2018-11-26 17:52:57 +08:00
parent fc4c63fa49
commit aba6f6397b
6 changed files with 226 additions and 226 deletions

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php'; require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit80a18f8002995aad6375cb55e92e2645::getLoader(); return ComposerAutoloaderInit58a41c7e987cfb68eb98c0d5d6f8df7f::getLoader();

View File

@ -279,7 +279,7 @@ class ClassLoader
*/ */
public function setApcuPrefix($apcuPrefix) public function setApcuPrefix($apcuPrefix)
{ {
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null; $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
} }
/** /**
@ -377,11 +377,11 @@ class ClassLoader
$subPath = $class; $subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) { while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos); $subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\'; $search = $subPath . '\\';
if (isset($this->prefixDirsPsr4[$search])) { if (isset($this->prefixDirsPsr4[$search])) {
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
foreach ($this->prefixDirsPsr4[$search] as $dir) { foreach ($this->prefixDirsPsr4[$search] as $dir) {
$length = $this->prefixLengthsPsr4[$first][$search]; if (file_exists($file = $dir . $pathEnd)) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
return $file; return $file;
} }
} }

View File

@ -6,6 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir); $baseDir = dirname($vendorDir);
return array( return array(
'1cfd2761b63b0a29ed23657ea394cb2d' => $vendorDir . '/topthink/think-captcha/src/helper.php',
'841780ea2e1d6545ea3a253239d59c05' => $vendorDir . '/qiniu/php-sdk/src/Qiniu/functions.php', '841780ea2e1d6545ea3a253239d59c05' => $vendorDir . '/qiniu/php-sdk/src/Qiniu/functions.php',
'1cfd2761b63b0a29ed23657ea394cb2d' => $vendorDir . '/topthink/think-captcha/src/helper.php',
); );

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit80a18f8002995aad6375cb55e92e2645 class ComposerAutoloaderInit58a41c7e987cfb68eb98c0d5d6f8df7f
{ {
private static $loader; private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInit80a18f8002995aad6375cb55e92e2645
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInit80a18f8002995aad6375cb55e92e2645', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit58a41c7e987cfb68eb98c0d5d6f8df7f', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit80a18f8002995aad6375cb55e92e2645', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit58a41c7e987cfb68eb98c0d5d6f8df7f', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) { if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php'; require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit80a18f8002995aad6375cb55e92e2645::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInit58a41c7e987cfb68eb98c0d5d6f8df7f::getInitializer($loader));
} else { } else {
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInit80a18f8002995aad6375cb55e92e2645
$loader->register(true); $loader->register(true);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit80a18f8002995aad6375cb55e92e2645::$files; $includeFiles = Composer\Autoload\ComposerStaticInit58a41c7e987cfb68eb98c0d5d6f8df7f::$files;
} else { } else {
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
} }
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire80a18f8002995aad6375cb55e92e2645($fileIdentifier, $file); composerRequire58a41c7e987cfb68eb98c0d5d6f8df7f($fileIdentifier, $file);
} }
return $loader; return $loader;
} }
} }
function composerRequire80a18f8002995aad6375cb55e92e2645($fileIdentifier, $file) function composerRequire58a41c7e987cfb68eb98c0d5d6f8df7f($fileIdentifier, $file)
{ {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file; require $file;

View File

@ -4,11 +4,11 @@
namespace Composer\Autoload; namespace Composer\Autoload;
class ComposerStaticInit80a18f8002995aad6375cb55e92e2645 class ComposerStaticInit58a41c7e987cfb68eb98c0d5d6f8df7f
{ {
public static $files = array ( public static $files = array (
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php', '841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
); );
public static $prefixLengthsPsr4 = array ( public static $prefixLengthsPsr4 = array (
@ -320,9 +320,9 @@ class ComposerStaticInit80a18f8002995aad6375cb55e92e2645
public static function getInitializer(ClassLoader $loader) public static function getInitializer(ClassLoader $loader)
{ {
return \Closure::bind(function () use ($loader) { return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit80a18f8002995aad6375cb55e92e2645::$prefixLengthsPsr4; $loader->prefixLengthsPsr4 = ComposerStaticInit58a41c7e987cfb68eb98c0d5d6f8df7f::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit80a18f8002995aad6375cb55e92e2645::$prefixDirsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInit58a41c7e987cfb68eb98c0d5d6f8df7f::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit80a18f8002995aad6375cb55e92e2645::$classMap; $loader->classMap = ComposerStaticInit58a41c7e987cfb68eb98c0d5d6f8df7f::$classMap;
}, null, ClassLoader::class); }, null, ClassLoader::class);
} }

View File

@ -1,17 +1,17 @@
[ [
{ {
"name": "topthink/think-installer", "name": "aliyuncs/oss-sdk-php",
"version": "v2.0.0", "version": "v2.3.0",
"version_normalized": "2.0.0.0", "version_normalized": "2.3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/top-think/think-installer.git", "url": "https://github.com/aliyun/aliyun-oss-php-sdk.git",
"reference": "f5400a12c60e513911aef41fe443fa6920952675" "reference": "e69f57916678458642ac9d2fd341ae78a56996c8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/top-think/think-installer/zipball/f5400a12c60e513911aef41fe443fa6920952675", "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/e69f57916678458642ac9d2fd341ae78a56996c8",
"reference": "f5400a12c60e513911aef41fe443fa6920952675", "reference": "e69f57916678458642ac9d2fd341ae78a56996c8",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -21,138 +21,100 @@
] ]
}, },
"require": { "require": {
"composer-plugin-api": "^1.0" "php": ">=5.3"
}, },
"require-dev": { "require-dev": {
"composer/composer": "1.0.*@dev" "phpunit/phpunit": "~4.0",
"satooshi/php-coveralls": "~1.0"
}, },
"time": "2018-05-11T06:45:42+00:00", "time": "2018-01-08T06:59:35+00:00",
"type": "composer-plugin",
"extra": {
"class": "think\\composer\\Plugin"
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"think\\composer\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "yunwuxin",
"email": "448901948@qq.com"
}
]
},
{
"name": "topthink/framework",
"version": "v5.1.29",
"version_normalized": "5.1.29.0",
"source": {
"type": "git",
"url": "https://github.com/top-think/framework.git",
"reference": "f1d8ee3a91e8f504507edb5dcc49c50c47b4500f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/top-think/framework/zipball/f1d8ee3a91e8f504507edb5dcc49c50c47b4500f",
"reference": "f1d8ee3a91e8f504507edb5dcc49c50c47b4500f",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=5.6.0",
"topthink/think-installer": "2.*"
},
"require-dev": {
"johnkary/phpunit-speedtrap": "^1.0",
"mikey179/vfsstream": "~1.6",
"phpdocumentor/reflection-docblock": "^2.0",
"phploc/phploc": "2.*",
"phpunit/phpunit": "^5.0|^6.0",
"sebastian/phpcpd": "2.*",
"squizlabs/php_codesniffer": "2.*"
},
"time": "2018-11-11T01:17:33+00:00",
"type": "think-framework",
"installation-source": "dist",
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "liu21st",
"email": "liu21st@gmail.com"
},
{
"name": "yunwuxin",
"email": "448901948@qq.com"
}
],
"description": "the new thinkphp framework",
"homepage": "http://thinkphp.cn/",
"keywords": [
"framework",
"orm",
"thinkphp"
]
},
{
"name": "topthink/think-captcha",
"version": "v2.0.2",
"version_normalized": "2.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/top-think/think-captcha.git",
"reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/top-think/think-captcha/zipball/54c8a51552f99ff9ea89ea9c272383a8f738ceee",
"reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"topthink/framework": "5.1.*"
},
"time": "2017-12-31T16:37:49+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"think\\captcha\\": "src/" "OSS\\": "src/OSS"
}, }
"files": [
"src/helper.php"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"Apache-2.0" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "yunwuxin", "name": "Aliyuncs",
"email": "448901948@qq.com" "homepage": "http://www.aliyun.com"
} }
], ],
"description": "captcha package for thinkphp5" "description": "Aliyun OSS SDK for PHP",
"homepage": "http://www.aliyun.com/product/oss/"
},
{
"name": "endroid/qr-code",
"version": "1.9.3",
"version_normalized": "1.9.3.0",
"source": {
"type": "git",
"url": "https://github.com/endroid/qr-code.git",
"reference": "c9644bec2a9cc9318e98d1437de3c628dcd1ef93"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/endroid/qr-code/zipball/c9644bec2a9cc9318e98d1437de3c628dcd1ef93",
"reference": "c9644bec2a9cc9318e98d1437de3c628dcd1ef93",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"ext-gd": "*",
"php": ">=5.4",
"symfony/options-resolver": "^2.3|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.0|^5.0",
"sensio/framework-extra-bundle": "^3.0",
"symfony/browser-kit": "^2.3|^3.0",
"symfony/framework-bundle": "^2.3|^3.0",
"symfony/http-kernel": "^2.3|^3.0"
},
"time": "2017-04-08T09:13:59+00:00",
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"installation-source": "dist",
"autoload": {
"psr-4": {
"Endroid\\QrCode\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jeroen van den Enden",
"email": "info@endroid.nl",
"homepage": "http://endroid.nl/"
}
],
"description": "Endroid QR Code",
"homepage": "https://github.com/endroid/QrCode",
"keywords": [
"bundle",
"code",
"endroid",
"qr",
"qrcode",
"symfony"
]
}, },
{ {
"name": "qiniu/php-sdk", "name": "qiniu/php-sdk",
@ -276,18 +238,18 @@
] ]
}, },
{ {
"name": "endroid/qr-code", "name": "topthink/framework",
"version": "1.9.3", "version": "v5.1.29",
"version_normalized": "1.9.3.0", "version_normalized": "5.1.29.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/endroid/qr-code.git", "url": "https://github.com/top-think/framework.git",
"reference": "c9644bec2a9cc9318e98d1437de3c628dcd1ef93" "reference": "f1d8ee3a91e8f504507edb5dcc49c50c47b4500f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/endroid/qr-code/zipball/c9644bec2a9cc9318e98d1437de3c628dcd1ef93", "url": "https://api.github.com/repos/top-think/framework/zipball/f1d8ee3a91e8f504507edb5dcc49c50c47b4500f",
"reference": "c9644bec2a9cc9318e98d1437de3c628dcd1ef93", "reference": "f1d8ee3a91e8f504507edb5dcc49c50c47b4500f",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -297,50 +259,137 @@
] ]
}, },
"require": { "require": {
"ext-gd": "*", "php": ">=5.6.0",
"php": ">=5.4", "topthink/think-installer": "2.*"
"symfony/options-resolver": "^2.3|^3.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.0|^5.0", "johnkary/phpunit-speedtrap": "^1.0",
"sensio/framework-extra-bundle": "^3.0", "mikey179/vfsstream": "~1.6",
"symfony/browser-kit": "^2.3|^3.0", "phpdocumentor/reflection-docblock": "^2.0",
"symfony/framework-bundle": "^2.3|^3.0", "phploc/phploc": "2.*",
"symfony/http-kernel": "^2.3|^3.0" "phpunit/phpunit": "^5.0|^6.0",
"sebastian/phpcpd": "2.*",
"squizlabs/php_codesniffer": "2.*"
}, },
"time": "2017-04-08T09:13:59+00:00", "time": "2018-11-11T01:17:33+00:00",
"type": "library", "type": "think-framework",
"extra": { "installation-source": "dist",
"branch-alias": { "notification-url": "https://packagist.org/downloads/",
"dev-master": "1.x-dev" "license": [
"Apache-2.0"
],
"authors": [
{
"name": "liu21st",
"email": "liu21st@gmail.com"
},
{
"name": "yunwuxin",
"email": "448901948@qq.com"
} }
],
"description": "the new thinkphp framework",
"homepage": "http://thinkphp.cn/",
"keywords": [
"framework",
"orm",
"thinkphp"
]
},
{
"name": "topthink/think-captcha",
"version": "v2.0.2",
"version_normalized": "2.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/top-think/think-captcha.git",
"reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/top-think/think-captcha/zipball/54c8a51552f99ff9ea89ea9c272383a8f738ceee",
"reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"topthink/framework": "5.1.*"
},
"time": "2017-12-31T16:37:49+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"think\\captcha\\": "src/"
},
"files": [
"src/helper.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "yunwuxin",
"email": "448901948@qq.com"
}
],
"description": "captcha package for thinkphp5"
},
{
"name": "topthink/think-installer",
"version": "v2.0.0",
"version_normalized": "2.0.0.0",
"source": {
"type": "git",
"url": "https://github.com/top-think/think-installer.git",
"reference": "f5400a12c60e513911aef41fe443fa6920952675"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/top-think/think-installer/zipball/f5400a12c60e513911aef41fe443fa6920952675",
"reference": "f5400a12c60e513911aef41fe443fa6920952675",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"composer-plugin-api": "^1.0"
},
"require-dev": {
"composer/composer": "1.0.*@dev"
},
"time": "2018-05-11T06:45:42+00:00",
"type": "composer-plugin",
"extra": {
"class": "think\\composer\\Plugin"
}, },
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Endroid\\QrCode\\": "src/" "think\\composer\\": "src"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"MIT" "Apache-2.0"
], ],
"authors": [ "authors": [
{ {
"name": "Jeroen van den Enden", "name": "yunwuxin",
"email": "info@endroid.nl", "email": "448901948@qq.com"
"homepage": "http://endroid.nl/"
} }
],
"description": "Endroid QR Code",
"homepage": "https://github.com/endroid/QrCode",
"keywords": [
"bundle",
"code",
"endroid",
"qr",
"qrcode",
"symfony"
] ]
}, },
{ {
@ -392,55 +441,6 @@
"Ip2Region" "Ip2Region"
] ]
}, },
{
"name": "aliyuncs/oss-sdk-php",
"version": "v2.3.0",
"version_normalized": "2.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/aliyun/aliyun-oss-php-sdk.git",
"reference": "e69f57916678458642ac9d2fd341ae78a56996c8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/e69f57916678458642ac9d2fd341ae78a56996c8",
"reference": "e69f57916678458642ac9d2fd341ae78a56996c8",
"shasum": "",
"mirrors": [
{
"url": "https://dl.laravel-china.org/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=5.3"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"satooshi/php-coveralls": "~1.0"
},
"time": "2018-01-08T06:59:35+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"OSS\\": "src/OSS"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Aliyuncs",
"homepage": "http://www.aliyun.com"
}
],
"description": "Aliyun OSS SDK for PHP",
"homepage": "http://www.aliyun.com/product/oss/"
},
{ {
"name": "zoujingli/wechat-developer", "name": "zoujingli/wechat-developer",
"version": "v1.2.6", "version": "v1.2.6",