You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because symfony-jsonapi relies on
"nilportugues/json-api": "^2.4"
which relies on
"nilportugues/api-transformer": "^3.0.0"
which relies on
"nilportugues/serializer": "~1.1"
I installed the package about 2 days ago. According to https://getcomposer.org/doc/articles/versions.md#tilde version 1.2 of serializer should have been installed, but it wasn't. Instead I have this in my composer.lock file (excerpt):
snip snip
I'm using your bundle together with Symfony 3. The problem was related to the platform requirements. I added the current serializer version explicitly to my composer.json and got the following error:
Problem 1
- Installation request for nilportugues/serializer ^1.2 -> satisfiable by nilportugues/serializer[1.2.0].
- nilportugues/serializer 1.2.0 requires php >=5.6.0 -> your PHP version (7.1.1) overridden by "config.platform.php" version (5.5.9) does not satisfy that requirement.
In my particular use case it's ok to run composer with --ignore-platform-reqs, it works correctly then.
Hi,
while trying to serialize an object I ran into an issue that was fixed already here:
nilportugues/php-serializer@8489eab
This is because symfony-jsonapi relies on
"nilportugues/json-api": "^2.4"
which relies on
"nilportugues/api-transformer": "^3.0.0"
which relies on
"nilportugues/serializer": "~1.1"
I installed the package about 2 days ago. According to https://getcomposer.org/doc/articles/versions.md#tilde version 1.2 of serializer should have been installed, but it wasn't. Instead I have this in my composer.lock file (excerpt):
snip snip
Any idea what's wrong with the dependencies?
The text was updated successfully, but these errors were encountered: