-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.79 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
{
"name": "php-static-analysis/attributes",
"description": "Attributes used instead of PHPDocs for static analysis tools",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"PhpStaticAnalysis\\Attributes\\": "src/"
}
},
"authors": [
{
"name": "Carlos Granados",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1"
},
"require-dev": {
"php-static-analysis/node-visitor": "^0.4.1 || dev-main",
"php-static-analysis/phpstan-extension": "^0.4.1 || dev-main",
"php-static-analysis/psalm-plugin": "^0.4.1 || dev-main",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^9.0",
"symplify/easy-coding-standard": "^12.1",
"vimeo/psalm": "^6"
},
"scripts": {
"phpstan": "phpstan analyse",
"phpstan-debug": "phpstan analyse --xdebug --debug",
"ecs": "ecs",
"ecs-fix": "ecs --fix",
"phpunit": "phpunit",
"psalm": "psalm",
"tests": [
"@ecs",
"@phpstan",
"@phpunit",
"@psalm"
]
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"php-static-analysis/psalm-plugin": true
},
"sort-packages": true
},
"suggest": {
"php-static-analysis/phpstan-extension": "PHPStan extension to read static analysis attributes",
"php-static-analysis/psalm-plugin": "Psalm plugin to read static analysis attributes",
"php-static-analysis/rector-rule": "RectorPHP rule to convert PHPDoc annotations to static analysis attributes"
}
}