Psr\Log version 1? #194
Answered
by
Guikingone
xaviermarchegay
asked this question in
Q&A
|
I would rather open a discussion than a PR. It is normal that psr\log is still in the version 1? I think that the version 2 could be used (from php 7.4). Regards |
Answered by
Guikingone
Oct 5, 2021
Replies: 2 comments 2 replies
|
Hi @xaviermarchegay 👋🏻 Hum, for now, "psr/log": "^1.0 || ^2.0",WDYT? EDIT: I've opened a PR here: #195 🙂 |
0 replies
Answer selected by
xaviermarchegay
|
Ah yes,I thought 2.0 was >7.4 and 3.0 was 8.0 but you are right. 3.0 introduces the return types so unless I am mistaken I guess you could technically add 3.0 to the composer.json? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @xaviermarchegay 👋🏻
Hum, for now,
psr/logat2.0requires PHP>=8.0, this bundle support PHP starting from 7.4 so I think it could be added via:WDYT?
EDIT: I've opened a PR here: #195 🙂