diff --git a/docs/en/appendices/5-4-migration-guide.md b/docs/en/appendices/5-4-migration-guide.md index 7f23cfc5c2..296ed8fcd4 100644 --- a/docs/en/appendices/5-4-migration-guide.md +++ b/docs/en/appendices/5-4-migration-guide.md @@ -19,6 +19,9 @@ bin/cake upgrade rector --rules cakephp54 ### 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