Skip to content

Commit 7f2212e

Browse files
Add composer phpcbf and allow wordpress-core-installer (#179)
1 parent 3d56427 commit 7f2212e

File tree

1 file changed

+66
-64
lines changed

1 file changed

+66
-64
lines changed

composer.json

+66-64
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,70 @@
11
{
2-
"name": "wp-cli/profile-command",
3-
"type": "wp-cli-package",
4-
"description": "Quickly identify what's slow with WordPress.",
5-
"homepage": "https://github.com/wp-cli/profile-command/",
6-
"license": "MIT",
7-
"authors": [],
8-
"require": {
9-
"php": ">=5.6",
10-
"wp-cli/wp-cli": "^2.5"
11-
},
12-
"require-dev": {
13-
"wp-cli/wp-cli-tests": "^3.1"
14-
},
15-
"config": {
16-
"process-timeout": 7200,
17-
"sort-packages": true,
18-
"allow-plugins": {
19-
"dealerdirect/phpcodesniffer-composer-installer": true
20-
}
21-
},
22-
"extra": {
23-
"branch-alias": {
24-
"dev-master": "2.x-dev"
25-
},
26-
"commands": [
27-
"profile stage",
28-
"profile hook",
29-
"profile eval",
30-
"profile eval-file"
31-
],
32-
"readme": {
33-
"sections": [
34-
"Overview",
35-
"Using",
36-
"Installing",
37-
"Contributing"
38-
],
39-
"overview": {
40-
"post": "bin/readme/overview-body.md"
41-
}
42-
}
43-
},
44-
"autoload": {
45-
"psr-4": {
46-
"WP_CLI\\Profile\\": "src/"
47-
},
48-
"files": [
49-
"profile-command.php"
50-
]
2+
"name": "wp-cli/profile-command",
3+
"type": "wp-cli-package",
4+
"description": "Quickly identify what's slow with WordPress.",
5+
"homepage": "https://github.com/wp-cli/profile-command/",
6+
"license": "MIT",
7+
"authors": [],
8+
"require": {
9+
"php": ">=5.6",
10+
"wp-cli/wp-cli": "^2.5"
11+
},
12+
"require-dev": {
13+
"wp-cli/wp-cli-tests": "^3.1"
14+
},
15+
"config": {
16+
"process-timeout": 7200,
17+
"sort-packages": true,
18+
"allow-plugins": {
19+
"dealerdirect/phpcodesniffer-composer-installer": true,
20+
"johnpbloch/wordpress-core-installer": true
21+
}
22+
},
23+
"extra": {
24+
"branch-alias": {
25+
"dev-master": "2.x-dev"
5126
},
52-
"minimum-stability": "dev",
53-
"prefer-stable": true,
54-
"scripts": {
55-
"behat": "run-behat-tests",
56-
"behat-rerun": "rerun-behat-tests",
57-
"lint": "run-linter-tests",
58-
"phpcs": "run-phpcs-tests",
59-
"phpunit": "run-php-unit-tests",
60-
"prepare-tests": "install-package-tests",
61-
"test": [
62-
"@lint",
63-
"@phpcs",
64-
"@phpunit",
65-
"@behat"
66-
]
27+
"commands": [
28+
"profile stage",
29+
"profile hook",
30+
"profile eval",
31+
"profile eval-file"
32+
],
33+
"readme": {
34+
"sections": [
35+
"Overview",
36+
"Using",
37+
"Installing",
38+
"Contributing"
39+
],
40+
"overview": {
41+
"post": "bin/readme/overview-body.md"
42+
}
6743
}
44+
},
45+
"autoload": {
46+
"psr-4": {
47+
"WP_CLI\\Profile\\": "src/"
48+
},
49+
"files": [
50+
"profile-command.php"
51+
]
52+
},
53+
"minimum-stability": "dev",
54+
"prefer-stable": true,
55+
"scripts": {
56+
"behat": "run-behat-tests",
57+
"behat-rerun": "rerun-behat-tests",
58+
"lint": "run-linter-tests",
59+
"phpcs": "run-phpcs-tests",
60+
"phpcbf": "run-phpcbf-cleanup",
61+
"phpunit": "run-php-unit-tests",
62+
"prepare-tests": "install-package-tests",
63+
"test": [
64+
"@lint",
65+
"@phpcs",
66+
"@phpunit",
67+
"@behat"
68+
]
69+
}
6870
}

0 commit comments

Comments
 (0)