Skip to content

Commit

Permalink
minor #52633 Hint that changing input arguments has no effect (fschmtt)
Browse files Browse the repository at this point in the history
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead.

Discussion
----------

Hint that changing input arguments has no effect

| Q             | A
| ------------- | ---
| Branch?       | 7.1
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | #52415
| License       | MIT

Adding a hint to `\Symfony\Component\Console\Event\ConsoleCommandEvent` that changing the input arguments has no effect.

Commits
-------

9ec9ead Add hint that changing input arguments has no effect
  • Loading branch information
fabpot committed Nov 18, 2023
2 parents 2e2fdeb + 9ec9ead commit 823cc1f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Symfony/Component/Console/Event/ConsoleCommandEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
namespace Symfony\Component\Console\Event;

/**
* Allows to do things before the command is executed, like skipping the command or changing the input.
* Allows to do things before the command is executed, like skipping the command or executing code before the command is
* going to be executed.
*
* Changing the input arguments will have no effect.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
Expand Down

0 comments on commit 823cc1f

Please sign in to comment.