-
Notifications
You must be signed in to change notification settings - Fork 74
/
composer.json
93 lines (93 loc) · 2.67 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "palantirnet/drupal-rector",
"description": "Instant fixes for your Drupal code by using Rector.",
"type": "library",
"keywords": [
"code style",
"rector",
"drupal",
"ast"
],
"require": {
"rector/rector": "^1.0",
"webflo/drupal-finder": "^1.2"
},
"license": "MIT",
"authors": [
{
"name": "Dezső Biczó",
"email": "[email protected]"
},
{
"name": "Ofer Shaal",
"email": "[email protected]"
},
{
"name": "Daniel Montgomery",
"email": "[email protected]"
},
{
"name": "Matt Glaman",
"email": "[email protected]"
},
{
"name": "Björn Brala",
"email": "[email protected]"
},
{
"name": "Ken Rickard",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"DrupalRector\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"DrupalRector\\Tests\\": "tests/src"
},
"classmap": [
"stubs"
]
},
"config": {
"optimize-autoloader": true,
"update-with-dependencies": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"rector/extension-installer": true,
"cweagans/composer-patches": true
}
},
"replace": {
"palantirnet/drupal8-rector": "*",
"drupal8-rector/drupal8-rector": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"enable-patching": true
},
"require-dev": {
"php": "^8.2",
"cweagans/composer-patches": "^1.7.2",
"friendsofphp/php-cs-fixer": "^3.58",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpunit/phpunit": "^10.0",
"symfony/yaml": "^5 || ^6 || ^7",
"symplify/vendor-patches": "^11.0"
},
"scripts": {
"docs": "composer remove friendsofphp/php-cs-fixer --dev && composer require symplify/rule-doc-generator --dev && vendor/bin/rule-doc-generator generate src/ --categorize=3 && composer remove symplify/rule-doc-generator --dev && composer require friendsofphp/php-cs-fixer --dev",
"test": "vendor/bin/phpunit",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=2G",
"check-style": "vendor/bin/php-cs-fixer check",
"fix-style": "vendor/bin/php-cs-fixer fix"
}
}