Command `getHelper` does not work
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start with the getHelper('question')->ask() call in Shopware's MediaOptimizeCommand.php and compare it with the custom ShopwareCommand.php base class. Reproduce or inspect the reported HelperInterface::ask() error and determine the expected handling for this command; done means the reported call is correctly analyzed without the undefined-method error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hey there 👋
I updated to version 1.1.2 and now I got the following error during the analysis:
Call to an undefined method Symfony\Component\Console\Helper\HelperInterface::ask()
We do not extend directly from Symfony\Component\Console\Command\Command but have an own AbstractCommand instead. could that be a reason? Otherwise I don't see a reason why a call like this, should not work: $this->getHelper('question')->ask()
Command where the error occurs: https://github.com/shopware/shopware/blob/5.7/engine/Shopware/Bundle/MediaBundle/Commands/MediaOptimizeCommand.php#L117
Abstract command: https://github.com/shopware/shopware/blob/5.7/engine/Shopware/Commands/ShopwareCommand.php
thanks in advance and have a nice day 🙂 👋
- Lenguaje dominante
- PHP
- Estrellas
- 800
- Forks
- 104
- Merge medio
- 4 min
- PR fusionados (30 d)
- 1
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de phpstan/phpstan-symfony
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
phpstan/phpstan-symfony#510 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
phpstan/phpstan-symfony#494 · 5 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
phpstan/phpstan-symfony#268 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
phpstan/phpstan-symfony#509 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 48/100
phpstan/phpstan-symfony#466 · 4 comentarios ·
Todos los issues de phpstan/phpstan-symfony
Issues similares
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
sync-en
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
Перевод устарел
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
az-digital/az_quickstart#6047 ·
-
Error when saving email Abiertobug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100