Skip to content
Open
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
9 changes: 8 additions & 1 deletion en/appendices/5-3-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Form

- ``Form::_execute()`` is deprecated. You should rename your ``_execute``
methods to ``process()`` which accepts the same parameters and has the same
return type..
return type.

Http
----
Expand All @@ -58,6 +58,13 @@ ORM
``$table->getBehavior('Sluggable')->slugify()`` instead of ``$table->slugify()``.
- ``EntityTrait::isEmpty()`` is deprecated. Use ``hasValue()`` instead.

Plugin
------

- Loading of plugins without a plugin class is deprecated. For your existing plugins
which don't have one, you can use the ``bin/cake bake plugin MyPlugin --class-only``
command, which will create the file ``plugins/MyPlugin/src/MyPlugin.php``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use MyCustom as plugin name
as the filename would then be MyCustomPlugin instead of MyPluginPlugin.


New Features
============

Expand Down