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
Wrong set requirments of YII #18431
Comments
Please refer to specfic problems in eg. |
Thanks for posting in our issue tracker.
Thanks! This is an automated comment, triggered by adding the label |
I was attempting to download thru composer the avaliable templates (basic and advanced) and I had recieved errors, like for example the one, that my version of PHP (8.0) is above the set version limit (<8.0). When I had downloaded it as archives, I had recieved the same errors when I tryed to download requirments thru composer |
I've checked Yii main package and both basic and advanced templates, all require just the minimum version of PHP, not limiting the maximum one. This most probably comes from one of the additional dependencies, the question is which one. Please provide the composer message you see when trying to install dependencies. |
I paste a dump of whole download process, that you can see the whole situation from the begining to the end: pastebin dump |
that's too, but the main problem is the line above it
Note: when I was looking over the files, I saw that this limit was showing up by many dependanties, with was probably the reason of blockof download. Someone has (unessecary) set a upper limit for PHP, with blocks Yii from working after the PHP got updated to version 8 |
That's what I am referring to as well. That is https://github.com/Codeception/module-yii2. They have a php8 version in development. And here you can see why, so it's not 'unessecary'. |
the question is, why there is no info on the download page that the actual version won't work with php8? if there would be one then the issue wouldn't become reported in the first place. Any idea about, when a working version will be avaliable ? |
You're still barking up the wrong tree. Please report to https://github.com/Codeception/module-yii2 |
The Yii itself works well with PHP 8. Codeception does not yet. |
Since the issue can't be solved from within Yii, closing. |
I want to report that requirments for Yii are set wrongly and they dosn't allow the framework to work.
For example, in many requirments is set an unnessecary set a fixed versions or a upper limits of it.
To fix this issue, please replace in the requirments that instead of fixed ones were fixed a actual version and above ( for example: >= 1.0) or that it would allow any version ("*")
Please add into the standard above requirment, plus that the notification of "^", "~", "<", "<=" won't be used anymore to preventing that Yii stop to become usable after it's components updates, with would become excluded by the limiting the version rules
The text was updated successfully, but these errors were encountered: