Skip to content

Commit 1e76648

Browse files
committed
minor #6631 Fix console.exception and console.terminate order (Julien Falque)
This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes #6631). Discussion ---------- Fix console.exception and console.terminate order The `ConsoleEvents::TERMINATE`event is actually dispatched **after** the `ConsoleEvents::EXCEPTION` event in Symfony 2.3 and 2.7+. Commits ------- 608747a Fix console.exception and console.terminate order
2 parents e665c92 + 608747a commit 1e76648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Listeners receive a
124124
.. tip::
125125

126126
This event is also dispatched when an exception is thrown by the command.
127-
It is then dispatched just before the ``ConsoleEvents::EXCEPTION`` event.
127+
It is then dispatched just after the ``ConsoleEvents::EXCEPTION`` event.
128128
The exit code received in this case is the exception code.
129129

130130
The ``ConsoleEvents::EXCEPTION`` Event

0 commit comments

Comments
 (0)