Skip to content

Commit c280949

Browse files
committed
Migrated from Symfony\Component\Console\Application#add() (deprecated) to #addCommand()
1 parent 85dc328 commit c280949

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/roave-backward-compatibility-check.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ static function (string $installationPath) use ($composerIo): Installer {
327327
),
328328
);
329329

330-
$application->add($apiCompareCommand);
330+
$application->addCommand($apiCompareCommand);
331331
$application->setDefaultCommand('roave-backwards-compatibility-check:assert-backwards-compatible');
332332

333333
$output->getErrorOutput()

0 commit comments

Comments
 (0)