Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions docs/en/appendices/5-4-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ bin/cake upgrade rector --rules cakephp54 <path/to/app/src>

## 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.
Expand Down
7 changes: 4 additions & 3 deletions docs/en/console-commands/input-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<?php
namespace App\Command\Helper;
namespace App\Console\Helper;

use Cake\Console\Helper;

Expand Down Expand Up @@ -74,7 +74,8 @@ parameters. However, because Console Helpers are vanilla classes they can
implement additional methods that take any form of arguments.

> [!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

Expand Down