-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcomposer.json
113 lines (112 loc) · 3.05 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name" : "dave-liddament/sarb",
"type": "project",
"description": "Provides tools for baselining static analysis results and comparing against that baseline",
"keywords" : ["php", "baseline", "static analysis"],
"license" : "MIT",
"authors" : [
{
"name" : "Dave Liddament",
"email" : "daveliddament@gmail.com"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": ">=8.0 <8.4",
"symfony/config": "^5.4 || ^6.0.19 || ^7",
"symfony/console": "^5.4 || ^6.0.19 || ^7",
"symfony/dependency-injection": "^5.4 || ^6.0.20 || ^7",
"symfony/process": "^5.4 || ^6.0.19 || ^7",
"symfony/yaml": "^5.4 || ^6.0.19 || ^7",
"webmozart/assert": "^1.11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.51.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"php-parallel-lint/php-var-dump-check": "^v0.5",
"phpstan/phpstan": "^1.11.1",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpstan/phpstan-webmozart-assert": "^1.2.6",
"phpunit/phpunit": "^9.6.15",
"psalm/plugin-phpunit": "^0.18.4",
"rregeer/phpunit-coverage-check": "^0.3.1",
"symfony/filesystem": "^5.4 || ^6.0.19 || ^7",
"vimeo/psalm": "^5.24.0"
},
"conflict": {
"nikic/php-parser": "<4.18"
},
"bin" : ["sarb"],
"autoload": {
"psr-4": {
"DaveLiddament\\StaticAnalysisResultsBaseliner\\" : "src/"
}
},
"autoload-dev": {
"psr-4": {
"DaveLiddament\\StaticAnalysisResultsBaseliner\\Tests\\" : "tests/",
"Tools\\Phpstan\\" : "tools/Phpstan/"
}
},
"scripts": {
"ci-8.0" : [
"@composer-validate",
"@lint",
"@var-dump-checker",
"@cs",
"@test",
"@phpstan",
"@psalm-8.0"
],
"ci-8.1" : [
"@composer-validate",
"@lint",
"@var-dump-checker",
"@cs",
"@test",
"@phpstan",
"@psalm-8.1"
],
"ci-8.2" : [
"@composer-validate",
"@lint",
"@var-dump-checker",
"@cs",
"@test",
"@phpstan",
"@psalm-8.2"
],
"ci-8.3" : [
"@composer-validate",
"@lint",
"@var-dump-checker",
"@cs",
"@test-with-coverage-check",
"@phpstan",
"@psalm-8.3"
],
"composer-validate" : "@composer validate --no-check-all --strict",
"lint" : "parallel-lint src tests",
"var-dump-checker" : "var-dump-check --ladybug --no-colors src",
"cs" : "php-cs-fixer fix -v --dry-run",
"cs-fix" : "php-cs-fixer fix -v",
"psalm-8.0" : "psalm --php-version=8.0",
"psalm-8.1" : "psalm --php-version=8.1",
"psalm-8.2" : "psalm --php-version=8.2",
"psalm-8.3" : "psalm --php-version=8.3 --shepherd",
"phpstan" : "phpstan -n --no-progress analyse",
"deptrac" : "deptrac",
"test" : [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-clover=reports/phpunit.xml"
],
"test-with-coverage-check" : [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-clover=reports/phpunit.xml",
"coverage-check reports/phpunit.xml 100"
]
}
}