[更新]ComposerUpdate

This commit is contained in:
Anyon 2019-08-13 18:44:50 +08:00
parent 7fd6b3c8c3
commit 185967ecb6
5 changed files with 19 additions and 18 deletions

2
vendor/autoload.php vendored
View File

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

View File

@ -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;

View File

@ -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);
}

View File

@ -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": {

View File

@ -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;