From 6879da939e74a86bbfa8a6ab0a2d4c29d828ee7d Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Wed, 5 Feb 2025 07:47:08 +0000 Subject: [PATCH] chore(autoloader): Dump autoloader Signed-off-by: nextcloud-command --- composer/installed.json | 80 +++++++++---------- composer/installed.php | 24 +++--- .../src/CompletionHandler.php | 2 +- .../src/HookFactory.php | 8 +- symfony/console/Application.php | 6 +- symfony/console/Helper/ProgressBar.php | 2 +- symfony/console/Terminal.php | 2 +- symfony/string/Inflector/EnglishInflector.php | 10 +-- 8 files changed, 67 insertions(+), 67 deletions(-) diff --git a/composer/installed.json b/composer/installed.json index ab9977cde..d02dd96a7 100644 --- a/composer/installed.json +++ b/composer/installed.json @@ -4377,28 +4377,28 @@ }, { "name": "stecman/symfony-console-completion", - "version": "v0.13.0", - "version_normalized": "0.13.0.0", + "version": "v0.14.0", + "version_normalized": "0.14.0.0", "source": { "type": "git", "url": "https://github.com/stecman/symfony-console-completion.git", - "reference": "769e6b49123847648ae80f10d3ccb0f128cbb953" + "reference": "93b88586e50c05b7375a547031f535bf1ea970f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stecman/symfony-console-completion/zipball/769e6b49123847648ae80f10d3ccb0f128cbb953", - "reference": "769e6b49123847648ae80f10d3ccb0f128cbb953", + "url": "https://api.github.com/repos/stecman/symfony-console-completion/zipball/93b88586e50c05b7375a547031f535bf1ea970f5", + "reference": "93b88586e50c05b7375a547031f535bf1ea970f5", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/console": "~6.3 || ^7.0" + "php": ">=8.1", + "symfony/console": "~6.4 || ^7.1" }, "require-dev": { "dms/phpunit-arraysubset-asserts": "^0.4.0", "phpunit/phpunit": "^9.5" }, - "time": "2024-07-05T11:49:57+00:00", + "time": "2024-11-09T03:07:26+00:00", "type": "library", "extra": { "branch-alias": { @@ -4424,23 +4424,23 @@ "description": "Automatic BASH completion for Symfony Console Component based applications.", "support": { "issues": "https://github.com/stecman/symfony-console-completion/issues", - "source": "https://github.com/stecman/symfony-console-completion/tree/v0.13.0" + "source": "https://github.com/stecman/symfony-console-completion/tree/v0.14.0" }, "install-path": "../stecman/symfony-console-completion" }, { "name": "symfony/console", - "version": "v6.4.12", - "version_normalized": "6.4.12.0", + "version": "v6.4.17", + "version_normalized": "6.4.17.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765" + "reference": "799445db3f15768ecc382ac5699e6da0520a0a04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/72d080eb9edf80e36c19be61f72c98ed8273b765", - "reference": "72d080eb9edf80e36c19be61f72c98ed8273b765", + "url": "https://api.github.com/repos/symfony/console/zipball/799445db3f15768ecc382ac5699e6da0520a0a04", + "reference": "799445db3f15768ecc382ac5699e6da0520a0a04", "shasum": "" }, "require": { @@ -4473,7 +4473,7 @@ "symfony/stopwatch": "^5.4|^6.0|^7.0", "symfony/var-dumper": "^5.4|^6.0|^7.0" }, - "time": "2024-09-20T08:15:52+00:00", + "time": "2024-12-07T12:07:30+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -4507,7 +4507,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.12" + "source": "https://github.com/symfony/console/tree/v6.4.17" }, "funding": [ { @@ -5174,8 +5174,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "installation-source": "dist", @@ -5253,8 +5253,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "installation-source": "dist", @@ -5420,8 +5420,8 @@ "type": "library", "extra": { "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "installation-source": "dist", @@ -5958,17 +5958,17 @@ }, { "name": "symfony/service-contracts", - "version": "v3.5.0", - "version_normalized": "3.5.0.0", + "version": "v3.5.1", + "version_normalized": "3.5.1.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", "shasum": "" }, "require": { @@ -5979,15 +5979,15 @@ "conflict": { "ext-psr": "<1.1|>=2" }, - "time": "2024-04-18T09:32:20+00:00", + "time": "2024-09-25T14:20:29+00:00", "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "installation-source": "dist", @@ -6024,7 +6024,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" }, "funding": [ { @@ -6044,17 +6044,17 @@ }, { "name": "symfony/string", - "version": "v6.4.13", - "version_normalized": "6.4.13.0", + "version": "v6.4.15", + "version_normalized": "6.4.15.0", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "38371c60c71c72b3d64d8d76f6b1bb81a2cc3627" + "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/38371c60c71c72b3d64d8d76f6b1bb81a2cc3627", - "reference": "38371c60c71c72b3d64d8d76f6b1bb81a2cc3627", + "url": "https://api.github.com/repos/symfony/string/zipball/73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f", + "reference": "73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f", "shasum": "" }, "require": { @@ -6074,7 +6074,7 @@ "symfony/translation-contracts": "^2.5|^3.0", "symfony/var-exporter": "^5.4|^6.0|^7.0" }, - "time": "2024-09-25T14:18:03+00:00", + "time": "2024-11-13T13:31:12+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -6113,7 +6113,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.13" + "source": "https://github.com/symfony/string/tree/v6.4.15" }, "funding": [ { diff --git a/composer/installed.php b/composer/installed.php index 4210377b6..675130f26 100644 --- a/composer/installed.php +++ b/composer/installed.php @@ -644,18 +644,18 @@ 'dev_requirement' => false, ), 'stecman/symfony-console-completion' => array( - 'pretty_version' => 'v0.13.0', - 'version' => '0.13.0.0', - 'reference' => '769e6b49123847648ae80f10d3ccb0f128cbb953', + 'pretty_version' => 'v0.14.0', + 'version' => '0.14.0.0', + 'reference' => '93b88586e50c05b7375a547031f535bf1ea970f5', 'type' => 'library', 'install_path' => __DIR__ . '/../stecman/symfony-console-completion', 'aliases' => array(), 'dev_requirement' => false, ), 'symfony/console' => array( - 'pretty_version' => 'v6.4.12', - 'version' => '6.4.12.0', - 'reference' => '72d080eb9edf80e36c19be61f72c98ed8273b765', + 'pretty_version' => 'v6.4.17', + 'version' => '6.4.17.0', + 'reference' => '799445db3f15768ecc382ac5699e6da0520a0a04', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), @@ -830,18 +830,18 @@ 'dev_requirement' => false, ), 'symfony/service-contracts' => array( - 'pretty_version' => 'v3.5.0', - 'version' => '3.5.0.0', - 'reference' => 'bd1d9e59a81d8fa4acdcea3f617c581f7475a80f', + 'pretty_version' => 'v3.5.1', + 'version' => '3.5.1.0', + 'reference' => 'e53260aabf78fb3d63f8d79d69ece59f80d5eda0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/service-contracts', 'aliases' => array(), 'dev_requirement' => false, ), 'symfony/string' => array( - 'pretty_version' => 'v6.4.13', - 'version' => '6.4.13.0', - 'reference' => '38371c60c71c72b3d64d8d76f6b1bb81a2cc3627', + 'pretty_version' => 'v6.4.15', + 'version' => '6.4.15.0', + 'reference' => '73a5e66ea2e1677c98d4449177c5a9cf9d8b4c6f', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), diff --git a/stecman/symfony-console-completion/src/CompletionHandler.php b/stecman/symfony-console-completion/src/CompletionHandler.php index 236687bb3..871838e2e 100644 --- a/stecman/symfony-console-completion/src/CompletionHandler.php +++ b/stecman/symfony-console-completion/src/CompletionHandler.php @@ -40,7 +40,7 @@ class CompletionHandler */ private $commandWordIndex; - public function __construct(Application $application, CompletionContext $context = null) + public function __construct(Application $application, ?CompletionContext $context = null) { $this->application = $application; $this->context = $context; diff --git a/stecman/symfony-console-completion/src/HookFactory.php b/stecman/symfony-console-completion/src/HookFactory.php index d86f9b2ad..4ad763dfb 100644 --- a/stecman/symfony-console-completion/src/HookFactory.php +++ b/stecman/symfony-console-completion/src/HookFactory.php @@ -126,10 +126,10 @@ public static function getShellTypes() /** * Return a completion hook for the specified shell type * - * @param string $type - a key from self::$hooks - * @param string $programPath - * @param string $programName - * @param bool $multiple + * @param string $type - a key from self::$hooks + * @param string $programPath + * @param ?string $programName + * @param bool $multiple * * @return string */ diff --git a/symfony/console/Application.php b/symfony/console/Application.php index b97d0872f..dc710e8cc 100644 --- a/symfony/console/Application.php +++ b/symfony/console/Application.php @@ -169,9 +169,9 @@ public function run(?InputInterface $input = null, ?OutputInterface $output = nu } } - $this->configureIO($input, $output); - try { + $this->configureIO($input, $output); + $exitCode = $this->doRun($input, $output); } catch (\Throwable $e) { if ($e instanceof \Exception && !$this->catchExceptions) { @@ -875,7 +875,7 @@ protected function doRenderThrowable(\Throwable $e, OutputInterface $output): vo } if (str_contains($message, "@anonymous\0")) { - $message = preg_replace_callback('/[a-zA-Z_\x7f-\xff][\\\\a-zA-Z0-9_\x7f-\xff]*+@anonymous\x00.*?\.php(?:0x?|:[0-9]++\$)[0-9a-fA-F]++/', fn ($m) => class_exists($m[0], false) ? (get_parent_class($m[0]) ?: key(class_implements($m[0])) ?: 'class').'@anonymous' : $m[0], $message); + $message = preg_replace_callback('/[a-zA-Z_\x7f-\xff][\\\\a-zA-Z0-9_\x7f-\xff]*+@anonymous\x00.*?\.php(?:0x?|:[0-9]++\$)?[0-9a-fA-F]++/', fn ($m) => class_exists($m[0], false) ? (get_parent_class($m[0]) ?: key(class_implements($m[0])) ?: 'class').'@anonymous' : $m[0], $message); } $width = $this->terminal->getWidth() ? $this->terminal->getWidth() - 1 : \PHP_INT_MAX; diff --git a/symfony/console/Helper/ProgressBar.php b/symfony/console/Helper/ProgressBar.php index b406292b4..23157e3c7 100644 --- a/symfony/console/Helper/ProgressBar.php +++ b/symfony/console/Helper/ProgressBar.php @@ -229,7 +229,7 @@ public function getEstimated(): float public function getRemaining(): float { - if (!$this->step) { + if (0 === $this->step || $this->step === $this->startingStep) { return 0; } diff --git a/symfony/console/Terminal.php b/symfony/console/Terminal.php index 9ac17f601..f094adedc 100644 --- a/symfony/console/Terminal.php +++ b/symfony/console/Terminal.php @@ -217,7 +217,7 @@ private static function readFromProcess(string|array $command): ?string $cp = \function_exists('sapi_windows_cp_set') ? sapi_windows_cp_get() : 0; - if (!$process = proc_open($command, $descriptorspec, $pipes, null, null, ['suppress_errors' => true])) { + if (!$process = @proc_open($command, $descriptorspec, $pipes, null, null, ['suppress_errors' => true])) { return null; } diff --git a/symfony/string/Inflector/EnglishInflector.php b/symfony/string/Inflector/EnglishInflector.php index c41badead..a5be28d66 100644 --- a/symfony/string/Inflector/EnglishInflector.php +++ b/symfony/string/Inflector/EnglishInflector.php @@ -354,14 +354,14 @@ final class EnglishInflector implements InflectorInterface // indices (index) ['xedni', 5, false, true, ['indicies', 'indexes']], + // fax (faxes, faxxes) + ['xaf', 3, true, true, ['faxes', 'faxxes']], + // boxes (box) ['xo', 2, false, true, 'oxes'], - // indexes (index), matrixes (matrix) - ['x', 1, true, false, ['cies', 'xes']], - - // appendices (appendix) - ['xi', 2, false, true, 'ices'], + // indexes (index), matrixes (matrix), appendices (appendix) + ['x', 1, true, false, ['ces', 'xes']], // babies (baby) ['y', 1, false, true, 'ies'],