-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
66 lines (66 loc) · 1.8 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
{
"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", "namespace visibility attribute", "friend attribute"],
"type": "phpstan-extension",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"phpstan/phpstan": "^1.12.19 || ^2.0",
"dave-liddament/php-language-extensions": "^0.8.0 || ^0.9.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.5.0",
"nette/neon": "^3.4"
},
"license": "MIT",
"autoload": {
"psr-4": {
"DaveLiddament\\PhpstanPhpLanguageExtensions\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DaveLiddament\\PhpstanPhpLanguageExtensions\\Tests\\": "tests/",
"DaveLiddament\\PhpstanPhpLanguageExtensions\\Build\\": "build/"
},
"classmap": [
"tests/Rules/data"
]
},
"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",
"e2e": "phpstan analyse --configuration=e2e/phpstan-e2e.neon --error-format=json | php e2e/test-runner",
"ci": [
"@composer-validate",
"@lint",
"@cs",
"@test",
"@analyse",
"@e2e"
]
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
}
}