symfony/console breaking changes
Updated December 4, 2026
On this page
Latest version v8.2.0, released November 28, 2026. MIT license. Source repository
Its v8.0.0-BETA1 release requires PHP 8.4 or later. PHP end of life dates.
- From v7.0.0 to v8.0.0: 13 breaking changes in 2 versions.
- From v3.0.0 to v8.0.0: 703 breaking changes in 9 versions.
symfony/console v8.0.0 breaking changes
- Removed
Symfony\Component\Console\Command\Command::getDefaultDescription
Symfony\Component\Console\Command\Command::getDefaultDescription was removed in symfony/console v8.0.0 packagist.org - Removed
Symfony\Component\Console\Command\Command::getDefaultName
Symfony\Component\Console\Command\Command::getDefaultName was removed in symfony/console v8.0.0 packagist.org - Signature changed
Symfony\Component\Console\Attribute\AsCommand
Was class AsCommand; now final class AsCommand. packagist.org - Signature changed
Symfony\Component\Console\Command\Command::configure
Was protected function configure(); now protected function configure(): void. packagist.org - Signature changed
Symfony\Component\Console\Command\Command::initialize
Was protected function initialize(InputInterface $input, OutputInterface $output); now protected function initialize(InputInterface $input, OutputInterface $output): void. packagist.org - Signature changed
Symfony\Component\Console\Command\Command::interact
Was protected function interact(InputInterface $input, OutputInterface $output); now protected function interact(InputInterface $input, OutputInterface $output): void. packagist.org - Signature changed
Symfony\Component\Console\Helper\ProgressIndicator::finish
Was public function finish(string $message/*, ?string $finishedIndicator = null */): void; now public function finish(string $message, ?string $finishedIndicator = null): void. packagist.org
symfony/console v8.0.0-BETA1 breaking changes
- Removed
Code that was deprecated in the console component has been removed, so code relying on it will break. github.com - Removed
Symfony 8 requires PHP 8.4 or later, so older PHP versions can no longer run it. github.com - Removed
Symfony\Component\Console\Application::add
The deprecated Application::add() methods were removed, so code calling them will stop working. packagist.org - Behavior changed
AsCommand
The AsCommand attribute class can no longer be extended, so subclasses of it will fail. github.com - Signature changed
New parameters are declared explicitly on interfaces and methods, so implementations must match their signatures. github.com - Signature changed
Methods now declare return types, so overrides with incompatible return types will fail. github.com
symfony/console v7.0.0 breaking changes
- Removed
Symfony\Component\Console\Command\Command::$defaultDescription
Symfony\Component\Console\Command\Command::$defaultDescription was removed in symfony/console v7.0.0 packagist.org - Removed
Symfony\Component\Console\Command\Command::$defaultName
Symfony\Component\Console\Command\Command::$defaultName was removed in symfony/console v7.0.0 packagist.org - Removed
Symfony\Component\Console\Input\StringInput::REGEX_STRING
Symfony\Component\Console\Input\StringInput::REGEX_STRING was removed in symfony/console v7.0.0 packagist.org - Signature changed
Symfony\Component\Console\Application::add
Was public function add(Command $command); now public function add(Command $command): ?Command. packagist.org - Signature changed
Symfony\Component\Console\Application::addCommands
Was public function addCommands(array $commands); now public function addCommands(array $commands): void. packagist.org - Signature changed
Symfony\Component\Console\Application::all
Was public function all(?string $namespace = null); now public function all(string $namespace = null): array. packagist.org - Signature changed
Symfony\Component\Console\Application::configureIO
Was protected function configureIO(InputInterface $input, OutputInterface $output); now protected function configureIO(InputInterface $input, OutputInterface $output): void. packagist.org - Signature changed
Symfony\Component\Console\Application::doRun
Was public function doRun(InputInterface $input, OutputInterface $output); now public function doRun(InputInterface $input, OutputInterface $output): int. packagist.org - Signature changed
Symfony\Component\Console\Application::doRunCommand
Was protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output); now protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output): int. packagist.org - Signature changed
Symfony\Component\Console\Application::find
Was public function find(string $name); now public function find(string $name): Command. packagist.org
And 139 more in this version. Sign up to see every change
symfony/console v7.0.0-BETA1 breaking changes
- Removed
Code paths that were deprecated earlier are removed, so code relying on them must be updated. github.com - Removed
The package now requires PHP 8.2 or later, so older PHP versions can no longer run it. github.com - Removed
Deprecated code paths were removed, so code relying on them must be updated to the replacement APIs. github.com - Removed
Deprecated methods and options in the component were removed; code using them must switch to the replacements. github.com - Removed
Compatibility layers added alongside new methods and parameters are removed. github.com - Removed
Deprecated Console APIs are removed, so code still using them must be migrated. github.com - Removed
Compatibility layers for methods and parameters added in 6.x were removed, so callers must use the current signatures. github.com - Configuration changed
The package now needs PHP 8.2 as the minimum version, so older PHP versions can no longer install it. github.com - Signature changed
Methods now declare native return types, which can break subclasses that override them with incompatible return types. github.com - Signature changed
Methods now declare native PHP return types, so overrides and callers may need matching signatures. github.com
And 1 more in this version. Sign up to see every change
symfony/console v6.0.0 breaking changes
- Removed
Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass::__construct
Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass::__construct was removed in symfony/console v6.0.0 packagist.org - Removed
Symfony\Component\Console\Helper\Helper::strlen
Symfony\Component\Console\Helper\Helper::strlen was removed in symfony/console v6.0.0 packagist.org - Removed
Symfony\Component\Console\Helper\Helper::strlenWithoutDecoration
Symfony\Component\Console\Helper\Helper::strlenWithoutDecoration was removed in symfony/console v6.0.0 packagist.org - Removed
Symfony\Component\Console\Input\StringInput::REGEX_UNQUOTED_STRING
Symfony\Component\Console\Input\StringInput::REGEX_UNQUOTED_STRING was removed in symfony/console v6.0.0 packagist.org - Signature changed
Symfony\Component\Console\Application::areExceptionsCaught
Was public function areExceptionsCaught(); now public function areExceptionsCaught(): bool. packagist.org - Signature changed
Symfony\Component\Console\Application::extractNamespace
Was public function extractNamespace(string $name, ?int $limit = null); now public function extractNamespace(string $name, int $limit = null): string. packagist.org - Signature changed
Symfony\Component\Console\Application::findNamespace
Was public function findNamespace(string $namespace); now public function findNamespace(string $namespace): string. packagist.org - Signature changed
Symfony\Component\Console\Application::getAbbreviations
Was public static function getAbbreviations(array $names); now public static function getAbbreviations(array $names): array. packagist.org - Signature changed
Symfony\Component\Console\Application::getCommandName
Was protected function getCommandName(InputInterface $input); now protected function getCommandName(InputInterface $input): ?string. packagist.org - Signature changed
Symfony\Component\Console\Application::getDefaultCommands
Was protected function getDefaultCommands(); now protected function getDefaultCommands(): array. packagist.org
And 285 more in this version. Sign up to see every change
symfony/console v6.0.0-RC1 breaking changes
- Default changed
ansi
The ansi option now defaults to null instead of a fixed value, which can change output formatting for existing code. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
symfony/console v6.0.0-BETA1 breaking changes
- Removed
Symfony 6 moves to PHP 8, so PHP 8 is the minimum runtime. github.com - Removed
Symfony\Component\Console\Helper\HelperSet::getCommand
HelperSet::getCommand() is removed. Code that calls it must stop doing so. packagist.org
And 2 more in this version.
symfony/console v5.0.0 breaking changes
- Removed
Hidden commands can no longer be found using an abbreviation. Use the full command name instead. github.com - Removed
Command.execute
Command::execute() can no longer return null. Return 0 instead. github.com
And 152 more in this version.
symfony/console v4.0.0 breaking changes
- Removed
ConsoleExceptionEvent
The ConsoleExceptionEvent class was removed; code using it must stop using it. github.com - Removed
Symfony\Component\Console\Application::getTerminalDimensions
Application::getTerminalDimensions() was removed; code calling it will fail and must stop using it. packagist.org
And 74 more in this version.
symfony/console v3.0.0 breaking changes
- Removed
Symfony\Component\Console\Application::asText
Symfony\Component\Console\Application::asText was removed in symfony/console v3.0.0 packagist.org - Removed
Symfony\Component\Console\Application::asXml
Symfony\Component\Console\Application::asXml was removed in symfony/console v3.0.0 packagist.org
And 25 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.