Skip to content

Commit 33ee116

Browse files
committed
Add config for PHPMailer, Requests, SimplePie, and sodium_compat.
1 parent 186f259 commit 33ee116

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

composer.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
},
2121
"require-dev": {
2222
"composer/ca-bundle": "1.5.8",
23+
"paragonie/sodium_compat": "1.23.0",
24+
"phpmailer/phpmailer": "6.11.1",
25+
"rmccue/requests": "2.0.11",
26+
"simplepie/simplepie": "1.9.0",
2327
"squizlabs/php_codesniffer": "3.13.2",
2428
"wp-coding-standards/wpcs": "~3.2.0",
2529
"phpcompatibility/phpcompatibility-wp": "~2.1.3",
@@ -39,6 +43,46 @@
3943
},
4044
"lock": false
4145
},
46+
"extra": {
47+
"installer-paths": {
48+
"phpmailer/phpmailer": {
49+
"target": "src/wp-includes/PHPMailer",
50+
"source": "src"
51+
},
52+
"rmccue/requests": {
53+
"target": "src/wp-includes/Requests",
54+
"ignore": [
55+
".editorconfig",
56+
"certificates",
57+
"CHANGELOG.md",
58+
"composer.json",
59+
"library/Deprecated.php",
60+
"library/README.md",
61+
"LICENSE",
62+
"README.md"
63+
]
64+
},
65+
"simplepie/simplepie": {
66+
"target": "src/wp-includes/SimplePie",
67+
"ignore": [
68+
"CHANGELOG.md",
69+
"composer.json",
70+
"db.sql",
71+
"LICENSES",
72+
"phpstan.dist.neon",
73+
"README.markdown",
74+
"utils/PHPStan"
75+
]
76+
},
77+
"paragonie/sodium_compat": {
78+
"target": "src/wp-includes/sodium_compat",
79+
"ignore": [
80+
"README.md",
81+
"composer-php52.json"
82+
]
83+
}
84+
}
85+
},
4286
"scripts": {
4387
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
4488
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",

0 commit comments

Comments
 (0)