-
Notifications
You must be signed in to change notification settings - Fork 145
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
Was 9.9.99 removed on purpose? #167
Comments
Do you have If so: try to replace it with |
@glensc I know there is, but because several packages (like https://github.com/nelmio/NelmioCorsBundle) have a hard dependency like this:
It can not install it. |
Hi @jdreesen,
Well, our
That is weird, though.
I've tried, but no dice:
I would if i could, but it's other packages requiring it. I've also opened an issue on the other end, but it seems like it's not maintained actively: nelmio/NelmioSecurityBundle#236 |
@bobdenotter perhaps the original problem is resolved (missing tag restored), or there's something in your existing composer dependencies causing conflict that 9.99.99 won't be picked. as installing to a blank repository with PHP 7.3 works okay. thus, provide an actual reproducer of the problem (and try it yourself), perhaps publish it to gist. mkdir random-compat-167
cd random-compat-167
composer require nelmio/security-bundle
altho using strict dependency like "9.99.99" is calling for problems like this, so downstream project needs to be fixed. but then again it's this project fault for suggestion such use-case in the project readme: EDIt: the project readme doesn't actually say to use exactly "9.99.99" in dependencies, but only in "replaces", altho now that 9.99.100 is released, that recommendation is also invalid. perhaps the new value should be "replaces: 9.99.999", so this project has room to make 101-998 releases? |
Hi @glensc,
That looks like it worked! Thanks. In the sense that I can now run
Yes, I agree 100%. :-) |
if you're using PHP 8.1, you can utilize the random_bytes() function provided by PHP's core random extension to generate cryptographically secure random bytes. This function is available starting from PHP 7.0 and is recommended for generating random data in PHP. and so you do not need to use random_compat for that.
|
Did you post this in the wrong repository? Which project has |
Hi,
Several packages (like https://github.com/nelmio/NelmioCorsBundle) have a hard dependency like this:
They can't be installed anymore:
The text was updated successfully, but these errors were encountered: