Skip to content

Commit

Permalink
Update symfony packages to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and core23 committed May 25, 2024
1 parent 5af1565 commit 3f5153a
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
uses: "nucleos/actions/.github/workflows/continuous-integration.yml@main"
with:
PHP_EXTENSIONS: "mbstring, json, mongodb"
SYMFONY_VERSIONS: "6.3"
SYMFONY_VERSIONS: "7.0"
secrets:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"require": {
"php": "^8.2",
"ext-json": "*",
"symfony/console": "^6.3",
"symfony/dependency-injection": "^6.3",
"symfony/process": "^6.3",
"symfony/console": "^7.0",
"symfony/dependency-injection": "^7.0",
"symfony/process": "^7.0",
"vierbergenlars/php-semver": "^3.0.4"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/Command/ChangesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
use Nucleos\Relazy\Context;
use Nucleos\Relazy\Exception\NoReleaseFoundException;
use Nucleos\Relazy\Output\Console;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;

#[AsCommand(name: 'changes')]
final class ChangesCommand extends BaseCommand
{
private const EXCLUDE_MERGE_COMMITS = 'exclude-merge-commits';

private const FILES = 'files';

protected static $defaultName = 'changes';

protected function configure(): void
{
$this->setDescription('Shows the list of changes since last release');
Expand Down
4 changes: 2 additions & 2 deletions src/Command/CurrentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
use Nucleos\Relazy\Context;
use Nucleos\Relazy\Exception\NoReleaseFoundException;
use Nucleos\Relazy\Output\Console;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;

#[AsCommand(name: 'current')]
final class CurrentCommand extends BaseCommand
{
private const VCS_TAG = 'vcs-tag';

private const RAW = 'raw';

protected static $defaultName = 'current';

protected function configure(): void
{
$this->setDescription('Display information about the current release');
Expand Down
4 changes: 2 additions & 2 deletions src/Command/ReleaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
use Nucleos\Relazy\Interaction\InteractionRequestAware;
use Nucleos\Relazy\Interaction\InteractionType;
use Nucleos\Relazy\Output\Console;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

#[AsCommand(name: 'release')]
final class ReleaseCommand extends BaseCommand
{
private const CONFIRM_FIRST = 'confirm-first';

private const DRY_RUN = 'dry-run';

protected static $defaultName = 'release';

protected function configure(): void
{
$this->setDescription('Release a new version of the project');
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"phpunit/phpunit": "^10.1.2",
"psalm/plugin-phpunit": "^0.19.0",
"psalm/plugin-symfony": "^5.0.3",
"symfony/phpunit-bridge": "^6.2.7",
"symfony/phpunit-bridge": "^7.0.0",
"vimeo/psalm": "^5.9"
},
"config": {
Expand Down
18 changes: 9 additions & 9 deletions vendor-bin/tools/composer.lock

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

0 comments on commit 3f5153a

Please sign in to comment.