From 5960ad9a29921f3a091589e8ada868754f81981d Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 17 Feb 2022 22:21:06 +0100 Subject: [PATCH] README: update for Composer 2.2 The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is a non-dev requirement for YoastCS. As of Composer 2.2.0, Composer plugins need to be explicitly allowed to run. This commit adds the CLI command to set those permissions to the installation instructions. Refs: * https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ce51d262..6999db7c 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ Composer will automatically install dependencies, register standards paths, and To include standards as part of a project require them as development dependencies: ```bash +composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true composer require --dev yoast/yoastcs:"^2.0" ```