Closed wmertens closed 3 years ago
@wmertens ocramius/package-versions:^2
removed the file_put_contents()
behavior overall, as it was indeed a known problem: see https://github.com/Ocramius/PackageVersions/issues/106
I warmly endorse an upgrade, which should lift the problem overall.
Thank you for your swift response!
I'm a total php noob though, is there a way to force v2 use when it's not even in composer.json
I would endorse adding a "conflict": {"ocramius/package-versions": "<2"}
there, then run a composer update --dry-run
to see what it will change, and if there's any dependency still requiring the old version.
I see that the latest version of doctrine/migrations still uses v1.8 :-(
@wmertens before reporting an issue there only, do a composer why-not ocramius/package-versions:2
to get a full report of everything that is not compatible.
Since PackageVersions almost didn't change over the years, I suggest sending an upstream patch to doctrine/migrations
to be "require": {"ocramius/package-versions": "^1.8 || ^2"}
.
Also not sure why they would require composer/package-versions-deprecated
:shrug:
I'm trying to package uvdesk, which is based on doctrine, which seems to use this package. I used composer2nix to generate expressions, and when I try to build I get this error:
Any thoughts on how I could generate the package cache outside of the build sandbox? I saw that you're using NixOS :)