Skip to content

Commit eeaa2f7

Browse files
committed
Update symfony/console in changelog-generator to v7.4
Amp-Thread-ID: https://ampcode.com/threads/T-01a176c6-528a-7430-b296-e66930d153b4
1 parent 428dad0 commit eeaa2f7

3 files changed

Lines changed: 44 additions & 45 deletions

File tree

‎changelog-generator/composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "phpstan/changelog-generator",
33
"require": {
4-
"php": "^8.1",
4+
"php": "^8.2",
55
"php-http/client-common": "^2.5",
66
"php-http/discovery": "^1.14",
77
"guzzlehttp/guzzle": "^7.4",
88
"http-interop/http-factory-guzzle": "^1.2",
99
"knplabs/github-api": "^3.7",
10-
"symfony/console": "^6.1"
10+
"symfony/console": "^7.4"
1111
},
1212
"autoload": {
1313
"psr-4": {

‎changelog-generator/composer.lock‎

Lines changed: 40 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎changelog-generator/run.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function configure(): void
4444
$this->addOption('include-headings', null, InputOption::VALUE_NONE);
4545
}
4646

47-
protected function execute(InputInterface $input, OutputInterface $output)
47+
protected function execute(InputInterface $input, OutputInterface $output): int
4848
{
4949
$token = $_SERVER['GITHUB_PAT_TOKEN'];
5050

@@ -208,7 +208,7 @@ private function exec(array $commandParts): string
208208
};
209209

210210
$application = new Application();
211-
$application->add($command);
211+
$application->addCommand($command);
212212
$application->setDefaultCommand('run', true);
213213
$application->setCatchExceptions(false);
214214
$application->run();

0 commit comments

Comments
 (0)