更新composer自动加载

This commit is contained in:
TOP糯米 2020-10-04 20:54:16 +08:00
parent 1e47a34920
commit ec7c2162a2
4 changed files with 15 additions and 25 deletions

19
composer.lock generated
View File

@ -8,23 +8,23 @@
"packages": [ "packages": [
{ {
"name": "firebase/php-jwt", "name": "firebase/php-jwt",
"version": "v5.0.0", "version": "v5.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/firebase/php-jwt.git", "url": "https://github.com/firebase/php-jwt.git",
"reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e" "reference": "feb0e820b8436873675fd3aca04f3728eb2185cb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/9984a4d3a32ae7673d6971ea00bae9d0a1abba0e", "url": "https://api.github.com/repos/firebase/php-jwt/zipball/feb0e820b8436873675fd3aca04f3728eb2185cb",
"reference": "9984a4d3a32ae7673d6971ea00bae9d0a1abba0e", "reference": "feb0e820b8436873675fd3aca04f3728eb2185cb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=5.3.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": " 4.8.35" "phpunit/phpunit": ">=4.8 <=9"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -50,7 +50,11 @@
], ],
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
"homepage": "https://github.com/firebase/php-jwt", "homepage": "https://github.com/firebase/php-jwt",
"time": "2017-06-27T22:17:23+00:00" "keywords": [
"jwt",
"php"
],
"time": "2020-03-25T18:49:23+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],
@ -60,5 +64,6 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": [],
"platform-dev": [] "platform-dev": [],
"plugin-api-version": "1.1.0"
} }

View File

@ -6,7 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname(dirname($vendorDir)); $baseDir = dirname(dirname($vendorDir));
return array( return array(
'top\\' => array($baseDir . '/framework'),
'app\\' => array($baseDir . '/application'),
'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'), 'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
); );

View File

@ -13,6 +13,9 @@ class ComposerAutoloaderInit7b44678ec2aea793416a22dbbbba76ef
} }
} }
/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader() public static function getLoader()
{ {
if (null !== self::$loader) { if (null !== self::$loader) {

View File

@ -7,14 +7,6 @@ namespace Composer\Autoload;
class ComposerStaticInit7b44678ec2aea793416a22dbbbba76ef class ComposerStaticInit7b44678ec2aea793416a22dbbbba76ef
{ {
public static $prefixLengthsPsr4 = array ( public static $prefixLengthsPsr4 = array (
't' =>
array (
'top\\' => 4,
),
'a' =>
array (
'app\\' => 4,
),
'F' => 'F' =>
array ( array (
'Firebase\\JWT\\' => 13, 'Firebase\\JWT\\' => 13,
@ -22,14 +14,6 @@ class ComposerStaticInit7b44678ec2aea793416a22dbbbba76ef
); );
public static $prefixDirsPsr4 = array ( public static $prefixDirsPsr4 = array (
'top\\' =>
array (
0 => __DIR__ . '/../../..' . '/framework',
),
'app\\' =>
array (
0 => __DIR__ . '/../../..' . '/application',
),
'Firebase\\JWT\\' => 'Firebase\\JWT\\' =>
array ( array (
0 => __DIR__ . '/..' . '/firebase/php-jwt/src', 0 => __DIR__ . '/..' . '/firebase/php-jwt/src',