-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
69 lines (69 loc) · 1.71 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
67
68
69
{
"autoload": {
"psr-4": {
"PetrKnap\\XzUtils\\": "src"
},
"files": [
"src/ext-xz.php"
]
},
"autoload-dev": {
"psr-4": {
"PetrKnap\\XzUtils\\": "tests"
}
},
"config": {
"allow-plugins": false,
"sort-packages": true
},
"description": "XZ Utils (wrapper)",
"funding": [
{
"type": "other",
"url": "https://petrknap.github.io/donate.html"
}
],
"homepage": "https://github.com/petrknap/php-xz-utils",
"keywords": [
"xz-utils",
"wrapper",
"compression",
"decompression",
"xz",
"lzma"
],
"license": "LGPL-3.0-or-later",
"name": "petrknap/xz-utils",
"require": {
"php": ">=8.1",
"petrknap/external-filter": "^1.0",
"petrknap/shorts": "^2.0|^3.0"
},
"require-dev": {
"nunomaduro/phpinsights": "^2.11",
"phpstan/phpstan": "^1.12",
"squizlabs/php_codesniffer": "^3.7",
"phpunit/phpunit": "^10.5"
},
"scripts": {
"test": "@test-implementation",
"check-implementation": [
"phpcs --colors --standard=PSR12 --exclude=Generic.Files.LineLength src tests",
"phpstan analyse --level max src --ansi --no-interaction",
"phpstan analyse --level 5 tests --ansi --no-interaction",
"phpinsights analyse src tests --ansi --no-interaction --format=github-action | sed -e \"s#::error file=$PWD/#::notice file=#g\""
],
"check-requirements": [
"composer update \"petrknap/*\"",
"composer outdated \"petrknap/*\" --major-only --strict --ansi --no-interaction"
],
"test-implementation": [
"phpunit --colors=always --testdox tests"
],
"ci-script": [
"@check-implementation",
"@check-requirements",
"@test-implementation"
]
}
}