mirror of
https://gh.wpcy.net/https://github.com/WordPress/wordpress.org.git
synced 2026-04-28 06:31:32 +08:00
Add a dedicated wp-env test configuration so Plugin Directory tests run in the tests-cli container with PHPUnit 11 and Yoast Polyfills. Props dd32, obenland. Closes https://github.com/WordPress/wordpress.org/pull/588 git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14810 74240141-8908-4e6f-9713-ba540dce6ec7
24 lines
664 B
JSON
24 lines
664 B
JSON
{
|
|
"name": "wordpress/wordpress.org",
|
|
"description": "WordPress.org website code",
|
|
"homepage": "https://wordpress.org",
|
|
"license": "GPL-2.0-or-later",
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
|
|
"wp-coding-standards/wpcs": "^3.3.0",
|
|
"phpcompatibility/phpcompatibility-wp": "*",
|
|
"sirbrillig/phpcs-changed": "^2.12.0",
|
|
"phpunit/phpunit": "^11.0",
|
|
"yoast/phpunit-polyfills": "^4.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "phpcs",
|
|
"format": "phpcbf -p",
|
|
"phpcs-changed": "BASE_REF=trunk php .github/bin/phpcs-branch.php"
|
|
}
|
|
}
|