-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
51 lines (51 loc) · 1.37 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
{
"name": "dotkernel/dot-user-agent-sniffer",
"description": "Dotkernel component providing details about a device by parsing a user agent.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Dotkernel Team",
"email": "[email protected]"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"matomo/device-detector": "^6.3.0",
"psr/container": "^1.1.2",
"laminas/laminas-stdlib": "^3.18.0"
},
"autoload": {
"psr-4": {
"Dot\\UserAgentSniffer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DotTest\\UserAgentSniffer\\": "test/"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"laminas/laminas-coding-standard": "^3.0",
"phpunit/phpunit": "^10.2",
"vimeo/psalm": "^6.0"
},
"scripts": {
"check": [
"@cs-check",
"@test",
"@static-analysis"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"static-analysis": "psalm --shepherd --stats"
}
}