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()
... (truncated)
Commits
d8111ac [Console] Fix null handling in formatAndWrap()
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.5.
Release notes
Sourced from symfony/console's releases.
... (truncated)
Changelog
Sourced from symfony/console's changelog.
... (truncated)
Commits
d8111ac
[Console] Fix null handling in formatAndWrap()5caf5d8
[Console] fix testsa6d8f85
[Console] Fix typo in completion command help text468f17e
Merge branch '4.4' into 5.45a50085
[Console] Revert StringInput bc break from #45088a2a86ec
Merge branch '5.3' into 5.479e0887
Merge branch '4.4' into 5.30259f01
Silence isatty warnings during tty detection2f90325
Merge branch '4.4' into 5.332ba2ac
[Console] Fix PHP 8.1 deprecation in ChoiceQuestionDependabot 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)