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

Fatal error on start with symfony/console 7.x #417

Closed
ben-challis opened this issue Jan 3, 2024 · 3 comments · Fixed by #418
Closed

Fatal error on start with symfony/console 7.x #417

ben-challis opened this issue Jan 3, 2024 · 3 comments · Fixed by #418

Comments

@ben-challis
Copy link
Contributor

Bug Report

Q A
BC Break no
Library Version 0.3.26
PHP version 8.3.1

Summary

When trying to run PHPArkitect with symfony/console 7.x, a fatal error happens immediately.

Fatal error: Declaration of Arkitect\CLI\PhpArkitectApplication::getLongVersion() must be compatible with Symfony\Component\Console\Application::getLongVersion(): string

Current behavior

Immediate fatal error.

How to reproduce

Run PHPArkitect with symfony/console >= 7.0.0.

Expected behavior

Works 🙃

@ben-challis
Copy link
Contributor Author

ben-challis commented Jan 15, 2024

Just to be extra clear here, currently PHPArkitect does not work at all on a project running PHP 8.2 that does not explicitly require symfony/console:^6.4 (or any variant below 7).

#414 / 0.3.26 has introduced a pretty major issue. Is there anything else you need from me to get #418 merged and released?

@fain182
Copy link
Collaborator

fain182 commented Jan 15, 2024

Sorry for the delay... released 😉

@ben-challis
Copy link
Contributor Author

This wasn't enough to get it working on Symfony 7, I'll raise another issue and PR to resolve it.

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