-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathcomposer.json
More file actions
31 lines (31 loc) · 967 Bytes
/
composer.json
File metadata and controls
31 lines (31 loc) · 967 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
30
31
{
"name": "wpengine/phpcompat",
"description": "Make sure your plugins and themes are compatible with newer PHP versions.",
"type": "wordpress-plugin",
"homepage": "https://github.com/wpengine/phpcompat#readme",
"license": "GPL-2.0-or-later",
"authors": [{
"name": "Jason Stallings",
"email": "jason@stallin.gs"
}],
"require": {
"squizlabs/php_codesniffer": "^2.9.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"phpcompatibility/phpcompatibility-wp": "^2"
},
"require-dev": {
"wp-coding-standards/wpcs": "^1",
"phpunit/phpunit": "^5"
},
"scripts": {
"post-update-cmd": [
"cd php52; composer update; cd .."
],
"post-install-cmd": [
"cd php52; composer install; cd .."
],
"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"
}
}