johnbillion / extended-cpts

A library which provides extended functionality to WordPress custom post types and taxonomies.
GNU General Public License v2.0
979 stars 96 forks source link

Composer 2 throws error for dev dependency dealerdirect/phpcodesniffer-composer-installer #150

Closed herrschuessler closed 3 years ago

herrschuessler commented 4 years ago

When installing via composer 2, I get the error The "dealerdirect/phpcodesniffer-composer-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.

There seems to be an easy fix in https://github.com/Dealerdirect/phpcodesniffer-composer-installer/issues/119 (installing the dev dependency via composer require --dev dealerdirect/phpcodesniffer-composer-installer:"^0.7.0", as apparently this dependency is indeed compatible with composer 2.

Just a minor issue, but probably easy to fix?

johnbillion commented 4 years ago

Thanks 👍