Improve truecolor terminal detection in some cases
Add support for 256 color terminals (conversion from Ansi24 to Ansi8 if terminal is capable of it)
Deprecate calling *Command::setApplication(), *FormatterStyle::setForeground/setBackground(), Helper::setHelpSet(), Input*::setDefault(), Question::setAutocompleterCallback/setValidator()without any arguments
Change the signature of OutputFormatterStyleInterface::setForeground/setBackground() to setForeground/setBackground(?string)
Change the signature of HelperInterface::setHelperSet() to setHelperSet(?HelperSet)
6.1
Add support to display table vertically when calling setVertical()
Add method __toString() to InputInterface
Added OutputWrapper to prevent truncated URL in SymfonyStyle::createBlock.
Deprecate Command::$defaultName and Command::$defaultDescription, use the AsCommand attribute instead
Add suggested values for arguments and options in input definition, for input completion
Add $resumeAt parameter to ProgressBar#start(), so that one can easily 'resume' progress on longer tasks, and still get accurate getEstimate() and getRemaining() results.
6.0
Command::setHidden() has a default value (true) for $hidden parameter and is final
Remove Helper::strlen(), use Helper::width() instead
Remove Helper::strlenWithoutDecoration(), use Helper::removeDecoration() instead
AddConsoleCommandPass can not be configured anymore
Remove HelperSet::setCommand() and getCommand() without replacement
5.4
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.
... (truncated)
Commits
75d4749 [Console] Fix OutputInterface options int-mask for PhpStan
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 6.1.8 to 6.2.0.
Release notes
Sourced from symfony/console's releases.
Changelog
Sourced from symfony/console's changelog.
... (truncated)
Commits
75d4749
[Console] Fix OutputInterface options int-mask for PhpStan54f790f
Merge branch '6.1' into 6.242af19c
Merge branch '6.1' into 6.2d415a1e
minor #48243 Fix some native constant and function invocations (fancyweb)1aab387
Merge branch '6.1' into 6.25e86659
Fix some native constant and function invocations902b698
Merge branch '6.1' into 6.2e308591
Use ??= moreb0acb1e
Merge branch '6.1' into 6.2Dependabot 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)