forked from schmittjoh/php-option
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 2.71 KB
/
Copy pathcomposer.json
File metadata and controls
78 lines (78 loc) · 2.71 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "unicorn-fail/php-option",
"description": "A highly extensible replacement for [phpoption/phpoption] with `TypedOption` support.",
"type": "library",
"license": "Apache-2.0",
"minimum-stability": "stable",
"authors": [
{
"name": "Mark Carver",
"homepage": "https://github.com/markcarver",
"role": "Lead Developer"
}
],
"support": {
"docs": "https://github.com/unicorn-fail/phpoption",
"issues": "https://github.com/unicorn-fail/phpoption/issues",
"rss": "https://github.com/unicorn-fail/phpoption/releases.atom",
"source": "https://github.com/unicorn-fail/phpoption.git"
},
"scripts": {
"require-coverage": "composer require -o --dev codacy/coverage:dev-master",
"require-phpcs": "composer require -o --dev squizlabs/php_codesniffer:^3.4",
"require-phpmd": "composer require -o --dev phpmd/phpmd:^2.7",
"require-phpstan": "composer require -o --dev phpstan/phpstan:^0.11",
"require-test": "composer require -o --dev squizlabs/php_codesniffer:^3.4 phpmd/phpmd:^2.7 phpstan/phpstan:^0.11",
"test-group": "php vendor/bin/phpunit --no-coverage --stop-on-failure --group",
"test-phpcs": "php vendor/bin/phpcs src",
"test-phpmd": "php vendor/bin/phpmd src text phpmd.xml",
"test-phpstan": "php vendor/bin/phpstan analyse -c phpstan.neon",
"test-phpunit": "php vendor/bin/phpunit --no-coverage",
"test-phpunit-coverage": "! php --version | grep -q 'Xdebug' && echo 'Xdebug is required to generate coverage.' >&2 && exit 1 || php vendor/bin/phpunit --coverage-clover build/logs/clover.xml",
"test": [
"@test-phpcs",
"@test-phpmd",
"@test-phpstan",
"@test-phpunit"
],
"test-coverage": [
"@test-phpcs",
"@test-phpmd",
"@test-phpstan",
"@test-phpunit-coverage"
],
"upload-coverage": "php vendor/bin/codacycoverage -n clover build/logs/clover.xml"
},
"conflict": {
"phpoption/phpoption": "*"
},
"replace": {
"phpoption/phpoption": "*"
},
"require": {
"php": ">=5.3"
},
"require-dev": {
"phpunit/phpunit": "^4|^5|^6|^7"
},
"autoload": {
"psr-4": {
"PhpOption\\": "PhpOption/src",
"UnicornFail\\PhpOption\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"PhpOption\\Tests\\": "PhpOption/Tests",
"UnicornFail\\PhpOption\\Tests\\": "tests"
}
},
"keywords": [
"language",
"option",
"php",
"phpoption",
"type",
"typed"
]
}