Skip to content

Codeception allure adapter conflicting with PHPUnit allure adapter #44

@okolesnyk

Description

@okolesnyk

Problem

If any project will require two allure-framework packages (in our case allure-phpunit and allure-codeception) we will have two classes which have identical full class names: Yandex\Allure\Adapter\AllureAdapter.
It will cause an issue for autoloader to load appropriate adaptor for codeception and phpunit.

Suggestion

Make namespace unique.
For example:
Yandex\Allure\Codeception\Adapter\AllureAdapter
Yandex\Allure\PHPUnit\Adapter\AllureAdapter

Or class name unique

Yandex\Allure\Adapter\CodeceptionAllureAdapter
Yandex\Allure\Adapter\PHPUnitAllureAdapter

Related Issue

allure-framework/allure-phpunit#41

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