mxr576 / ddqg-composer-audit

Drupal Dependency Quality Gate Composer Audit plugin
MIT License
8 stars 0 forks source link

Ensure at least Composer 2.4.0 is in use #1

Closed mxr576 closed 1 year ago

mxr576 commented 1 year ago

Originally there was a conflict in composer.json like this:

    "conflict": {
        "composer/composer": "<=2.4.0"
    },

However that prevented the install of this package on Drupal 9.4 where drupal/core-dev locks on Symfony 4.4.x dependencies, however composer/composer >= 2.4.0 needs 5.4.x.

Maybe we should just add a runtime check and disable the plugin if older version of Composer is in use.