|
1 | 1 | { |
2 | 2 | "name": "friends-of-phpspec/phpspec-code-coverage", |
3 | | - "type": "library", |
4 | 3 | "description": "Generate Code Coverage reports for PhpSpec tests", |
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
5 | 6 | "keywords": [ |
6 | 7 | "phpspec", |
7 | 8 | "coverage", |
|
11 | 12 | "code-coverage", |
12 | 13 | "spec" |
13 | 14 | ], |
14 | | - "homepage": "https://github.com/friends-of-phpspec/phpspec-code-coverage", |
15 | | - "license": "MIT", |
16 | 15 | "authors": [ |
17 | 16 | { |
18 | 17 | "name": "ek9", |
|
37 | 36 | "homepage": "https://github.com/jaylinski" |
38 | 37 | } |
39 | 38 | ], |
| 39 | + "homepage": "https://github.com/friends-of-phpspec/phpspec-code-coverage", |
| 40 | + "support": { |
| 41 | + "issues": "https://github.com/friends-of-phpspec/phpspec-code-coverage/issues", |
| 42 | + "source": "https://github.com/friends-of-phpspec/phpspec-code-coverage", |
| 43 | + "docs": "https://github.com/friends-of-phpspec/phpspec-code-coverage#phpspec-code-coverage" |
| 44 | + }, |
40 | 45 | "require": { |
41 | 46 | "php": ">= 7.3", |
42 | 47 | "phpspec/phpspec": "^6.0 || ^7.0", |
43 | 48 | "phpunit/php-code-coverage": "^9.0" |
44 | 49 | }, |
| 50 | + "require-dev": { |
| 51 | + "phpstan/phpstan": "^1.5", |
| 52 | + "friendsofphp/php-cs-fixer": "^3.4" |
| 53 | + }, |
45 | 54 | "conflict": { |
46 | 55 | "sebastian/comparator": "< 2.0" |
47 | 56 | }, |
48 | | - "require-dev": { |
49 | | - "drupol/php-conventions": "^3.0", |
50 | | - "vimeo/psalm": "^4.7" |
51 | | - }, |
52 | 57 | "suggest": { |
53 | 58 | "ext-pcov": "Install PCov extension to generate code coverage.", |
54 | 59 | "ext-xdebug": "Install Xdebug to generate phpspec code coverage." |
55 | 60 | }, |
56 | | - "extra": { |
57 | | - "branch-alias": { |
58 | | - "dev-master": "6.x-dev" |
59 | | - } |
60 | | - }, |
| 61 | + "minimum-stability": "stable", |
61 | 62 | "autoload": { |
62 | 63 | "psr-4": { |
63 | 64 | "FriendsOfPhpSpec\\PhpSpec\\CodeCoverage\\": "src/" |
|
66 | 67 | "src/bootstrap.php" |
67 | 68 | ] |
68 | 69 | }, |
69 | | - "minimum-stability": "stable", |
70 | 70 | "scripts": { |
71 | | - "grumphp": "./vendor/bin/grumphp run" |
| 71 | + "analyse": "phpstan analyse --level 8 src", |
| 72 | + "lint": "php-cs-fixer fix --dry-run src && php-cs-fixer fix --dry-run spec", |
| 73 | + "test": "phpspec run" |
72 | 74 | }, |
73 | | - "support": { |
74 | | - "issues": "https://github.com/friends-of-phpspec/phpspec-code-coverage/issues", |
75 | | - "source": "https://github.com/friends-of-phpspec/phpspec-code-coverage", |
76 | | - "docs": "https://github.com/friends-of-phpspec/phpspec-code-coverage#phpspec-code-coverage" |
| 75 | + "extra": { |
| 76 | + "branch-alias": { |
| 77 | + "dev-master": "6.x-dev" |
| 78 | + } |
77 | 79 | } |
78 | 80 | } |
0 commit comments