forked from webignition/uri
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
52 lines (52 loc) · 1.81 KB
/
Copy pathcomposer.json
File metadata and controls
52 lines (52 loc) · 1.81 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
{
"name": "webignition/uri",
"description": "A PSR-7 UriInterface implementation. A normalizer for applying sixteen lossy and lossless normalizations.",
"keywords": ["url", "uri", "psr-7", "normalise", "normalize", "normaliser", "normalizer"],
"homepage": "https://github.com/webignition/uri",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Jon Cram",
"email": "jon@webignition.net"
}
],
"autoload": {
"psr-4": {
"webignition\\Uri\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"webignition\\Uri\\Tests\\": "tests"
}
},
"scripts": {
"cs-fixer-dry-run": "docker run --rm $(if [ ! -z \"${NO_TTY}\" ]; then echo \"\"; else echo \"-t\"; fi) -w=/app -v ${PWD}:/app oskarstark/php-cs-fixer-ga:latest --allow-risky=yes --dry-run --verbose --show-progress none",
"cs-fixer-fix": "docker run --rm $(if [ ! -z \"${NO_TTY}\" ]; then echo \"\"; else echo \"-t\"; fi) -w=/app -v ${PWD}:/app oskarstark/php-cs-fixer-ga:latest --allow-risky=yes --diff",
"cs-phpcs": "./vendor/bin/phpcs",
"cs": [
"@cs-fixer-dry-run",
"@cs-phpcs"
],
"static-analysis": "./vendor/bin/phpstan analyse --ansi",
"test": "./vendor/bin/phpunit --colors=always",
"ci": [
"@composer cs",
"@composer test"
]
},
"require": {
"php": "^7.4|^8.0|^8.1",
"psr/http-message": "^1 || ^2.0",
"algo26-matthias/idna-convert": "^3.0",
"xrstf/ip-utils": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6",
"mockery/mockery": "^1",
"php-mock/php-mock-mockery": "^1",
"phpstan/phpstan": "^1.4"
}
}