From 16e8192912595b5b0a0c702dd4945d9cd372e56d Mon Sep 17 00:00:00 2001 From: AndrolGenhald Date: Mon, 11 Jul 2022 16:47:32 -0500 Subject: [PATCH] Add `allow-plugins` whitelist for dealerdirect/phpcodesniffer-composer-installer. --- composer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e014ead..317f815 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,8 @@ "require": { "php": "^7.2 || ^8", "composer/semver": "^1.4 || ^2.0 || ^3.0", - "vimeo/psalm": "^4.9" + "vimeo/psalm": "^4.9", + "phpstan/phpdoc-parser": "~1.5.0" }, "conflict": { "doctrine/collections": "<1.6", @@ -46,7 +47,10 @@ "weirdan/codeception-psalm-module": "^0.13.1" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "extra": { "psalm": {