Skip to content

Support for JMS\Serializer >= 2.0.0 #41

Description

@tina-junold

Currently i'm getting the error

[Semantical Error] The annotation "@JMS\Serializer\Annotation\XmlNamespace" in class Yandex\Allure\Adapter\Model\TestSuite does not exist, or could not be auto-loaded. 

Since 2.0.0 of the JMS\Serializer the path does not match anymore the autoloading structure in the AnnotationProvider:

current

/my-project/vendor/allure-framework/allure-php-api/src/Yandex/Allure/Adapter/Annotation/../../../../../../../../vendor/jms/serializer/src/JMS/Serializer/Annotation/XmlNamespace.php

expected

/my-project/vendor/allure-framework/allure-php-api/src/Yandex/Allure/Adapter/Annotation/../../../../../../../../vendor/jms/serializer/src/Annotation/XmlNamespace.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions