Skip to content

Commit

Permalink
Merge pull request #1009 from cakephp/chore/version-update
Browse files Browse the repository at this point in the history
Update CakePHP version in URLs
  • Loading branch information
markstory authored Oct 8, 2024
2 parents b6ced75 + be167ce commit dc3ec51
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/en/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ looks like this::
/**
* Hook method for defining this command's option parser.
*
* @see https://book.cakephp.org/4/en/console-commands/commands.html#defining-arguments-and-options
* @see https://book.cakephp.org/5/en/console-commands/commands.html#defining-arguments-and-options
* @param \Cake\Console\ConsoleOptionParser $parser The parser to be defined
* @return \Cake\Console\ConsoleOptionParser The built parser.
*/
Expand Down Expand Up @@ -172,7 +172,7 @@ And the resultant baked class (**src/Command/FooCommand.php**) looks like this::
/**
* Hook method for defining this command's option parser.
*
* @see https://book.cakephp.org/4/en/console-commands/commands.html#defining-arguments-and-options
* @see https://book.cakephp.org/5/en/console-commands/commands.html#defining-arguments-and-options
* @param \Cake\Console\ConsoleOptionParser $parser The parser to be defined
* @return \Cake\Console\ConsoleOptionParser The built parser.
*/
Expand Down
4 changes: 2 additions & 2 deletions docs/fr/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ ressemble à ceci::
/**
* Méthode hook pour définir le parseur d'option de cette commande.
*
* @see https://book.cakephp.org/4/fr/console-commands/commands.html#defining-arguments-and-options
* @see https://book.cakephp.org/5/fr/console-commands/commands.html#defining-arguments-and-options
* @param \Cake\Console\ConsoleOptionParser $parser Le parseur à définir
* @return \Cake\Console\ConsoleOptionParser Le parseur construit.
*/
Expand Down Expand Up @@ -181,7 +181,7 @@ ressemble à ceci::
/**
* Méthode hook pour définir le parseur d'option de cette commande.
*
* @see https://book.cakephp.org/4/fr/console-commands/commands.html#defining-arguments-and-options
* @see https://book.cakephp.org/5/fr/console-commands/commands.html#defining-arguments-and-options
* @param \Cake\Console\ConsoleOptionParser $parser Le parseur à définir
* @return \Cake\Console\ConsoleOptionParser Le parseur construit.
*/
Expand Down
2 changes: 1 addition & 1 deletion templates/bake/Command/command.twig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class {{ name }}Command extends Command
/**
* Hook method for defining this command's option parser.
*
* @see https://book.cakephp.org/4/en/console-commands/commands.html#defining-arguments-and-options
* @see https://book.cakephp.org/5/en/console-commands/commands.html#defining-arguments-and-options
* @param \Cake\Console\ConsoleOptionParser $parser The parser to be defined
* @return \Cake\Console\ConsoleOptionParser The built parser.
*/
Expand Down
2 changes: 1 addition & 1 deletion templates/bake/Plugin/src/Plugin.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class {{ name }}Plugin extends BasePlugin
*
* @param \Cake\Core\ContainerInterface $container The Container to update.
* @return void
* @link https://book.cakephp.org/4/en/development/dependency-injection.html#dependency-injection
* @link https://book.cakephp.org/5/en/development/dependency-injection.html#dependency-injection
*/
public function services(ContainerInterface $container): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/comparisons/Command/testBakePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ExampleCommand extends Command
/**
* Hook method for defining this command's option parser.
*
* @see https://book.cakephp.org/4/en/console-commands/commands.html#defining-arguments-and-options
* @see https://book.cakephp.org/5/en/console-commands/commands.html#defining-arguments-and-options
* @param \Cake\Console\ConsoleOptionParser $parser The parser to be defined
* @return \Cake\Console\ConsoleOptionParser The built parser.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function console(CommandCollection $commands): CommandCollection
*
* @param \Cake\Core\ContainerInterface $container The Container to update.
* @return void
* @link https://book.cakephp.org/4/en/development/dependency-injection.html#dependency-injection
* @link https://book.cakephp.org/5/en/development/dependency-injection.html#dependency-injection
*/
public function services(ContainerInterface $container): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function console(CommandCollection $commands): CommandCollection
*
* @param \Cake\Core\ContainerInterface $container The Container to update.
* @return void
* @link https://book.cakephp.org/4/en/development/dependency-injection.html#dependency-injection
* @link https://book.cakephp.org/5/en/development/dependency-injection.html#dependency-injection
*/
public function services(ContainerInterface $container): void
{
Expand Down

0 comments on commit dc3ec51

Please sign in to comment.