This repository was archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
52 lines (51 loc) · 1.39 KB
/
composer.json
File metadata and controls
52 lines (51 loc) · 1.39 KB
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
{
"require": {
"PHP": "^7.1",
"keboola/php-component": "dev-tf2-logger-dependency"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^1.0",
"keboola/coding-standard": "^2.0",
"keboola/php-temp": "^1.0",
"phpstan/phpstan-shim": "^0.9.2",
"phpunit/phpunit": "^7.0",
"symfony/process": "^4.0",
"keboola/datadir-tests": "^1.0"
},
"autoload": {
"psr-4": {
"MyComponent\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MyComponent\\Tests\\": "tests/phpunit/"
}
},
"scripts": {
"tests-phpunit": "phpunit",
"tests-datadir": "datadir-tests",
"tests": [
"@tests-phpunit",
"@tests-datadir"
],
"phpstan": "phpstan analyse ./src ./tests --level=max --no-progress -c phpstan.neon",
"phpcs": "phpcs -n --ignore=vendor --extensions=php .",
"phpcbf": "phpcbf -n --ignore=vendor --extensions=php .",
"phplint": "parallel-lint -j 10 --exclude vendor .",
"build": [
"@phplint",
"@phpcs",
"@phpstan",
"@tests"
],
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@build"
]
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
}
}