Skip to content

Commit 1bba5d0

Browse files
committed
fix: use composer to import enshrined\svgSanitize
1 parent 51918b5 commit 1bba5d0

2 files changed

Lines changed: 702 additions & 3 deletions

File tree

composer.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"description": "Convert images to WebP on upload",
44
"type": "wordpress-plugin",
55
"license": "GPL-2.0-or-later",
6-
"require": {},
6+
"require": {
7+
"enshrined/svg-sanitize": "^0.22.0"
8+
},
79
"require-dev": {
810
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
911
"wp-coding-standards/wpcs": "^3.0",
@@ -13,7 +15,10 @@
1315
"lint:php": [
1416
"phpcs --standard=phpcs.xml.dist -s"
1517
]
18+
},
19+
"config": {
20+
"allow-plugins": {
21+
"dealerdirect/phpcodesniffer-composer-installer": true
22+
}
1623
}
1724
}
18-
19-

0 commit comments

Comments
 (0)