walkor / walkor/webman

Declaration of AppPluginCreateCommand::configure() is not compatible with Symfony\Component\Console\Command\Command::configure()

Open
#450 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.7k
Forks
251
PR merge metrics
No merged PRs in 30d

Description

`php webman make:command db:config`

> PHP Fatal error: Declaration of Webman\Console\Commands\AppPluginCreateCommand::configure() must be compatible with Symfony\Component\Console\Command\Command::configure(): void in \www\webman\vendor\webman\console\src\Commands\AppPluginCreateCommand.php on line 17

depends versions:
composer show
```
symfony/console 8.0.0
webman/console 2.1.9
workerman/webman-framework 2.1.4
workerman/workerman 5.1.6
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `php webman make:command db:config` using the listed package versions. Start with `vendor/webman/console/src/Commands/AppPluginCreateCommand.php` and compare its `configure()` declaration with Symfony Console's `Command::configure()`; done means the command runs without the compatibility fatal error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.