From 2f0668017b38af1eacbe3a72d210604bbe27443c Mon Sep 17 00:00:00 2001 From: oleibman <10341515+oleibman@users.noreply.github.com> Date: Thu, 20 Jan 2022 03:03:21 -0800 Subject: [PATCH] Plugin in composer.json (#2502) Per https://getcomposer.org/doc/06-config.md#allow-plugins, Composer has added an extra layer of security in V2.2, and will start enforcing it in July of this year. Phpcodesniffer uses a plugin and will be affected if composer.json isn't updated before that date. Co-authored-by: Mark Baker --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a7949d72..9322ae94 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,10 @@ "spreadsheet" ], "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "homepage": "https://github.com/PHPOffice/PhpSpreadsheet", "type": "library",