-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
60 lines (60 loc) · 1.63 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
{
"name": "fsylum/rector-wordpress",
"description": "Rector upgrades rules for WordPress",
"license": "MIT",
"type": "rector-extension",
"require": {
"php": ">=8.2",
"rector/rector": "^1.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.41",
"laravel/pint": "^1.13",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-strict-rules": "^1.5",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^10.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Fsylum\\RectorWordPress\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Fsylum\\RectorWordPress\\Tests\\": "tests"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
}
},
"extra": {
"composer-normalize": {
"indent-size": 4,
"indent-style": "space"
}
},
"scripts": {
"post-update-cmd": [
"@composer normalize"
],
"code-quality": [
"@rector",
"@phpstan",
"@pint"
],
"phpstan": "vendor/bin/phpstan analyse --ansi",
"phpunit": "vendor/bin/phpunit tests",
"pint": "vendor/bin/pint",
"pint-test": "vendor/bin/pint --test",
"rector": "vendor/bin/rector process --ansi",
"rector-dry-run": "vendor/bin/rector process --dry-run --ansi"
}
}