From 185967ecb6275c60182a6468a951856e7e6e3de2 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 13 Aug 2019 18:44:50 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]ComposerUpdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 14 +++++++------- vendor/composer/autoload_static.php | 8 ++++---- vendor/composer/installed.json | 8 ++++---- .../zoujingli/think-library/src/command/Task.php | 5 +++-- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/vendor/autoload.php b/vendor/autoload.php index f90356a1e..3313c84ff 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitaba7bea469cff2e24689908a67754de5::getLoader(); +return ComposerAutoloaderInit96ca9a3ecaeb8d161a3f960f677b7485::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 51b800209..a956307e9 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitaba7bea469cff2e24689908a67754de5 +class ComposerAutoloaderInit96ca9a3ecaeb8d161a3f960f677b7485 { private static $loader; @@ -19,15 +19,15 @@ class ComposerAutoloaderInitaba7bea469cff2e24689908a67754de5 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitaba7bea469cff2e24689908a67754de5', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit96ca9a3ecaeb8d161a3f960f677b7485', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInitaba7bea469cff2e24689908a67754de5', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit96ca9a3ecaeb8d161a3f960f677b7485', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require_once __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitaba7bea469cff2e24689908a67754de5::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit96ca9a3ecaeb8d161a3f960f677b7485::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -48,19 +48,19 @@ class ComposerAutoloaderInitaba7bea469cff2e24689908a67754de5 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitaba7bea469cff2e24689908a67754de5::$files; + $includeFiles = Composer\Autoload\ComposerStaticInit96ca9a3ecaeb8d161a3f960f677b7485::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequireaba7bea469cff2e24689908a67754de5($fileIdentifier, $file); + composerRequire96ca9a3ecaeb8d161a3f960f677b7485($fileIdentifier, $file); } return $loader; } } -function composerRequireaba7bea469cff2e24689908a67754de5($fileIdentifier, $file) +function composerRequire96ca9a3ecaeb8d161a3f960f677b7485($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 9b41d1510..4de54eef9 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInitaba7bea469cff2e24689908a67754de5 +class ComposerStaticInit96ca9a3ecaeb8d161a3f960f677b7485 { public static $files = array ( '841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php', @@ -347,9 +347,9 @@ class ComposerStaticInitaba7bea469cff2e24689908a67754de5 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitaba7bea469cff2e24689908a67754de5::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitaba7bea469cff2e24689908a67754de5::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitaba7bea469cff2e24689908a67754de5::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit96ca9a3ecaeb8d161a3f960f677b7485::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit96ca9a3ecaeb8d161a3f960f677b7485::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit96ca9a3ecaeb8d161a3f960f677b7485::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 4dc098b6c..fcf5ff5e1 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -502,12 +502,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/ThinkLibrary.git", - "reference": "c88767de3be9068473c0b3afa0f82dba0307c5c4" + "reference": "68e0145bebbe0c0982a5c91d6811d2e49e04d012" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/c88767de3be9068473c0b3afa0f82dba0307c5c4", - "reference": "c88767de3be9068473c0b3afa0f82dba0307c5c4", + "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/68e0145bebbe0c0982a5c91d6811d2e49e04d012", + "reference": "68e0145bebbe0c0982a5c91d6811d2e49e04d012", "shasum": "", "mirrors": [ { @@ -526,7 +526,7 @@ "qiniu/php-sdk": "^7.2", "topthink/framework": "5.1.*" }, - "time": "2019-08-13T09:46:45+00:00", + "time": "2019-08-13T10:38:27+00:00", "type": "library", "installation-source": "dist", "autoload": { diff --git a/vendor/zoujingli/think-library/src/command/Task.php b/vendor/zoujingli/think-library/src/command/Task.php index 7c592f0aa..3063ae9d3 100644 --- a/vendor/zoujingli/think-library/src/command/Task.php +++ b/vendor/zoujingli/think-library/src/command/Task.php @@ -104,8 +104,9 @@ class Task extends Command } else { $result = str_replace('\\', '/', $_('ps ax|grep -v grep|grep "' . $this->cmd . '"')); foreach (explode("\n", $result) as $line) if (stripos($line, $this->cmd) !== false) { - list($pid, , , , $cmd) = explode(' ', preg_replace('|\s+|', ' ', $line) . ' '); - $list[] = ['cmd' => $cmd, 'pid' => $pid]; + $attr = explode(' ', preg_replace('|\s+|', ' ', trim($line))); + list($pid) = [array_shift($attr), array_shift($attr), array_shift($attr), array_shift($attr)]; + $list[] = ['pid' => $pid, 'cmd' => join(' ', $attr)]; } } return $list;