Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP fatal error when running "generate" #444

Open
bretrzaun opened this issue Sep 2, 2024 · 1 comment
Open

PHP fatal error when running "generate" #444

bretrzaun opened this issue Sep 2, 2024 · 1 comment

Comments

@bretrzaun
Copy link

bretrzaun commented Sep 2, 2024

Describe the bug
Running 'generate' reports:

Fatal error: Declaration of Todaymade\Daux\Console\Generate::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /app/vendor/daux/daux.io/libs/Console/Generate.php on line 53
Script daux generate handling the doc event returned with error code 255

To Reproduce
Steps to reproduce the behavior:

  1. Create project with dependencies
  • symfony/console (v7.1.4)
  • daux/daux.io (0.22.2)
  1. run 'daux generate'
@bretrzaun
Copy link
Author

This has been unnoted because according to the composer.json "symfony/console" ^7 is allowed, but composer.lock sticks the version to 6, which is why the tests will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant