2018-04-05 07:04:08 +00:00
|
|
|
{
|
|
|
|
"name": "wordpress/wordpress",
|
|
|
|
"license": "GPL-2.0-or-later",
|
2018-04-05 07:15:25 +00:00
|
|
|
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
|
2018-04-05 07:04:08 +00:00
|
|
|
"homepage": "https://wordpress.org",
|
|
|
|
"keywords": [
|
|
|
|
"blog", "cms", "wordpress", "wp"
|
|
|
|
],
|
|
|
|
"support": {
|
|
|
|
"issues": "https://core.trac.wordpress.org/"
|
|
|
|
},
|
2019-09-20 17:32:23 +00:00
|
|
|
"require": {
|
|
|
|
"php": ">=5.6"
|
|
|
|
},
|
2018-04-05 07:04:08 +00:00
|
|
|
"require-dev": {
|
2020-10-26 22:46:00 +00:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7.0",
|
2020-06-08 20:09:53 +00:00
|
|
|
"wp-coding-standards/wpcs": "~2.3.0",
|
2020-06-01 20:29:06 +00:00
|
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1.0",
|
Build/Test Tools: Introduce the PHPUnit Polyfills package for easier cross branch testing.
This backports the PHPUnit Polyfills package and related test infrastructure changes to make it easier for developers to continue testing on multiple versions WordPress while adding tests for newer versions of PHP, which require more modern PHPUnit practices.
One of the changes included is the addition of wrappers for the new snake_case fixture methods in PHPUnit. This allows the native camelCase standard in PHPUnit to be used, but allows for developers to transition to the new naming conventions.
Props hellofromTonya, jrf, SergeyBiryukov, johnbillion, netweb, schlessera, jeherve, lucatume, desrosj.
Merges [51559,51560,51810-51813,51828] to the 5.5 branch.
See #53911.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@51843 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-21 22:48:47 +00:00
|
|
|
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5",
|
|
|
|
"yoast/phpunit-polyfills": "^1.0.1"
|
2018-04-05 07:04:08 +00:00
|
|
|
},
|
2022-08-30 15:33:59 +00:00
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
|
|
|
},
|
2018-04-05 07:04:08 +00:00
|
|
|
"scripts": {
|
2019-09-25 13:46:55 +00:00
|
|
|
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
|
2019-09-25 14:01:51 +00:00
|
|
|
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
|
|
|
|
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
|
2020-06-01 20:29:06 +00:00
|
|
|
"lint:errors": "@lint -n",
|
|
|
|
"test": "@php ./vendor/phpunit/phpunit/phpunit"
|
2018-04-05 07:04:08 +00:00
|
|
|
}
|
|
|
|
}
|