-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
77 lines (77 loc) · 2.25 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
{
"name": "php-static-analysis/rector-rule",
"description": "RectorPHP rule to convert PHPDoc annotations for static analysis to PHP attributes",
"type": "rector-extension",
"keywords": [
"dev",
"static analysis"
],
"license": "MIT",
"autoload": {
"psr-4": {
"PhpStaticAnalysis\\RectorRule\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"test\\PhpStaticAnalysis\\RectorRule\\": "tests/"
}
},
"authors": [
{
"name": "Carlos Granados",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.1",
"php-static-analysis/attributes": "^0.4.0 || dev-main",
"php-static-analysis/node-visitor": "^0.4.0 || dev-main",
"rector/rector": "^2.0"
},
"require-dev": {
"composer/composer": "^2.8",
"php-static-analysis/phpstan-extension": "^0.4.0 || dev-main",
"php-static-analysis/psalm-plugin": "^0.4.0 || dev-main",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^9.0",
"symplify/easy-coding-standard": "^12.1",
"vimeo/psalm": "dev-master",
"webmozart/assert": "^1.11"
},
"scripts": {
"tests": [
"@ecs",
"@psalm",
"@phpunit",
"@phpstan",
"@rector"
],
"tests-without-psalm": [
"@ecs",
"@phpunit",
"@phpstan",
"@rector"
],
"psalm": "psalm",
"ecs": "ecs",
"ecs-fix": "ecs --fix",
"phpunit": "phpunit",
"phpstan": "phpstan analyse",
"rector": "rector --dry-run",
"rector-fix": "rector",
"rector-debug": "rector --clear-cache --xdebug --dry-run",
"post-install-cmd": "PhpStaticAnalysis\\RectorRule\\Composer\\Plugin::onPostInstall",
"post-update-cmd": "PhpStaticAnalysis\\RectorRule\\Composer\\Plugin::onPostUpdate"
},
"config": {
"allow-plugins": {
"php-static-analysis/psalm-plugin": true,
"phpstan/extension-installer": true
},
"sort-packages": true
}
}