You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-7.0.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,13 @@ Symfony 6.4 and Symfony 7.0 will be released simultaneously at the end of Novemb
5
5
release process, both versions will have the same features, but Symfony 7.0 won't include any deprecated features.
6
6
To upgrade, make sure to resolve all deprecation notices.
7
7
8
+
Console
9
+
-------
10
+
11
+
* Remove `Command::$defaultName` and `Command::$defaultDescription`, use the `#[AsCommand]` attribute instead
12
+
* Remove `StringInput::REGEX_STRING`
13
+
* Passing null to `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()` must be done explicitly
trigger_deprecation('symfony/console', '6.3', 'Not returning an exit code from "%s::handleSignal()" is deprecated, return "false" to keep the command running or "0" to exit successfully.', get_debug_type($command));
$this->signalRegistry->register($signal, function (int$signal) use ($command): void {
1048
1008
$exitCode = $command->handleSignal($signal);
1049
-
// BC layer for Symfony <= 5
1050
-
if (null === $exitCode) {
1051
-
trigger_deprecation('symfony/console', '6.3', 'Not returning an exit code from "%s::handleSignal()" is deprecated, return "false" to keep the command running or "0" to exit successfully.', get_debug_type($command));
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,13 @@
1
1
CHANGELOG
2
2
=========
3
3
4
+
7.0
5
+
---
6
+
7
+
* Remove `Command::$defaultName` and `Command::$defaultDescription`, use the `AsCommand` attribute instead
8
+
* Remove `StringInput::REGEX_STRING`
9
+
* Passing null to `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()` must be done explicitly
0 commit comments