-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
62 lines (62 loc) · 1.56 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
{
"name": "dave-liddament/phpstan-php-language-extensions",
"description": "PHPStan rules to implement the language extensions provided by the php-language-extensions",
"keywords": ["static analysis", "phpstan", "package attribute", "friend attribute"],
"type": "phpstan-extension",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"phpstan/phpstan": "^1.10.34",
"dave-liddament/php-language-extensions": "^0.5.0 || ^0.6.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6.12",
"friendsofphp/php-cs-fixer": "^3.26.1",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"dave-liddament/phpstan-rule-test-helper": "^0.1.0 || ^0.2.0"
},
"license": "MIT",
"autoload": {
"psr-4": {
"DaveLiddament\\PhpstanPhpLanguageExtensions\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DaveLiddament\\PhpstanPhpLanguageExtensions\\Tests\\": "tests/"
},
"classmap": [
"tests/Rules/data"
]
},
"authors": [
{
"name": "Dave Liddament",
"email": "dave@lampbristol.com"
}
],
"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"
]
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
}
}