Add TesterTrait::assertCommandIsSuccessful() to test command
Deprecate HelperSet::setCommand() and getCommand() without replacement
5.3
Add GithubActionReporter to render annotations in a Github Action
Add InputOption::VALUE_NEGATABLE flag to handle --foo/--no-foo options
Add the Command::$defaultDescription static property and the description attribute
on the console.command tag to allow the list command to instantiate commands lazily
Add option --short to the list command
Add support for bright colors
Add #[AsCommand] attribute for declaring commands on PHP 8
Add Helper::width() and Helper::length()
The --ansi and --no-ansi options now default to null.
5.2.0
Added SingleCommandApplication::setAutoExit() to allow testing via CommandTester
added support for multiline responses to questions through Question::setMultiline()
and Question::isMultiline()
Added SignalRegistry class to stack signals handlers
Added support for signals:
Added Application::getSignalRegistry() and Application::setSignalsToDispatchEvent() methods
Added SignalableCommandInterface interface
Added TableCellStyle class to customize table cell
Removed php prefix invocation from help messages.
5.1.0
Command::setHidden() is final since Symfony 5.1
Add SingleCommandApplication
Add Cursor class
5.0.0
removed support for finding hidden commands using an abbreviation, use the full name instead
removed TableStyle::setCrossingChar() method in favor of TableStyle::setDefaultCrossingChar()
removed TableStyle::setHorizontalBorderChar() method in favor of TableStyle::setDefaultCrossingChars()
removed TableStyle::getHorizontalBorderChar() method in favor of TableStyle::getBorderChars()
removed TableStyle::setVerticalBorderChar() method in favor of TableStyle::setVerticalBorderChars()
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on symfony/console to permit the latest version.
Release notes
Sourced from symfony/console's releases.
Changelog
Sourced from symfony/console's changelog.
... (truncated)
Commits
ec3661f
Merge branch '5.3' into 5.40af2366
Fix redundant type castsf797eed
bug #44230 [Console] Add Suggestion class for more advanced completion sugges...59d3235
Add Suggestion class for more advanced completion suggestionca66196
minor #44209 Allow v3 contracts where possible (derrabus)c67fced
[HttpKernel][Console] Add Les-Tilleuls.coop as a backer to the README2597010
Allow v3 contracts where possible4c10d71
[Console] fix merge38ad5d8
Merge branch '5.3' into 5.43e7ab8f
Default ansi option to nullDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)