-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
68 lines (68 loc) · 2.04 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
{
"name": "keboola/permission-checker",
"type": "library",
"license": "MIT",
"description": "Keboola K8S client library",
"authors": [
{
"name": "Keboola",
"email": "[email protected]"
}
],
"repositories": {
"libs": {
"type": "path",
"url": "../../libs/*"
}
},
"autoload": {
"psr-4": {
"Keboola\\PermissionChecker\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Keboola\\PermissionChecker\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.1",
"keboola/common-exceptions": "^1.2"
},
"require-dev": {
"infection/infection": "^0.27.0",
"keboola/coding-standard": "^15.0",
"keboola/storage-api-php-client-branch-wrapper": "^5.1",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^9.5",
"sempro/phpunit-pretty-print": "^1.4",
"symfony/dotenv": "^6.2",
"symfony/filesystem": "^6.1"
},
"config": {
"sort-packages": true,
"lock": false,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true
}
},
"scripts": {
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@phpcs",
"@phpstan",
"@phpunit",
"@infection"
],
"phpcs": "phpcs -n --ignore=vendor,cache,Kernel.php --extensions=php .",
"phpcbf": "phpcbf --extensions=php src tests",
"phpstan": "phpstan analyse --no-progress -c phpstan.neon",
"phpunit": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-clover /tmp/build-logs/clover.xml --coverage-xml=/tmp/build-logs/coverage-xml --log-junit=/tmp/build-logs/phpunit.junit.xml"
],
"infection": "infection --threads=4 --min-covered-msi=100 --coverage=/tmp/build-logs --only-covered"
}
}