mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
a1abc11ce6
The latest release takes the new polyfills added in WordPress 5.9 into account. This commit also removes redundant inline ignore comments for WP-polyfilled functionality. The PHPCompatibilityWP ruleset explicitly excludes those polyfills, so they don't need to be annotated as ignored. Release notes: https://github.com/PHPCompatibility/PHPCompatibilityWP/releases/tag/2.1.3 For a full list of changes in this update, see the PHPCompatibilityWP GitHub: https://github.com/PHPCompatibility/PHPCompatibilityWP/compare/2.1.2...2.1.3 Follow-up to [46290], [51543]. Props jrf. Fixes #54711. git-svn-id: https://develop.svn.wordpress.org/trunk@52425 602fd350-edb4-49c9-b593-d223f7449a82
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "wordpress/wordpress",
|
|
"license": "GPL-2.0-or-later",
|
|
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
|
|
"homepage": "https://wordpress.org",
|
|
"keywords": [
|
|
"blog", "cms", "wordpress", "wp"
|
|
],
|
|
"support": {
|
|
"issues": "https://core.trac.wordpress.org/"
|
|
},
|
|
"require": {
|
|
"php": ">=5.6"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
|
|
"squizlabs/php_codesniffer": "3.6.0",
|
|
"wp-coding-standards/wpcs": "~2.3.0",
|
|
"phpcompatibility/phpcompatibility-wp": "~2.1.3",
|
|
"yoast/phpunit-polyfills": "^1.0.1"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
|
|
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
|
|
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
|
|
"lint:errors": "@lint -n",
|
|
"test": "@php ./vendor/phpunit/phpunit/phpunit"
|
|
}
|
|
}
|