diff --git a/docs/en/appendices/5-4-migration-guide.md b/docs/en/appendices/5-4-migration-guide.md index d98f652728..2fd657d026 100644 --- a/docs/en/appendices/5-4-migration-guide.md +++ b/docs/en/appendices/5-4-migration-guide.md @@ -38,6 +38,11 @@ bin/cake upgrade rector --rules cakephp54 ## Deprecations +### Command Helpers + +- Command helpers under the `Cake\Command\Helper` namespace have been deprecated. + Instead they have been moved under the `Cake\Console\Helper` namespace. + ### Mailer - The `Mailer::$name` property is unused and has been deprecated. diff --git a/docs/en/console-commands/input-output.md b/docs/en/console-commands/input-output.md index 492511ffb6..e70f28ceff 100644 --- a/docs/en/console-commands/input-output.md +++ b/docs/en/console-commands/input-output.md @@ -39,12 +39,12 @@ $progress->draw(); While CakePHP comes with a few command helpers you can create more in your application or plugins. As an example, we'll create a simple helper to generate -fancy headings. First create the **src/Command/Helper/HeadingHelper.php** and put +fancy headings. First create the **src/Console/Helper/HeadingHelper.php** and put the following in it: ```php [!NOTE] -> Helpers can also live in `src/Shell/Helper` for backwards compatibility. +> Helpers can also live in `src/Command/Helper` for backwards compatibility with +> CakePHP 5.3 and below. ## Built-In Helpers