Skip to content

Commit 2f06680

Browse files
oleibmanMark Baker
andauthored
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>
1 parent 0df5daa commit 2f06680

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"spreadsheet"
1313
],
1414
"config": {
15-
"sort-packages": true
15+
"sort-packages": true,
16+
"allow-plugins": {
17+
"dealerdirect/phpcodesniffer-composer-installer": true
18+
}
1619
},
1720
"homepage": "https://github.com/PHPOffice/PhpSpreadsheet",
1821
"type": "library",

0 commit comments

Comments
 (0)