-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 2.04 KB
/
composer.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "ray/test-double",
"description":"An AOP powered test double library",
"type": "library",
"require": {
"php": "^8.0",
"ray/aop": "^2.12",
"ray/di": "^2.14"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.8",
"doctrine/coding-standard": "^10.0",
"phpmd/phpmd": "^2.13",
"psalm/plugin-phpunit": "^0.17.0",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^4.27"
},
"keywords":[
"test double",
"spy"
],
"license": "MIT",
"authors": [
{
"name": "Shingo Kumagai",
"email": "[email protected]"
},
{
"name": "Akihito Koriyama",
"email": "[email protected]"
}
],
"autoload":{
"psr-4":{
"Ray\\TestDouble\\": "src/"
}
},
"autoload-dev":{
"psr-4":{
"Ray\\TestDouble\\": ["tests/", "tests/Fake"]
}
},
"scripts" :{
"test": ["./vendor/bin/phpunit"],
"tests": ["@cs", "@test", "@sa"],
"coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"],
"cs": ["./vendor/bin/phpcs --standard=./phpcs.xml src tests"],
"cs-fix": ["./vendor/bin/phpcbf src tests"],
"clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache", "rm -rf tests/tmp/*.php"],
"sa": ["./vendor/bin/psalm --show-info=true", "./vendor/bin/phpstan analyse -c phpstan.neon"],
"phpmd": ["./vendor/bin/phpmd --exclude src/Annotation src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov"]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
}
}