We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695cab0 commit e25de14Copy full SHA for e25de14
1 file changed
docs/en/appendices/5-4-migration-guide.md
@@ -34,6 +34,14 @@ The CakePHP version header in help output is now only shown when the CakePHP
34
version can be determined. When used outside a CakePHP application (where the
35
version is reported as `unknown`), the header is omitted.
36
37
+### Events
38
+
39
+Events being registered in either `Application::events()` or `Plugin::events()`
40
+now work in both web and CLI contexts. It is therefore highly recommended to
41
+move your event listeners from the `config/bootstrap.php` file to the
42
+`events()` method in your `Application` or `Plugin` class.
43
+See [Application and Plugin Events](../core-libraries/events#registering-event-listeners) for more details.
44
45
### I18n
46
47
- `Number::parseFloat()` now returns `null` instead of `0.0` when parsing
0 commit comments