-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
57 lines (57 loc) · 1.59 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
{
"name": "keboola/php-temp",
"description": "Temp library handles application temporary files",
"license": "MIT",
"keywords": [
"filesystem",
"temp"
],
"authors": [
{
"name": "Keboola",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.1",
"symfony/filesystem": ">2.8"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^8.0",
"jakub-onderka/php-parallel-lint": "^1.0",
"phpstan/phpstan-shim": "^0.11",
"keboola/coding-standard": "^8.0",
"infection/infection": "^0.12"
},
"autoload": {
"psr-4": {
"Keboola\\Temp\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Keboola\\Temp\\Tests\\": "tests/"
}
},
"scripts": {
"tests": "phpunit --coverage-clover build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml",
"phpstan": "phpstan analyse ./src ./tests --level=max --no-progress -c phpstan.neon",
"phpcs": "phpcs -n --ignore=vendor --extensions=php .",
"phplint": "parallel-lint -j 10 --exclude vendor .",
"infection": "infection --threads=4 --min-covered-msi=80 --coverage=build/logs",
"build": [
"@phplint",
"@phpcs",
"@phpstan",
"@tests",
"@infection"
],
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@build"
]
},
"config": {
"sort-packages": true
}
}