-
Notifications
You must be signed in to change notification settings - Fork 17
allow psr/2 and 3 #29
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
Conversation
This at least allows this package to be installed with the default symfony packages (via --webapp)
Thanks! I suppose failed tests are related to this PR? |
Indeed, this is where I get confused about plug-and-play http clients. The goal, of course, is to be able to install this package after symfony new translation-demo --webapp && cd translation-demo
composer require php-translation/translator
|
Yeah, I understand that we need to allow v3 of psr/log, but will it work if tests still fail? I mean, if we merge this PR - most probably things will still not work anyway for the latest Symfony as failed tests show, right? |
I dunno. I don't understand why it would fail allowing psr-log/3, but I find most of those failures not to be relevant. But it's really hard to even install this bundle on any modern application because of this. And so it feels like in order to preserve compatibility with EOL versions, we sacrificing usability in current ones. We want this to work without telling developers that they have to revert to a years-old library. symfony new translation-demo --webapp && cd translation-demo
composer require php-translation/translator |
It seems this is the problem. So we need to fix the compatibility, I hope it would not break legacy though. Also, some SA tools like PHP CS Fixer and PHPStan builds are failed too. We need to make them green to move forward on it. I also think we should enable PHP 8.3/8.4 in CI, but probably it's good to do in a new PR. Do you want to make the PR? |
Sure. Can we drop some of the PHP versions in the CI? |
Yes, definitely, I think we can keep the only keep 8.3/8.4, but add extra builds to test lowest/highest as it's done so far in the CI, WDYT? Feel free to open a PR to discuss changes there |
So it's there anything we can do to allow this to work? symfony new translation-demo --webapp && cd translation-demo
composer require php-translation/translator |
Yes, that sounds like we should allow the latest psr/log to me, i.e. something you did in this PR |
So this PR was closed, yet symfony new translation-demo --webapp && cd translation-demo
composer require php-translation/translator:dev-master still shows
|
IIRC it was closed by you so it wasn't merged at all, so it makes sense things are still not work |
OK, I've resubmitted a PR. |
This at least allows this package to be installed with the default symfony packages (via --webapp)