-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.27 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
{
"name": "svnldwg/phpstan-rules",
"type": "phpstan-extension",
"description": "Provides additional rules for phpstan/phpstan",
"keywords": [
"phpstan",
"phpstan-rules"
],
"homepage": "https://github.com/svnldwg/phpstan-rules",
"license": "MIT",
"authors": [
{
"name": "Sven Ludwig",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2 | ^8.0",
"ext-mbstring": "*",
"nikic/php-parser": "^4.2.3",
"phpstan/phpstan": ">=0.11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16.4",
"phpunit/phpunit": "^8.0 || ^9.0",
"phpstan/phpstan": "^0.12"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
},
"autoload": {
"psr-4": {
"Svnldwg\\PHPStan\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Svnldwg\\PHPStan\\Test\\": "test/"
}
},
"scripts": {
"check": [
"@cs-check",
"@phpstan"
],
"cs-check": "php-cs-fixer fix --config=dev/csfixer.php_cs --dry-run --diff",
"phpstan": "phpstan analyse -c dev/phpstan.neon --no-progress --memory-limit=1G",
"phpunit": "php vendor/bin/phpunit --configuration=test/Integration/phpunit.xml"
}
}