Skip to content

Commit

Permalink
Add @phpcsSuppress to Command::execute
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Oct 4, 2023
1 parent f2a9267 commit 9bba47f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/bake/Command/command.twig
Expand Up @@ -48,6 +48,7 @@ class {{ name }}Command extends Command
* @param \Cake\Console\Arguments $args The command arguments.
* @param \Cake\Console\ConsoleIo $io The console io
* @return null|void|int The exit code or null for success
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
*/
public function execute(Arguments $args, ConsoleIo $io)
{
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Command/testBakePlugin.php
Expand Up @@ -33,6 +33,7 @@ public function buildOptionParser(ConsoleOptionParser $parser): ConsoleOptionPar
* @param \Cake\Console\Arguments $args The command arguments.
* @param \Cake\Console\ConsoleIo $io The console io
* @return null|void|int The exit code or null for success
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
*/
public function execute(Arguments $args, ConsoleIo $io)
{
Expand Down

0 comments on commit 9bba47f

Please sign in to comment.