forked from wpengine/phpcompat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
29 lines (29 loc) · 826 Bytes
/
composer.json
File metadata and controls
29 lines (29 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "wpengine/phpcompat",
"type": "wordpress-plugin",
"description": "Test PHP Compatibility.",
"authors": [{
"name": "WP Engine",
"email": "wptech@wpengine.com"
}],
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpcompatibility/phpcompatibility-wp": "^2.1.2",
"squizlabs/php_codesniffer": "^2.6"
},
"require-dev": {
"wp-coding-standards/wpcs": "^1",
"phpunit/phpunit": "^6",
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"phpcs": "phpcs --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php",
"phpcs:fix": "phpcbf --standard=src/ruleset-wordpress.xml wpengine-phpcompat.php load-files.php src/*.php",
"test": "phpunit"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}