-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
70 lines (70 loc) · 1.4 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
{
"name": "mteu/docblock-rules",
"description": "A few additional rules for PHPStan",
"license": "GPL-3.0-or-later",
"type": "phpstan-extension",
"authors": [
{
"name": "Martin Adler",
"email": "[email protected]",
"homepage": "https://github.com/mteu",
"role": "Maintainer"
}
],
"require": {
"php": "~8.1 || ~8.2 || ~8.3",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.10"
},
"require-dev": {
"armin/editorconfig-cli": "^1.8 || ^2.0",
"ergebnis/composer-normalize": "^2.41",
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
"Mteu\\DocBlockRules\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Mteu\\DocBlockRules\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"scripts": {
"lint": [
"@lint:composer",
"@lint:editorconfig:fix"
],
"lint:composer": "@composer normalize --no-check-lock --no-update-lock",
"lint:editorconfig": "ec",
"lint:editorconfig:fix": "@lint:editorconfig --fix",
"sca": [
"@sca:php"
],
"sca:debug": [
"phpstan analyse -c phpstan.neon --debug -vvv --memory-limit=2g"
],
"sca:php": [
"phpstan analyse -c phpstan.php"
],
"test": [
"@test:unit"
],
"test:unit": "phpunit -c phpunit.xml"
}
}