-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
53 lines (53 loc) · 1.55 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
{
"name": "lee/url-tracker",
"type": "library",
"description": "Shorten Url Tracker",
"keywords": [
"tracker",
"url"
],
"homepage": "https://github.com/peter279k/url-tracker",
"license": "MIT",
"require": {
"php": ">=7.4",
"guzzlehttp/guzzle": "^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"overtrue/phplint": "^2.3",
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1",
"squizlabs/php_codesniffer": "^3.5"
},
"scripts": {
"check": [
"@lint",
"@cs:check",
"@sniffer:check",
"@phpstan",
"@test:coverage"
],
"cs:check": "php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php",
"cs:fix": "php-cs-fixer fix --config=.cs.php",
"lint": "phplint ./ --exclude=vendor --no-interaction --no-cache",
"phpstan": "phpstan analyse src tests --level=max -c phpstan.neon --no-progress --ansi",
"sniffer:check": "phpcs --standard=phpcs.xml",
"sniffer:fix": "phpcbf --standard=phpcs.xml",
"test": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always",
"test:coverage": "phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
},
"autoload": {
"psr-4": {
"Lee\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Lee\\Tests\\": "tests"
}
},
"config": {
"sort-packages": true,
"process-timeout": 0
}
}