-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
100 lines (100 loc) · 3.29 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "ramsey/http-range",
"description": "A PHP library for parsing and handling HTTP range requests.",
"license": "MIT",
"type": "library",
"keywords": [
"http",
"range",
"requests"
],
"authors": [
{
"name": "Ben Ramsey",
"email": "[email protected]",
"homepage": "https://benramsey.com"
}
],
"require": {
"php": "^8.2",
"psr/http-message": "^2.0",
"ramsey/collection": "^2.1",
"symfony/polyfill-ctype": "^1.23"
},
"require-dev": {
"captainhook/captainhook": "^5.25",
"captainhook/plugin-composer": "^5.3",
"ergebnis/composer-normalize": "^2.45",
"mockery/mockery": "^1.6",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-mockery": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^11.5 || ^12.0",
"ramsey/coding-standard": "^2.3",
"ramsey/conventional-commits": "^1.6",
"roave/security-advisories": "dev-latest"
},
"suggest": {
"ext-ctype": "Support for ctype_* functions."
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ramsey\\Http\\Range\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ramsey\\Http\\Range\\Test\\": "tests/"
}
},
"config": {
"allow-plugins": {
"captainhook/plugin-composer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "2.x-dev"
},
"captainhook": {
"force-install": true
},
"ramsey/conventional-commits": {
"configFile": "conventional-commits.json"
}
},
"scripts": {
"analyze": [
"@dev:analyze:phpstan"
],
"build:clean": "git clean -fX build/.",
"build:clean:cache": "git clean -fX build/cache/.",
"build:clean:coverage": "git clean -fX build/coverage/.",
"dev:analyze:phpstan": "phpstan analyze --ansi",
"dev:lint:fix": "phpcbf --cache=build/cache/phpcs.cache",
"dev:lint:style": "phpcs --colors --cache=build/cache/phpcs.cache",
"dev:lint:syntax": "parallel-lint --colors src tests",
"dev:test:coverage:ci": "XDEBUG_MODE=coverage phpunit --colors=always --coverage-text --coverage-clover build/coverage/clover.xml --coverage-crap4j build/coverage/crap4j.xml --coverage-xml build/coverage/coverage-xml --log-junit build/junit.xml",
"dev:test:coverage:html": "XDEBUG_MODE=coverage phpunit --colors=always --coverage-html build/coverage/coverage-html",
"dev:test:unit": "phpunit --colors=always",
"lint": [
"@dev:lint:syntax",
"@dev:lint:style"
],
"test": [
"@dev:lint:syntax",
"@dev:lint:style",
"@dev:analyze:phpstan",
"@dev:test:unit"
]
}
}