bake
bake copied to clipboard
Add @phpcsSuppress to `Command::execute`
PHPCS will complain about missing return-type hints when you bake your first command.
Method \App\Command\AppCommand::execute() does not have native return type hint for its return value but it should be possible to add it based on @return
| | annotation "int|null|void".
PHPCBF then adds : int|null|null 🤔
Is there no way to fix the actual phpcs rule to not throw wrong error?
I would recommend opening a Bug ticket or pr for their repo
We can just bake with return Command::SUCCESS.
This pull request is stale because it has been open 30 days with no activity. Remove the stale label or comment on this issue, or it will be closed in 15 days
Re-opened so we can follow up with the recomendation.