Skip to content

Modernize composer dependencies #45

@hostep

Description

@hostep

Hi folks

#39 changed some composer defined constraints to make them semver compatible.
But some of those versions chosen are pretty old.

I'm working with Magento2 which has a dependency on allure-framework/allure-php-api. And they recently upgraded from version 1.1.4 to 1.1.5 (of which the only difference is #39).
Now to my surprise I noticed some packages being downgraded and some older packages which we no longer need getting installed, for example:

- Downgrading jms/serializer (1.14.0 => 0.16.0)
- Downgrading symfony/http-foundation (v4.3.3 => v2.8.50)
- Installing ircmaxell/password-compat (v1.0.4)
- Installing symfony/polyfill-php54 (v1.12.0)
- Installing symfony/polyfill-php55 (v1.12.0)
- Updating allure-framework/allure-php-api (1.1.4 => 1.1.5)

Magento2 supports PHP 7.1 to 7.3 and most of these libraries are more related with PHP 5.x so we don't really need these.

Therefore I would like ask if some dependencies in this package could changed to include more modern versions.

Suggestion:

        "jms/serializer": "^0.16 || ^1.0",
        "symfony/http-foundation": "^2.0 || ^3.0 || ^4.0"

Would there be any interest in this?

Thanks!

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