-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
66 lines (66 loc) · 1.83 KB
/
composer.json
File metadata and controls
66 lines (66 loc) · 1.83 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "vukanac/ci-base-php",
"description": "Example/Starting point for a project with CI for PHP with Travis",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Vladimir Vukanac",
"email": "vukanac@gmail.com"
}
],
"require": {
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.1",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.11.16",
"phpstan/phpstan-phpunit": "^0.11.2",
"phpunit/phpunit": "^8.4",
"sebastian/phpcpd": "^4.1",
"squizlabs/php_codesniffer": "^3.5",
"thecodingmachine/phpstan-strict-rules": "^0.11.2",
"vimeo/psalm": "^3.6"
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\App\\": "tests/"
}
},
"scripts-descriptions": {
"phpcs": "Checks that the code conforms to coding standard",
"phpcbf": "Checks and FIX the code to coding standard",
"phpcpd": "Checks the code for code duplication",
"test": "Launches the preconfigured PHPUnit"
},
"scripts": {
"ci": [
"@composer validate --no-check-all --strict",
"@phpcs",
"@phpcpd",
"@phpstan",
"@psalm",
"@test"
],
"phpcs": "phpcs --standard=PSR2 src",
"phpcbf": "phpcbf --standard=PSR2 src tests",
"phpcpd": "phpcpd src tests",
"phpstan": "phpstan analyse --level=max src tests",
"psalm": "psalm --threads=4",
"test": "phpunit"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"process-timeout": 0,
"sort-packages": true,
"platform": {
"php": "7.3"
}
}
}