allure-framework/allure-php-api

Missing direct dependency for doctrine/annotations

Closed this issue · 0 comments

fooman commented

Describe the bug
This package makes direct use of Doctrine Annotation classes here
https://github.com/allure-framework/allure-php-api/blob/1.4.0/src/Yandex/Allure/Adapter/Annotation/AnnotationProvider.php#L74

With the recent release of Doctrine Annotations 2.0 the above method got removed
doctrine/annotations@6d49292#diff-043c3d4742dcf3e4188fabedf3e77e18778db276f817dac3f4406dd26f8c4060L124

This is an issue as the "jms/serializer" package included via this project allows an update to 2.0.

Expected behavior
Including the used dependency in the project's composer.json to limit doctrine/annotations to supported versions would be great. So something like

    "doctrine/annotations": "^1.0"

until such time that the code gets update to work with the new release.