Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/en/appendices/5-4-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ bin/cake upgrade rector --rules cakephp54 <path/to/app/src>
### Commands

- `BaseCommand::initialize()` is now being triggered **AFTER** arguments and options have been parsed.
- Command instances are now added to the event manager by default. This means, that event hook methods
like `beforeExecute` and `afterExecute` are always triggered. To avoid duplicate triggering you should remove
any existing calls attaching a command to the event manager from your app code.

### Console

Expand Down