-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #85 Add support for composer-plugin-api v2 (Ayesh)
This PR was merged into the 1.2-dev branch. Discussion ---------- Add support for composer-plugin-api v2 Composer version 2 has `composer-plugin-api` version 2, and this plugin attemts to support both API 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 `\Symfony\Thanks\Thanks::deactivate()` and `\Symfony\Thanks\Thanks::uninstall()` are added to make it compatible both versions. - On Composer v2, `\Hirak\Prestissimo\CurlRemoteFilesystem` is not used in favor of Composer's native `\Composer\Util\HttpDownloader` which make multiple Curl connections. Related: #84 and composer/composer#8726. `thanks` 🙏 Commits ------- 7502bef Add support for composer-plugin-api v2
- Loading branch information
Showing
3 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters