-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcomposer.json
125 lines (124 loc) · 3.22 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
114
115
116
117
118
119
120
121
122
123
124
125
{
"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" : "[email protected]"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": ">=8.0 <8.5",
"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.64.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.22",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"php-parallel-lint/php-var-dump-check": "^v0.5",
"phpat/phpat": "^0.10.18",
"phpstan/phpstan": "^1.12.5",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.1",
"phpstan/phpstan-webmozart-assert": "^1.2.11",
"phpunit/phpunit": "^9.6.21",
"rregeer/phpunit-coverage-check": "^0.3.1",
"symfony/filesystem": "^5.4 || ^6.0.19 || ^7"
},
"conflict": {
"nikic/php-parser": "<4.18"
},
"bin" : ["sarb"],
"autoload": {
"psr-4": {
"DaveLiddament\\StaticAnalysisResultsBaseliner\\" : "src/"
}
},
"autoload-dev": {
"psr-4": {
"DaveLiddament\\StaticAnalysisResultsBaseliner\\Tests\\" : "tests/",
"Tools\\" : "tools/"
}
},
"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"
],
"ci-8.4" : [
"@composer-validate",
"@lint",
"@var-dump-checker",
"@cs-8.4",
"@test-with-coverage-check",
"@phpstan"
],
"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",
"cs-8.4" : [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix -v --dry-run"
],
"cs-fix-8.4" : [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix -v"
],
"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"
]
}
}