-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
49 lines (49 loc) · 1.14 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
{
"name": "dave-liddament/phpstan-rule-test-helper",
"description": "Library to help make testing of PHPStan rules easier",
"type": "library",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"phpstan/phpstan": "^1.6|^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"friendsofphp/php-cs-fixer": "^3.7",
"php-parallel-lint/php-parallel-lint": "^1.3.2"
},
"license": "MIT",
"autoload": {
"psr-4": {
"DaveLiddament\\PhpstanRuleTestHelper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DaveLiddament\\PhpstanRuleTestHelper\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Dave Liddament",
"email": "[email protected]"
}
],
"scripts": {
"composer-validate": "@composer validate --no-check-all --strict",
"cs-fix": "php-cs-fixer fix",
"cs": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix --dry-run -v"
],
"analyse": "phpstan analyse",
"lint": "parallel-lint src tests",
"test": "phpunit",
"ci": [
"@composer-validate",
"@lint",
"@cs",
"@test",
"@analyse"
]
}
}