3d1714de71
The remaining error-level coding standards issues (specifically, associated with the sniffs `WordPress.PHP.YodaConditions.NotYoda`, `WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase`, `WordPress.DB.PreparedSQL.InterpolatedNotPrepared`, `WordPress.DB.PreparedSQL.NotPrepared`, and `WordPress.Files.FileName.InvalidClassFileName`) are marked as warnings, until they're all addressed. This change allows us to run linting on Travis across the entire codebase, ensuring no other error-level violations can be introduced. Additionally, PHPCS will now cache results locally, drastically improving performance for subsequent checks: scanning the entire codebase takes 1-2 minutes the first time, and less than one second for subsequent checks. See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45665 602fd350-edb4-49c9-b593-d223f7449a82
22 lines
808 B
JSON
22 lines
808 B
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-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "~0.5.0",
|
|
"wp-coding-standards/wpcs": "~2.1.0"
|
|
},
|
|
"scripts": {
|
|
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source --cache -d memory_limit=256M",
|
|
"lint": "phpcs --standard=phpcs.xml.dist --report-summary --report-source --cache -d memory_limit=256M",
|
|
"lint:errors": "phpcs --standard=phpcs.xml.dist --report-summary --report-source --cache -d memory_limit=256M -n"
|
|
}
|
|
}
|