Skip to content

Instantly share code, notes, and snippets.

@peterwilsoncc
Last active October 18, 2021 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterwilsoncc/a2568109ea5b0c1dd6f9f4d67a169a51 to your computer and use it in GitHub Desktop.
Save peterwilsoncc/a2568109ea5b0c1dd6f9f4d67a169a51 to your computer and use it in GitHub Desktop.
Using WP.org MVP sniffs in a project.
{
"name": "awesomemotive/seedprod-plugins",
"type": "project",
"require-dev": {
"wordpress/wporg-code-analysis": "1.0.0"
},
"scripts": {
},
"repositories": [
{
"type": "package",
"package": {
"name": "wordpress/wporg-code-analysis",
"version": "1.0.0",
"dist": {
"url": "https://github.com/WordPress/wporg-code-analysis/archive/refs/heads/trunk.zip",
"type": "zip"
},
"source": {
"url": "https://github.com/WordPress/wporg-code-analysis",
"type": "svn",
"reference": "heads/trunk/"
},
"require": {
"squizlabs/php_codesniffer": "^3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"phpcompatibility/phpcompatibility-wp": "^2",
"sirbrillig/phpcs-variable-analysis": "^2",
"wp-coding-standards/wpcs": "^2",
"phpcsstandards/phpcsutils": "^1.x-dev",
"wptrt/wpthemereview": "*"
}
}
}
],
"config": {
"sort-packages": true
},
"autoload": {
"classmap": [
"./vendor/wordpress/wporg-code-analysis/MinimalPluginStandard/"
]
},
"license": "GPL-2.0-or-later",
"minimum-stability":"dev"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment