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)
Bumps symfony/console from 5.3.11 to 5.4.9.
Release notes
Sourced from symfony/console's releases.
... (truncated)
Changelog
Sourced from symfony/console's changelog.
... (truncated)
Commits
829d5d1
Complete negatable options1894919
Merge branch '4.4' into 5.4cce7a9f
[Console] Fixes "Incorrectly nested style tag found" error when using multi-l...441c306
Fix aliases handling in command name completionf7e29ec
Merge branch '4.4' into 5.47216004
Fix CS in Console Table after #45565cf62f08
Suppress unhandled error in some specific use-cases.0697438
Merge branch '4.4' into 5.44f43a3f
Merge branch '4.4' into 5.43aac1c4
[Console] Better required argument check in InputArgumentDependabot 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)