Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump symfony/console from 5.4.34 to 5.4.35 #531

Merged
merged 3 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified updater.phar
Binary file not shown.
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
Loading
Loading