woocommerce / woocommerce-sniffs

Collection of PHP_CodeSniffer sniffs for WooCommerce
https://packagist.org/packages/woocommerce/woocommerce-sniffs
MIT License
48 stars 10 forks source link

Composer 2.2 "allow-plugins" config #31

Closed helgatheviking closed 1 year ago

helgatheviking commented 2 years ago

I found out that Composer 2.2 introduces an allow-plugins setting, and without it composer install was failing...

{
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}

Some reference from the php code standards team (who obviously knows more than I do about this)

ObliviousHarmony commented 1 year ago

Thanks @helgatheviking.

I've set this configuration.