-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
composer.json
78 lines (78 loc) · 2.58 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
{
"name": "mglaman/phpstan-drupal",
"description": "Drupal extension and rules for PHPStan",
"license": "MIT",
"type": "phpstan-extension",
"authors": [
{
"name": "Matt Glaman",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"symfony/finder": "^4.2 || ^5.0 || ^6.0 || ^7.0",
"symfony/yaml": "^4.2|| ^5.0 || ^6.0 || ^7.0",
"webflo/drupal-finder": "^1.3.1"
},
"require-dev": {
"behat/mink": "^1.8",
"composer/installers": "^1.9",
"drupal/core-recommended": "^10",
"drush/drush": "^10.0 || ^11 || ^12 || ^13@beta",
"phpstan/extension-installer": "1.4.3",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^8.5 || ^9 || ^10 || ^11",
"slevomat/coding-standard": "^7.1",
"squizlabs/php_codesniffer": "^3.3",
"symfony/phpunit-bridge": "^4.4 || ^5.4 || ^6.0 || ^7.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"suggest": {
"phpstan/phpstan-deprecation-rules": "For catching deprecations, especially in Drupal core.",
"jangregor/phpstan-prophecy": "Provides a prophecy/prophecy extension for phpstan/phpstan.",
"phpstan/phpstan-phpunit": "PHPUnit extensions and rules for PHPStan."
},
"autoload": {
"psr-4": {
"mglaman\\PHPStanDrupal\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"mglaman\\PHPStanDrupal\\Tests\\": "tests/src/"
},
"classmap": [
"tests/src/Type/data",
"tests/src/Rules/data"
]
},
"extra": {
"branch-alias": {
"dev-main": "1.0-dev"
},
"installer-paths": {
"tests/fixtures/drupal/core": ["type:drupal-core"],
"tests/fixtures/drupal/libraries/{$name}": ["type:drupal-library"],
"tests/fixtures/drupal/modules/contrib/{$name}": ["type:drupal-module"],
"tests/fixtures/drupal/profiles/contrib/{$name}": ["type:drupal-profile"],
"tests/fixtures/drupal/themes/contrib/{$name}": ["type:drupal-theme"]
},
"phpstan": {
"includes": [
"extension.neon",
"rules.neon"
]
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}