Skip to content

Commit

Permalink
chore: update vendor folder content
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Feb 5, 2024
1 parent de0582d commit 62c2361
Show file tree
Hide file tree
Showing 49 changed files with 155 additions and 120 deletions.
1 change: 0 additions & 1 deletion vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
'NC\\Updater\\UpdateCommand' => $baseDir . '/lib/UpdateCommand.php',
'NC\\Updater\\UpdateException' => $baseDir . '/lib/UpdateException.php',
'NC\\Updater\\Updater' => $baseDir . '/lib/Updater.php',
'NC\\Updater\\Version' => $baseDir . '/lib/Version.php',
'Nextcloud\\CodingStandard\\Config' => $vendorDir . '/nextcloud/coding-standard/src/Config.php',
'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
'PhpToken' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
Expand Down
1 change: 0 additions & 1 deletion vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ class ComposerStaticInit936ba63ded5d1b8248cdb4d5673af0ea
'NC\\Updater\\UpdateCommand' => __DIR__ . '/../..' . '/lib/UpdateCommand.php',
'NC\\Updater\\UpdateException' => __DIR__ . '/../..' . '/lib/UpdateException.php',
'NC\\Updater\\Updater' => __DIR__ . '/../..' . '/lib/Updater.php',
'NC\\Updater\\Version' => __DIR__ . '/../..' . '/lib/Version.php',
'Nextcloud\\CodingStandard\\Config' => __DIR__ . '/..' . '/nextcloud/coding-standard/src/Config.php',
'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php',
Expand Down
28 changes: 14 additions & 14 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,17 @@
},
{
"name": "symfony/console",
"version": "v5.4.34",
"version_normalized": "5.4.34.0",
"version": "v5.4.35",
"version_normalized": "5.4.35.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "4b4d8cd118484aa604ec519062113dd87abde18c"
"reference": "dbdf6adcb88d5f83790e1efb57ef4074309d3931"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/4b4d8cd118484aa604ec519062113dd87abde18c",
"reference": "4b4d8cd118484aa604ec519062113dd87abde18c",
"url": "https://api.github.com/repos/symfony/console/zipball/dbdf6adcb88d5f83790e1efb57ef4074309d3931",
"reference": "dbdf6adcb88d5f83790e1efb57ef4074309d3931",
"shasum": ""
},
"require": {
Expand Down Expand Up @@ -260,7 +260,7 @@
"symfony/lock": "",
"symfony/process": ""
},
"time": "2023-12-08T13:33:03+00:00",
"time": "2024-01-23T14:28:09+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -294,7 +294,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.4.34"
"source": "https://github.com/symfony/console/tree/v5.4.35"
},
"funding": [
{
Expand Down Expand Up @@ -980,17 +980,17 @@
},
{
"name": "symfony/string",
"version": "v5.4.34",
"version_normalized": "5.4.34.0",
"version": "v5.4.35",
"version_normalized": "5.4.35.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "e3f98bfc7885c957488f443df82d97814a3ce061"
"reference": "c209c4d0559acce1c9a2067612cfb5d35756edc2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/e3f98bfc7885c957488f443df82d97814a3ce061",
"reference": "e3f98bfc7885c957488f443df82d97814a3ce061",
"url": "https://api.github.com/repos/symfony/string/zipball/c209c4d0559acce1c9a2067612cfb5d35756edc2",
"reference": "c209c4d0559acce1c9a2067612cfb5d35756edc2",
"shasum": ""
},
"require": {
Expand All @@ -1010,7 +1010,7 @@
"symfony/translation-contracts": "^1.1|^2",
"symfony/var-exporter": "^4.4|^5.0|^6.0"
},
"time": "2023-12-09T13:20:28+00:00",
"time": "2024-01-23T13:51:25+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -1049,7 +1049,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v5.4.34"
"source": "https://github.com/symfony/string/tree/v5.4.35"
},
"funding": [
{
Expand Down
16 changes: 8 additions & 8 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'f1c854b39fe40a5913f6dceee963510f6ef22e6f',
'reference' => 'de0582d00a183fca1d5645d354e88b94b9b75a90',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'f1c854b39fe40a5913f6dceee963510f6ef22e6f',
'reference' => 'de0582d00a183fca1d5645d354e88b94b9b75a90',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -68,9 +68,9 @@
),
),
'symfony/console' => array(
'pretty_version' => 'v5.4.34',
'version' => '5.4.34.0',
'reference' => '4b4d8cd118484aa604ec519062113dd87abde18c',
'pretty_version' => 'v5.4.35',
'version' => '5.4.35.0',
'reference' => 'dbdf6adcb88d5f83790e1efb57ef4074309d3931',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/console',
'aliases' => array(),
Expand Down Expand Up @@ -149,9 +149,9 @@
'dev_requirement' => false,
),
'symfony/string' => array(
'pretty_version' => 'v5.4.34',
'version' => '5.4.34.0',
'reference' => 'e3f98bfc7885c957488f443df82d97814a3ce061',
'pretty_version' => 'v5.4.35',
'version' => '5.4.35.0',
'reference' => 'c209c4d0559acce1c9a2067612cfb5d35756edc2',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/string',
'aliases' => array(),
Expand Down
6 changes: 3 additions & 3 deletions vendor/symfony/console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function setSignalsToDispatchEvent(int ...$signalsToDispatchEvent)
*
* @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}.
*/
public function run(InputInterface $input = null, OutputInterface $output = null)
public function run(?InputInterface $input = null, ?OutputInterface $output = null)
{
if (\function_exists('putenv')) {
@putenv('LINES='.$this->terminal->getHeight());
Expand Down Expand Up @@ -778,7 +778,7 @@ public function find(string $name)
*
* @return Command[]
*/
public function all(string $namespace = null)
public function all(?string $namespace = null)
{
$this->init();

Expand Down Expand Up @@ -1147,7 +1147,7 @@ private function getAbbreviationSuggestions(array $abbrevs): string
*
* @return string
*/
public function extractNamespace(string $name, int $limit = null)
public function extractNamespace(string $name, ?int $limit = null)
{
$parts = explode(':', $name, -1);

Expand Down
8 changes: 4 additions & 4 deletions vendor/symfony/console/CI/GithubActionReporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static function isGithubActionEnvironment(): bool
*
* @see https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
*/
public function error(string $message, string $file = null, int $line = null, int $col = null): void
public function error(string $message, ?string $file = null, ?int $line = null, ?int $col = null): void
{
$this->log('error', $message, $file, $line, $col);
}
Expand All @@ -67,7 +67,7 @@ public function error(string $message, string $file = null, int $line = null, in
*
* @see https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message
*/
public function warning(string $message, string $file = null, int $line = null, int $col = null): void
public function warning(string $message, ?string $file = null, ?int $line = null, ?int $col = null): void
{
$this->log('warning', $message, $file, $line, $col);
}
Expand All @@ -77,12 +77,12 @@ public function warning(string $message, string $file = null, int $line = null,
*
* @see https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-a-debug-message
*/
public function debug(string $message, string $file = null, int $line = null, int $col = null): void
public function debug(string $message, ?string $file = null, ?int $line = null, ?int $col = null): void
{
$this->log('debug', $message, $file, $line, $col);
}

private function log(string $type, string $message, string $file = null, int $line = null, int $col = null): void
private function log(string $type, string $message, ?string $file = null, ?int $line = null, ?int $col = null): void
{
// Some values must be encoded.
$message = strtr($message, self::ESCAPED_DATA);
Expand Down
8 changes: 4 additions & 4 deletions vendor/symfony/console/Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static function getDefaultDescription(): ?string
*
* @throws LogicException When the command name is empty
*/
public function __construct(string $name = null)
public function __construct(?string $name = null)
{
$this->definition = new InputDefinition();

Expand Down Expand Up @@ -132,7 +132,7 @@ public function ignoreValidationErrors()
$this->ignoreValidationErrors = true;
}

public function setApplication(Application $application = null)
public function setApplication(?Application $application = null)
{
$this->application = $application;
if ($application) {
Expand Down Expand Up @@ -433,7 +433,7 @@ public function getNativeDefinition()
*
* @throws InvalidArgumentException When argument mode is not valid
*/
public function addArgument(string $name, int $mode = null, string $description = '', $default = null)
public function addArgument(string $name, ?int $mode = null, string $description = '', $default = null)
{
$this->definition->addArgument(new InputArgument($name, $mode, $description, $default));
if (null !== $this->fullDefinition) {
Expand All @@ -454,7 +454,7 @@ public function addArgument(string $name, int $mode = null, string $description
*
* @throws InvalidArgumentException If option mode is invalid or incompatible
*/
public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null)
public function addOption(string $name, $shortcut = null, ?int $mode = null, string $description = '', $default = null)
{
$this->definition->addOption(new InputOption($name, $shortcut, $mode, $description, $default));
if (null !== $this->fullDefinition) {
Expand Down
6 changes: 3 additions & 3 deletions vendor/symfony/console/Command/LazyCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function ignoreValidationErrors(): void
$this->getCommand()->ignoreValidationErrors();
}

public function setApplication(Application $application = null): void
public function setApplication(?Application $application = null): void
{
if ($this->command instanceof parent) {
$this->command->setApplication($application);
Expand Down Expand Up @@ -117,7 +117,7 @@ public function getNativeDefinition(): InputDefinition
/**
* @return $this
*/
public function addArgument(string $name, int $mode = null, string $description = '', $default = null): self
public function addArgument(string $name, ?int $mode = null, string $description = '', $default = null): self
{
$this->getCommand()->addArgument($name, $mode, $description, $default);

Expand All @@ -127,7 +127,7 @@ public function addArgument(string $name, int $mode = null, string $description
/**
* @return $this
*/
public function addOption(string $name, $shortcut = null, int $mode = null, string $description = '', $default = null): self
public function addOption(string $name, $shortcut = null, ?int $mode = null, string $description = '', $default = null): self
{
$this->getCommand()->addOption($name, $shortcut, $mode, $description, $default);

Expand Down
2 changes: 1 addition & 1 deletion vendor/symfony/console/Command/LockableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ trait LockableTrait
/**
* Locks a command.
*/
private function lock(string $name = null, bool $blocking = false): bool
private function lock(?string $name = null, bool $blocking = false): bool
{
if (!class_exists(SemaphoreStore::class)) {
throw new LogicException('To enable the locking feature you must install the symfony/lock component.');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ApplicationDescription
*/
private $aliases;

public function __construct(Application $application, string $namespace = null, bool $showHidden = false)
public function __construct(Application $application, ?string $namespace = null, bool $showHidden = false)
{
$this->application = $application;
$this->namespace = $namespace;
Expand Down
2 changes: 1 addition & 1 deletion vendor/symfony/console/Descriptor/XmlDescriptor.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getCommandDocument(Command $command, bool $short = false): \DOMD
return $dom;
}

public function getApplicationDocument(Application $application, string $namespace = null, bool $short = false): \DOMDocument
public function getApplicationDocument(Application $application, ?string $namespace = null, bool $short = false): \DOMDocument
{
$dom = new \DOMDocument('1.0', 'UTF-8');
$dom->appendChild($rootXml = $dom->createElement('symfony'));
Expand Down
2 changes: 1 addition & 1 deletion vendor/symfony/console/Event/ConsoleErrorEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class ConsoleErrorEvent extends ConsoleEvent
private $error;
private $exitCode;

public function __construct(InputInterface $input, OutputInterface $output, \Throwable $error, Command $command = null)
public function __construct(InputInterface $input, OutputInterface $output, \Throwable $error, ?Command $command = null)
{
parent::__construct($command, $input, $output);

Expand Down
2 changes: 1 addition & 1 deletion vendor/symfony/console/EventListener/ErrorListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ErrorListener implements EventSubscriberInterface
{
private $logger;

public function __construct(LoggerInterface $logger = null)
public function __construct(?LoggerInterface $logger = null)
{
$this->logger = $logger;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CommandNotFoundException extends \InvalidArgumentException implements Exce
* @param int $code Exception code
* @param \Throwable|null $previous Previous exception used for the exception chaining
*/
public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null)
public function __construct(string $message, array $alternatives = [], int $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, $code, $previous);

Expand Down
4 changes: 2 additions & 2 deletions vendor/symfony/console/Formatter/NullOutputFormatterStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ public function apply(string $text): string
/**
* {@inheritdoc}
*/
public function setBackground(string $color = null): void
public function setBackground(?string $color = null): void
{
// do nothing
}

/**
* {@inheritdoc}
*/
public function setForeground(string $color = null): void
public function setForeground(?string $color = null): void
{
// do nothing
}
Expand Down
6 changes: 3 additions & 3 deletions vendor/symfony/console/Formatter/OutputFormatterStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
* @param string|null $foreground The style foreground color name
* @param string|null $background The style background color name
*/
public function __construct(string $foreground = null, string $background = null, array $options = [])
public function __construct(?string $foreground = null, ?string $background = null, array $options = [])
{
$this->color = new Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options);
}

/**
* {@inheritdoc}
*/
public function setForeground(string $color = null)
public function setForeground(?string $color = null)
{
$this->color = new Color($this->foreground = $color ?: '', $this->background, $this->options);
}

/**
* {@inheritdoc}
*/
public function setBackground(string $color = null)
public function setBackground(?string $color = null)
{
$this->color = new Color($this->foreground, $this->background = $color ?: '', $this->options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ interface OutputFormatterStyleInterface
/**
* Sets style foreground color.
*/
public function setForeground(string $color = null);
public function setForeground(?string $color = null);

/**
* Sets style background color.
*/
public function setBackground(string $color = null);
public function setBackground(?string $color = null);

/**
* Sets some specific style option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class OutputFormatterStyleStack implements ResetInterface

private $emptyStyle;

public function __construct(OutputFormatterStyleInterface $emptyStyle = null)
public function __construct(?OutputFormatterStyleInterface $emptyStyle = null)
{
$this->emptyStyle = $emptyStyle ?? new OutputFormatterStyle();
$this->reset();
Expand Down Expand Up @@ -55,7 +55,7 @@ public function push(OutputFormatterStyleInterface $style)
*
* @throws InvalidArgumentException When style tags incorrectly nested
*/
public function pop(OutputFormatterStyleInterface $style = null)
public function pop(?OutputFormatterStyleInterface $style = null)
{
if (empty($this->styles)) {
return $this->emptyStyle;
Expand Down
Loading

0 comments on commit 62c2361

Please sign in to comment.