diff --git a/app/Console/Command/EnvCommand.php b/app/Console/Command/EnvCommand.php index bec9ad9..ad8e929 100644 --- a/app/Console/Command/EnvCommand.php +++ b/app/Console/Command/EnvCommand.php @@ -14,6 +14,7 @@ use Inhere\Console\IO\Output; use Toolkit\Stdlib\OS; use function is_scalar; +use function ucfirst; /** * Class DemoCommand @@ -53,8 +54,12 @@ protected function execute(Input $input, Output $output) if ($name) { $value = null; $upKey = strtoupper($name); + // fix: in windows, ENV 'PATH' is 'Path' + $upFKey = ucfirst($name); if (isset($_SERVER[$upKey])) { $value = $_SERVER[$upKey]; + } elseif (isset($_SERVER[$upFKey])) { + $value = $_SERVER[$upFKey]; } elseif (isset($_SERVER[$name])) { $value = $_SERVER[$name]; } diff --git a/app/Console/simple-cmds.php b/app/Console/simple-cmds.php index 1145949..d424aaf 100644 --- a/app/Console/simple-cmds.php +++ b/app/Console/simple-cmds.php @@ -12,17 +12,17 @@ $name = $fs->getArg('binName'); $path = Sys::findExecutable($name); if (!$path) { - $output->println('Not found'); + $output->println('Not found in PATH'); return; } - $clean = $fs->getOpt('clean'); - $output->colored($clean ? $path : "Path: $path"); + // $clean = $fs->getOpt('clean'); + $output->colored($path); }, [ 'desc' => 'find bin file path, like system `which`', 'aliases' => ['where', 'whereis'], 'options' => [ - '--clean' => 'bool;clean output, only output path.' + // '--clean' => 'bool;clean output, only output path.' ], 'arguments' => [ 'binName' => 'string;the target bin file name for find;true', diff --git a/composer.lock b/composer.lock index 8363921..c29dc25 100644 --- a/composer.lock +++ b/composer.lock @@ -394,16 +394,16 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.4.4", + "version": "7.4.5", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8" + "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/e3ff079b22820c2029d4c2a87796b6a0b8716ad8", - "reference": "e3ff079b22820c2029d4c2a87796b6a0b8716ad8", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", + "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", "shasum": "", "mirrors": [ { @@ -415,7 +415,7 @@ "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "guzzlehttp/psr7": "^1.9 || ^2.4", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -504,7 +504,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.4" + "source": "https://github.com/guzzle/guzzle/tree/7.4.5" }, "funding": [ { @@ -520,7 +520,7 @@ "type": "tidelift" } ], - "time": "2022-06-09T21:39:15+00:00" + "time": "2022-06-20T22:16:13+00:00" }, { "name": "guzzlehttp/promises", @@ -614,16 +614,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee" + "reference": "13388f00956b1503577598873fffb5ae994b5737" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee", - "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737", + "reference": "13388f00956b1503577598873fffb5ae994b5737", "shasum": "", "mirrors": [ { @@ -653,7 +653,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -715,7 +715,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.3.0" + "source": "https://github.com/guzzle/psr7/tree/2.4.0" }, "funding": [ { @@ -731,7 +731,7 @@ "type": "tidelift" } ], - "time": "2022-06-09T08:26:02+00:00" + "time": "2022-06-20T21:43:11+00:00" }, { "name": "http-interop/http-factory-guzzle", @@ -803,12 +803,12 @@ "source": { "type": "git", "url": "https://github.com/inhere/php-console.git", - "reference": "59d0b61443a2ae2a7bfca37513a7509f16565f54" + "reference": "202cef46c8198e244e94fd87b1af50cc61020f61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inhere/php-console/zipball/59d0b61443a2ae2a7bfca37513a7509f16565f54", - "reference": "59d0b61443a2ae2a7bfca37513a7509f16565f54", + "url": "https://api.github.com/repos/inhere/php-console/zipball/202cef46c8198e244e94fd87b1af50cc61020f61", + "reference": "202cef46c8198e244e94fd87b1af50cc61020f61", "shasum": "", "mirrors": [ { @@ -867,7 +867,7 @@ "issues": "https://github.com/inhere/php-console/issues", "source": "https://github.com/inhere/php-console/tree/master" }, - "time": "2022-05-12T03:36:28+00:00" + "time": "2022-05-29T05:36:04+00:00" }, { "name": "inhere/sroute", @@ -935,16 +935,16 @@ }, { "name": "knplabs/github-api", - "version": "v3.5.1", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/KnpLabs/php-github-api.git", - "reference": "37b167998e8e1f318b3d99633675cfa007540565" + "reference": "c230ab0162afeaec4318276e6a470af4b52da5fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/37b167998e8e1f318b3d99633675cfa007540565", - "reference": "37b167998e8e1f318b3d99633675cfa007540565", + "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/c230ab0162afeaec4318276e6a470af4b52da5fe", + "reference": "c230ab0162afeaec4318276e6a470af4b52da5fe", "shasum": "", "mirrors": [ { @@ -1017,7 +1017,7 @@ ], "support": { "issues": "https://github.com/KnpLabs/php-github-api/issues", - "source": "https://github.com/KnpLabs/php-github-api/tree/v3.5.1" + "source": "https://github.com/KnpLabs/php-github-api/tree/v3.7.0" }, "funding": [ { @@ -1025,7 +1025,7 @@ "type": "github" } ], - "time": "2022-02-19T11:15:46+00:00" + "time": "2022-06-12T17:59:07+00:00" }, { "name": "laktak/hjson", @@ -1419,16 +1419,16 @@ }, { "name": "php-http/discovery", - "version": "1.14.1", + "version": "1.14.2", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223" + "reference": "c8d48852fbc052454af42f6de27635ddd916b959" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/de90ab2b41d7d61609f504e031339776bc8c7223", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223", + "url": "https://api.github.com/repos/php-http/discovery/zipball/c8d48852fbc052454af42f6de27635ddd916b959", + "reference": "c8d48852fbc052454af42f6de27635ddd916b959", "shasum": "", "mirrors": [ { @@ -1447,8 +1447,7 @@ "graham-campbell/phpspec-skip-example-extension": "^5.0", "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1", - "puli/composer-plugin": "1.0.0-beta10" + "phpspec/phpspec": "^5.1 || ^6.1" }, "suggest": { "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" @@ -1487,9 +1486,9 @@ ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.1" + "source": "https://github.com/php-http/discovery/tree/1.14.2" }, - "time": "2021-09-18T07:57:46+00:00" + "time": "2022-05-25T07:26:05+00:00" }, { "name": "php-http/httplug", @@ -2231,12 +2230,12 @@ "source": { "type": "git", "url": "https://github.com/phppkg/phpgit.git", - "reference": "7668d4d7b6944e3009f228aa3ff0d75f5e82d4b7" + "reference": "f2968d4bfe4588feefd04deafce8ed9272b04f17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phppkg/phpgit/zipball/7668d4d7b6944e3009f228aa3ff0d75f5e82d4b7", - "reference": "7668d4d7b6944e3009f228aa3ff0d75f5e82d4b7", + "url": "https://api.github.com/repos/phppkg/phpgit/zipball/f2968d4bfe4588feefd04deafce8ed9272b04f17", + "reference": "f2968d4bfe4588feefd04deafce8ed9272b04f17", "shasum": "", "mirrors": [ { @@ -2285,9 +2284,9 @@ "homepage": "https://github/phppkg/phpgit.git", "support": { "issues": "https://github.com/phppkg/phpgit/issues", - "source": "https://github.com/phppkg/phpgit/tree/v2.0.1" + "source": "https://github.com/phppkg/phpgit/tree/master" }, - "time": "2022-04-13T11:41:07+00:00" + "time": "2022-06-29T03:40:28+00:00" }, { "name": "psr/cache", @@ -2684,16 +2683,16 @@ }, { "name": "symfony/cache", - "version": "v6.1.0", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "314afa1b7c9e157dbce75221a057428cfeb9c61e" + "reference": "7d8415956df68c8dcbc9468e119945e39bacead1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/314afa1b7c9e157dbce75221a057428cfeb9c61e", - "reference": "314afa1b7c9e157dbce75221a057428cfeb9c61e", + "url": "https://api.github.com/repos/symfony/cache/zipball/7d8415956df68c8dcbc9468e119945e39bacead1", + "reference": "7d8415956df68c8dcbc9468e119945e39bacead1", "shasum": "", "mirrors": [ { @@ -2766,7 +2765,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v6.1.0" + "source": "https://github.com/symfony/cache/tree/v6.1.2" }, "funding": [ { @@ -2782,20 +2781,20 @@ "type": "tidelift" } ], - "time": "2022-05-21T13:34:40+00:00" + "time": "2022-06-19T13:21:48+00:00" }, { "name": "symfony/cache-contracts", - "version": "v3.0.1", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348" + "reference": "2eab7fa459af6d75c6463e63e633b667a9b761d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", - "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/2eab7fa459af6d75c6463e63e633b667a9b761d3", + "reference": "2eab7fa459af6d75c6463e63e633b667a9b761d3", "shasum": "", "mirrors": [ { @@ -2805,7 +2804,7 @@ ] }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/cache": "^3.0" }, "suggest": { @@ -2814,7 +2813,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -2851,7 +2850,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/cache-contracts/tree/v3.1.0" }, "funding": [ { @@ -2867,20 +2866,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.1", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", + "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918", "shasum": "", "mirrors": [ { @@ -2890,12 +2889,12 @@ ] }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.1-dev" }, "thanks": { "name": "symfony/contracts", @@ -2924,7 +2923,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1" }, "funding": [ { @@ -2940,20 +2939,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/expression-language", - "version": "v6.1.0", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", - "reference": "be8d1306b69651b63a80319b2b0972cadc30f2ec" + "reference": "909368a5c6a4a22d35174ec7811002f8d66435ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/be8d1306b69651b63a80319b2b0972cadc30f2ec", - "reference": "be8d1306b69651b63a80319b2b0972cadc30f2ec", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/909368a5c6a4a22d35174ec7811002f8d66435ba", + "reference": "909368a5c6a4a22d35174ec7811002f8d66435ba", "shasum": "", "mirrors": [ { @@ -2993,7 +2992,7 @@ "description": "Provides an engine that can compile and evaluate expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/expression-language/tree/v6.1.0" + "source": "https://github.com/symfony/expression-language/tree/v6.1.2" }, "funding": [ { @@ -3009,20 +3008,20 @@ "type": "tidelift" } ], - "time": "2022-05-27T06:38:45+00:00" + "time": "2022-06-19T13:21:48+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.0.3", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d" + "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/51f7006670febe4cbcbae177cbffe93ff833250d", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a3016f5442e28386ded73c43a32a5b68586dd1c4", + "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4", "shasum": "", "mirrors": [ { @@ -3032,7 +3031,7 @@ ] }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "symfony/deprecation-contracts": "^2.1|^3" }, "type": "library", @@ -3066,7 +3065,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.0.3" + "source": "https://github.com/symfony/options-resolver/tree/v6.1.0" }, "funding": [ { @@ -3082,20 +3081,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-02-25T11:15:52+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", "shasum": "", "mirrors": [ { @@ -3116,7 +3115,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3154,7 +3153,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" }, "funding": [ { @@ -3170,20 +3169,20 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", "shasum": "", "mirrors": [ { @@ -3204,7 +3203,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3243,7 +3242,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" }, "funding": [ { @@ -3259,20 +3258,20 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", "shasum": "", "mirrors": [ { @@ -3287,7 +3286,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3332,7 +3331,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" }, "funding": [ { @@ -3348,20 +3347,20 @@ "type": "tidelift" } ], - "time": "2022-03-04T08:16:47+00:00" + "time": "2022-05-10T07:21:04+00:00" }, { "name": "symfony/process", - "version": "v6.0.7", + "version": "v6.1.0", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e13f6757e267d687e20ec5b26ccfcbbe511cd8f4" + "reference": "318718453c2be58266f1a9e74063d13cb8dd4165" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e13f6757e267d687e20ec5b26ccfcbbe511cd8f4", - "reference": "e13f6757e267d687e20ec5b26ccfcbbe511cd8f4", + "url": "https://api.github.com/repos/symfony/process/zipball/318718453c2be58266f1a9e74063d13cb8dd4165", + "reference": "318718453c2be58266f1a9e74063d13cb8dd4165", "shasum": "", "mirrors": [ { @@ -3371,7 +3370,7 @@ ] }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -3399,7 +3398,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.0.7" + "source": "https://github.com/symfony/process/tree/v6.1.0" }, "funding": [ { @@ -3415,20 +3414,20 @@ "type": "tidelift" } ], - "time": "2022-03-18T16:21:55+00:00" + "time": "2022-05-11T12:12:29+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", - "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "shasum": "", "mirrors": [ { @@ -3488,7 +3487,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" }, "funding": [ { @@ -3504,20 +3503,20 @@ "type": "tidelift" } ], - "time": "2022-03-13T20:07:29+00:00" + "time": "2022-05-30T19:17:29+00:00" }, { "name": "symfony/var-exporter", - "version": "v6.0.9", + "version": "v6.1.1", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "51c9947398d4f87f0b5a861999534a95afcd971e" + "reference": "ce1452317b1210ddfe18d143fa8a09c18f034b89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/51c9947398d4f87f0b5a861999534a95afcd971e", - "reference": "51c9947398d4f87f0b5a861999534a95afcd971e", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/ce1452317b1210ddfe18d143fa8a09c18f034b89", + "reference": "ce1452317b1210ddfe18d143fa8a09c18f034b89", "shasum": "", "mirrors": [ { @@ -3527,7 +3526,7 @@ ] }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "require-dev": { "symfony/var-dumper": "^5.4|^6.0" @@ -3566,7 +3565,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.0.9" + "source": "https://github.com/symfony/var-exporter/tree/v6.1.1" }, "funding": [ { @@ -3582,20 +3581,20 @@ "type": "tidelift" } ], - "time": "2022-05-21T13:33:31+00:00" + "time": "2022-05-27T12:58:07+00:00" }, { "name": "symfony/yaml", - "version": "v6.1.0", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "84ce4f9d2d68f306f971a39d949d8f4b5550dba2" + "reference": "b01c4e7dc6a51cbf114567af04a19789fd1011fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/84ce4f9d2d68f306f971a39d949d8f4b5550dba2", - "reference": "84ce4f9d2d68f306f971a39d949d8f4b5550dba2", + "url": "https://api.github.com/repos/symfony/yaml/zipball/b01c4e7dc6a51cbf114567af04a19789fd1011fe", + "reference": "b01c4e7dc6a51cbf114567af04a19789fd1011fe", "shasum": "", "mirrors": [ { @@ -3646,7 +3645,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.1.0" + "source": "https://github.com/symfony/yaml/tree/v6.1.2" }, "funding": [ { @@ -3662,20 +3661,20 @@ "type": "tidelift" } ], - "time": "2022-04-15T14:25:02+00:00" + "time": "2022-06-20T12:01:07+00:00" }, { "name": "toolkit/cli-utils", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/php-toolkit/cli-utils.git", - "reference": "02af7b683c78209181185025a95b7c520a2aeb52" + "reference": "9583713c113ab2b9278e9cfa64fde872cb10b180" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-toolkit/cli-utils/zipball/02af7b683c78209181185025a95b7c520a2aeb52", - "reference": "02af7b683c78209181185025a95b7c520a2aeb52", + "url": "https://api.github.com/repos/php-toolkit/cli-utils/zipball/9583713c113ab2b9278e9cfa64fde872cb10b180", + "reference": "9583713c113ab2b9278e9cfa64fde872cb10b180", "shasum": "", "mirrors": [ { @@ -3724,9 +3723,9 @@ ], "support": { "issues": "https://github.com/php-toolkit/cli-utils/issues", - "source": "https://github.com/php-toolkit/cli-utils/tree/v2.0.2" + "source": "https://github.com/php-toolkit/cli-utils/tree/v2.0.3" }, - "time": "2022-04-20T09:22:28+00:00" + "time": "2022-06-15T06:49:18+00:00" }, { "name": "toolkit/fsutil", @@ -3964,16 +3963,16 @@ }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "", "mirrors": [ { @@ -3983,8 +3982,8 @@ ] }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -4022,9 +4021,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" }, { "name": "yosymfony/parser-utils", diff --git a/script/update-kite-deps.sh b/script/update-kite-deps.sh index f87ec28..d65b88d 100644 --- a/script/update-kite-deps.sh +++ b/script/update-kite-deps.sh @@ -1,18 +1,20 @@ #!/usr/bin/env bash # run: kite run --proxy update-kite-deps.sh -# run: sh script/update-kite-deps.sh +# run: bash script/update-kite-deps.sh set -e -tmpKiteDir=~/Workspace/my-github/inhere/kite +#tmpKiteDir=~/Workspace/my-github/inhere/kite +# windows +tmpKiteDir=/f/work/php/inhere/kite-tmp usrKiteDir=~/.kite set -x -kite env prox +#kite env prox cd $tmpKiteDir || exit 2 git checkout . git pull -composer update --no-progress +composer update --no-progress --ignore-platform-req=ext-posix set +x echo "✅ Update composer.lock"