-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
110 lines (110 loc) · 3.33 KB
/
composer.json
File metadata and controls
110 lines (110 loc) · 3.33 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "iwf-web/phpstan-rules",
"description": "Custom rules for PHPStan for applications developed by IWF",
"type": "library",
"keywords": [
"phpstan",
"rules",
"coding-standard",
"ruleset"
],
"homepage": "https://github.com/iwf-web/phpstan-rules",
"license": "MIT",
"authors": [
{
"name": "Oliver Zieschang",
"email": "o.zieschang@iwf.ch",
"homepage": "https://github.com/Oliver-Zieschang",
"role": "Maintainer"
},
{
"name": "D3strukt0r",
"email": "dev@d3strukt0r.dev",
"homepage": "https://github.com/D3strukt0r",
"role": "Developer"
},
{
"name": "Xeno Suter",
"email": "x.suter@iwf.ch",
"homepage": "https://github.com/xeno-suter",
"role": "Developer"
}
],
"support": {
"email": "developer@iwf.ch",
"issues": "https://github.com/iwf-web/phpstan-rules/issues",
"forum": "https://github.com/iwf-web/phpstan-rules/discussions",
"wiki": "https://github.com/iwf-web/phpstan-rules/wiki",
"source": "https://github.com/iwf-web/phpstan-rules",
"docs": "https://github.com/iwf-web/phpstan-rules/blob/main/README.md"
},
"require": {
"php": ">=8.3"
},
"suggest": {
"phpstan/phpstan": "Required to use the bundled PHPStan rules (^2.1)"
},
"require-dev": {
"phpstan/phpstan": "^2.1",
"friendsofphp/php-cs-fixer": "^3.95",
"iwf-web/php-coding-standard": "^1.0",
"phpunit/phpunit": "^12.0",
"rector/rector": "^2.4",
"symfony/messenger": "^7.0|^8.0",
"symfony/routing": "^7.0|^8.0"
},
"autoload": {
"psr-4": {
"IWFWeb\\PhpstanRules\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"IWFWeb\\PhpstanRules\\Tests\\": "tests/"
},
"classmap": [
"tests/data/"
]
},
"scripts": {
"install-phpstan": "@php bin/extract-phpstan.php",
"post-install-cmd": "@install-phpstan",
"post-update-cmd": "@install-phpstan",
"lint": "@composer exec -- php-cs-fixer fix",
"lint:check": [
"find . -name '*.php' -not -path './vendor/*' -not -path './tests/data/*' | xargs -n1 php -l",
"@lint --dry-run --diff"
],
"test": [
"@phpstan:smoke",
"@phpstan",
"@phpunit"
],
"test:ci": [
"@phpstan:smoke",
"@phpstan:ci",
"@phpunit"
],
"phpunit": "@composer exec -- phpunit",
"phpunit:coverage": "@phpunit --coverage-clover coverage.xml",
"phpstan": "@composer exec -- phpstan --memory-limit=256M",
"phpstan:ci": "@phpstan --no-progress --error-format=github",
"phpstan:smoke": "@phpstan --no-progress --configuration=tests/smoke/phpstan-smoke.neon.dist",
"rector": [
"@composer exec -- rector",
"@lint"
],
"rector:check": "@composer exec -- rector --dry-run"
},
"minimum-stability": "stable",
"config": {
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
}
}