1
0
Fork 0

Bump dev version to 2.7, fix issues with symfony 7

pull/11665/head
Jordi Boggiano 2023-10-25 17:13:25 +02:00
parent 708b07a2fe
commit c66894278c
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
13 changed files with 13 additions and 13 deletions

View File

@ -65,7 +65,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "2.6-dev" "dev-main": "2.7-dev"
}, },
"phpstan": { "phpstan": {
"includes": [ "includes": [

View File

@ -46,7 +46,7 @@ EOT
; ;
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$composer = $this->requireComposer(); $composer = $this->requireComposer();
$packages = $this->getPackages($composer, $input); $packages = $this->getPackages($composer, $input);

View File

@ -70,7 +70,7 @@ EOT
/** /**
* @throws \Seld\JsonLint\ParsingException * @throws \Seld\JsonLint\ParsingException
*/ */
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
/** @readonly */ /** @readonly */
$composerJsonPath = Factory::getComposerFile(); $composerJsonPath = Factory::getComposerFile();

View File

@ -67,7 +67,7 @@ EOT
; ;
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$composer = $this->tryComposer(); $composer = $this->tryComposer();
$io = $this->getIO(); $io = $this->getIO();

View File

@ -54,7 +54,7 @@ EOT
; ;
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$composer = $this->requireComposer(); $composer = $this->requireComposer();

View File

@ -75,7 +75,7 @@ EOT
$input->setArgument('binary', $binaries[$binary]); $input->setArgument('binary', $binaries[$binary]);
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$composer = $this->requireComposer(); $composer = $this->requireComposer();
if ($input->getOption('list') || null === $input->getArgument('binary')) { if ($input->getOption('list') || null === $input->getArgument('binary')) {

View File

@ -82,7 +82,7 @@ EOT
/** /**
* @throws \Seld\JsonLint\ParsingException * @throws \Seld\JsonLint\ParsingException
*/ */
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$io = $this->getIO(); $io = $this->getIO();

View File

@ -79,7 +79,7 @@ EOT
; ;
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$io = $this->getIO(); $io = $this->getIO();
if ($input->getOption('dev')) { if ($input->getOption('dev')) {

View File

@ -83,7 +83,7 @@ EOT
/** /**
* @throws \Seld\JsonLint\ParsingException * @throws \Seld\JsonLint\ParsingException
*/ */
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
if ($input->getArgument('packages') === [] && !$input->getOption('unused')) { if ($input->getArgument('packages') === [] && !$input->getOption('unused')) {
throw new InvalidArgumentException('Not enough arguments (missing: "packages").'); throw new InvalidArgumentException('Not enough arguments (missing: "packages").');

View File

@ -129,7 +129,7 @@ EOT
/** /**
* @throws \Seld\JsonLint\ParsingException * @throws \Seld\JsonLint\ParsingException
*/ */
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$this->file = Factory::getComposerFile(); $this->file = Factory::getComposerFile();
$io = $this->getIO(); $io = $this->getIO();

View File

@ -131,7 +131,7 @@ EOT
}; };
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$this->versionParser = new VersionParser; $this->versionParser = new VersionParser;
if ($input->getOption('tree')) { if ($input->getOption('tree')) {

View File

@ -112,7 +112,7 @@ EOT
; ;
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output): int
{ {
$io = $this->getIO(); $io = $this->getIO();
if ($input->getOption('dev')) { if ($input->getOption('dev')) {

View File

@ -54,7 +54,7 @@ class Composer extends PartialComposer
public const VERSION = '@package_version@'; public const VERSION = '@package_version@';
public const BRANCH_ALIAS_VERSION = '@package_branch_alias_version@'; public const BRANCH_ALIAS_VERSION = '@package_branch_alias_version@';
public const RELEASE_DATE = '@release_date@'; public const RELEASE_DATE = '@release_date@';
public const SOURCE_VERSION = '2.6.999-dev+source'; public const SOURCE_VERSION = '2.7.999-dev+source';
/** /**
* Version number of the internal composer-runtime-api package * Version number of the internal composer-runtime-api package