Closed MartkCz closed 6 years ago
Hi, do you really need nettrine/annotations? This package is suitable for writing your own annotations.
There is a special extension just for ORM.
Take a look - https://github.com/nettrine/orm/tree/master/.docs#minimal-configuration
extensions:
orm.annotations: Nettrine\ORM\DI\OrmAnnotationsExtension
orm.annotations:
paths:
- App/Model/Database/Entity
@f3l1x Either way nettrine/annotations should not be locked to one specific version of doctrine/annotations. This should probably be ^1.4.0
instead.
You're right guys. I will move it to PHP 7.1 and unlock the version.
Hi @f3l1x any progress on this please? We are migrating from kdyby packages to nettrine+contributte, use own annotations and have same problem:
Problem 1
- Installation request for nettrine/orm ^0.1 -> satisfiable by nettrine/orm[v0.1].
- nettrine/orm v0.1 requires doctrine/annotations ^1.6.0 -> satisfiable by doctrine/annotations[v1.6.0].
- Can only install one of: doctrine/annotations[v1.6.0, v1.4.0].
- Can only install one of: doctrine/annotations[v1.4.0, v1.6.0].
- nettrine/annotations v0.1 requires doctrine/annotations 1.4.0 -> satisfiable by doctrine/annotations[v1.4.0].
- Installation request for nettrine/annotations ^0.1 -> satisfiable by nettrine/annotations[v0.1].
Should be fixed in: 8e9a1b8ef4c8149f47c562aea1546585d10db426
I want try nettrine instead of kdyby, but I have composer error.
My composer.json
Error: