-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
50 lines (50 loc) · 1.27 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
{
"name": "marvin255/jwt",
"type": "library",
"description": "Yet another jwt for PHP.",
"keywords": ["php", "jwt"],
"license": "MIT",
"require": {
"php": ">=8.1",
"marvin255/optional": "^0.1"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"friendsofphp/php-cs-fixer": "^3.0",
"vimeo/psalm": "^5.0",
"infection/infection": "^0.27"
},
"autoload": {
"psr-4": {
"Marvin255\\Jwt\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Marvin255\\Jwt\\Test\\": "tests/"
}
},
"scripts": {
"test": [
"vendor/bin/phpunit --configuration phpunit.xml.dist"
],
"coverage": [
"vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-html=tests/coverage"
],
"fixer": [
"vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --allow-risky=yes"
],
"linter": [
"vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --stop-on-violation --allow-risky=yes",
"vendor/bin/psalm --show-info=true --php-version=$(php -r \"echo phpversion();\")"
],
"infection": [
"vendor/bin/infection --min-msi=100 --min-covered-msi=100 --threads=4"
]
},
"config": {
"allow-plugins": {
"infection/extension-installer": false
}
}
}