Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Composer version 2 #309

Merged
merged 1 commit into from
Jun 19, 2020
Merged

Add support for Composer version 2 #309

merged 1 commit into from
Jun 19, 2020

Commits on Apr 14, 2020

  1. Add support for Composer version 2

    Composer version 2 has `composer-plugin-api` version 2. This PR updates the version constraint to `^1 || ^2` so we can support both composer versions.
    
    See [What's new in Composer 2](https://php.watch/articles/composer-2) and [UPGRADE-2.0](https://github.com/composer/composer/blob/master/UPGRADE-2.0.md#for-integrators-and-plugin-authors) for more changes in API. Empty methods \cweagans\Composer\Plugin\Patches::deactivate() and \cweagans\Composer\Plugin\Patches::uninstall are added to make it compatible both versions.
    Ayesh committed Apr 14, 2020
    2 Configuration menu
    Copy the full SHA
    7ee3bb5 View commit details
    Browse the repository at this point in the history