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 <mark@lange.demon.co.uk>
This commit is contained in:
oleibman 2022-01-20 03:03:21 -08:00 committed by GitHub
parent 0df5daaa8b
commit 2f0668017b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,10 @@
"spreadsheet" "spreadsheet"
], ],
"config": { "config": {
"sort-packages": true "sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}, },
"homepage": "https://github.com/PHPOffice/PhpSpreadsheet", "homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
"type": "library", "type": "library",