Undefined method Application::add() when running dbtoolsbundle standalone
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Reproduce by running the standalone entry point with symfony/console 8 installed, then search the repository for Application::add() — the standalone application registers commands there and needs the non-deprecated addCommand() call instead. Check the composer constraint that advertises symfony/console 8 support, and run the existing console/standalone tests afterwards. Done when the standalone binary boots and lists its commands without the undefined-method error.
Written by the indexing model from the issue text.
Description
Since Symfony Console 8.0, the deprecated Application::add() method has been removed.
Version 2.2.2 declares support for symfony/console 8.0+, but the standalone implementation still calls Application::add(), resulting in a runtime error:
Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Console\Application::add() in ...
- Dominant language
- PHP
- Stars
- 235
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from makinacorpus/DbToolsBundle
-
Command-line option --config is not applied when creating database connections in standalone modeOpen
Difficulty 3/5 1-2 days Newbie friendliness 62/100
makinacorpus/DbToolsBundle#260 ·
-
Laravel 12.0 & 13.0 supportMay be free again @Lonnytunes claimed this 169 days ago, and no pull request is open. Openenhancement good first issue
makinacorpus/DbToolsBundle#254 · 6 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
makinacorpus/DbToolsBundle#252 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
makinacorpus/DbToolsBundle#237 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
makinacorpus/DbToolsBundle#236 ·
All issues in makinacorpus/DbToolsBundle
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day