-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
66 lines (66 loc) · 1.8 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
{
"name": "dbp/campusonline-api",
"type": "library",
"license": "AGPL-3.0-or-later",
"require": {
"php": ">=8.1",
"ext-json": "*",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^7.3",
"kevinrob/guzzle-cache-middleware": "^3.5 || ^4.0 || ^5.0 || ^6.0",
"league/uri": "^6.5 || ^7.4.0",
"league/uri-interfaces": "^2.3 || ^7.4",
"psr/log": "^1.1.4 || ^2.0 || ^3.0",
"psr/cache": "^1.0.1 || ^2.0.0 || ^3.0.0",
"psr/http-message": "^1.0 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.50",
"phpstan/phpstan": "^2.0.0",
"phpstan/phpstan-phpunit": "^2.0.0",
"phpunit/phpunit": "^10.1",
"symfony/cache": "^5.4 || ^6.4.3",
"symfony/phpunit-bridge": "^7.0.7"
},
"autoload": {
"psr-4": {
"Dbp\\CampusonlineApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Dbp\\CampusonlineApi\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true,
"platform": {
"php": "8.1"
},
"allow-plugins": {
"composer/package-versions-deprecated": true
}
},
"scripts": {
"test": [
"@php vendor/bin/phpunit"
],
"phpstan": [
"@php vendor/bin/phpunit --atleast-version 0",
"@php vendor/bin/phpstan analyze --ansi"
],
"lint": [
"@composer run cs",
"@composer run phpstan"
],
"cs-fix": [
"@php vendor/bin/php-cs-fixer --ansi fix"
],
"cs": [
"@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff"
],
"coverage": [
"@php vendor/bin/phpunit --coverage-html _coverage"
]
}
}