Skip to content

Commit ad3c061

Browse files
drupolshulard
authored andcommitted
Normalize composer.json file.
1 parent e689fbe commit ad3c061

File tree

1 file changed

+42
-22
lines changed

1 file changed

+42
-22
lines changed

composer.json

Lines changed: 42 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
22
"name": "friends-of-phpspec/phpspec-code-coverage",
3-
"description": "Generate Code Coverage reports for PhpSpec tests",
43
"type": "library",
4+
"description": "Generate Code Coverage reports for PhpSpec tests",
55
"keywords": [
6-
"phpspec", "code", "coverage", "generate", "generation", "build",
7-
"report", "test", "tests", "code-coverage", "reports", "clover", "spec"
6+
"phpspec",
7+
"coverage",
8+
"report",
9+
"test",
10+
"tests",
11+
"code-coverage",
12+
"spec"
813
],
914
"homepage": "https://github.com/friends-of-phpspec/phpspec-code-coverage",
1015
"license": "MIT",
@@ -16,37 +21,52 @@
1621
},
1722
{
1823
"name": "Henrik Bjornskov"
24+
},
25+
{
26+
"name": "Stéphane Hulard",
27+
"email": "s.hulard@chstudio.fr",
28+
"homepage": "https://chstudio.fr"
29+
},
30+
{
31+
"name": "Pol Dellaiera",
32+
"email": "pol.dellaiera@protonmail.com",
33+
"homepage": "https://not-a-number.io/"
34+
},
35+
{
36+
"name": "Jay Linski",
37+
"homepage": "https://twitter.com/jay_linski"
1938
}
2039
],
21-
"support": {
22-
"issues": "https://github.com/friends-of-phpspec/phpspec-code-coverage/issues",
23-
"source": "https://github.com/friends-of-phpspec/phpspec-code-coverage",
24-
"docs": "https://github.com/friends-of-phpspec/phpspec-code-coverage#phpspec-code-coverage"
25-
},
2640
"require": {
2741
"php": "^7.1",
28-
"phpspec/phpspec": "^4.2||^5.0",
29-
"phpunit/php-code-coverage": "^5.0||^6.0||^7.0"
42+
"phpspec/phpspec": "^4.2 || ^5.0",
43+
"phpunit/php-code-coverage": "^5.0 || ^6.0 || ^7.0"
3044
},
3145
"require-dev": {
32-
"escapestudios/symfony2-coding-standard": "^3.1",
33-
"squizlabs/php_codesniffer": "^3.2"
46+
"squizlabs/php_codesniffer": "^3.2",
47+
"scrutinizer/ocular": "^1"
3448
},
3549
"suggest": {
36-
"ext-xdebug": "Install Xdebug to generate phpspec code coverage.",
37-
"ext-pcov": "Install PCov extension to generate code coverage."
38-
},
39-
"minimum-stability": "stable",
40-
"autoload" : {
41-
"psr-4" : { "LeanPHP\\PhpSpec\\CodeCoverage\\": "src/" }
50+
"ext-pcov": "Install PCov extension to generate code coverage.",
51+
"ext-xdebug": "Install Xdebug to generate phpspec code coverage."
4252
},
4353
"extra": {
4454
"branch-alias": {
45-
"dev-master": "4.x-dev",
46-
"dev-v3": "3.x-dev"
55+
"dev-master": "4.x-dev"
4756
}
4857
},
49-
"config": {
50-
"bin-dir": "bin"
58+
"autoload": {
59+
"psr-4": {
60+
"LeanPHP\\PhpSpec\\CodeCoverage\\": "src/"
61+
}
62+
},
63+
"minimum-stability": "stable",
64+
"scripts": {
65+
"scrutinizer": "./vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage.xml"
66+
},
67+
"support": {
68+
"issues": "https://github.com/friends-of-phpspec/phpspec-code-coverage/issues",
69+
"source": "https://github.com/friends-of-phpspec/phpspec-code-coverage",
70+
"docs": "https://github.com/friends-of-phpspec/phpspec-code-coverage#phpspec-code-coverage"
5171
}
5272
}

0 commit comments

Comments
 (0)