Skip to content

Commit

Permalink
Merge pull request #699 from cakephp/ADmad-patch-1
Browse files Browse the repository at this point in the history
Fix CS error and manual link in command template
  • Loading branch information
othercorey authored Jul 28, 2020
2 parents 0a94e42 + d0cc20b commit f6d3eb5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 47 deletions.
5 changes: 2 additions & 3 deletions templates/bake/Command/command.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ declare(strict_types=1);
namespace {{ namespace }}\Command;
use Cake\Console\Arguments;
use Cake\Command\Command;
use Cake\Console\Arguments;
use Cake\Console\ConsoleIo;
use Cake\Console\ConsoleOptionParser;
Expand All @@ -31,8 +31,7 @@ class {{ name }}Command extends Command
/**
* Hook method for defining this command's option parser.
*
* @see https://book.cakephp.org/3.0/en/console-and-shells/commands.html#defining-arguments-and-options
*
* @see https://book.cakephp.org/4/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
41 changes: 0 additions & 41 deletions tests/comparisons/Command/testBake.php

This file was deleted.

5 changes: 2 additions & 3 deletions tests/comparisons/Command/testBakePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

namespace TestBake\Command;

use Cake\Console\Arguments;
use Cake\Command\Command;
use Cake\Console\Arguments;
use Cake\Console\ConsoleIo;
use Cake\Console\ConsoleOptionParser;

Expand All @@ -16,8 +16,7 @@ class ExampleCommand extends Command
/**
* Hook method for defining this command's option parser.
*
* @see https://book.cakephp.org/3.0/en/console-and-shells/commands.html#defining-arguments-and-options
*
* @see https://book.cakephp.org/4/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

0 comments on commit f6d3eb5

Please sign in to comment.