-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcomposer.json
67 lines (67 loc) · 1.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
{
"name": "pepakriz/phpstan-exception-rules",
"description": "Exception rules for PHPStan",
"type": "phpstan-extension",
"license": [
"MIT"
],
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "0.12-dev"
},
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"require": {
"php": ">=7.1",
"nikic/php-parser": "^4.13",
"phpstan/phpstan": "^1.0"
},
"require-dev": {
"nette/utils": "^3.0",
"php-parallel-lint/php-console-highlighter": "^0.4.0",
"php-parallel-lint/php-parallel-lint": "^1.2.0",
"phpstan/phpstan-nette": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^7.5.6 || ^9.4.2",
"slevomat/coding-standard": "^6.4.1",
"squizlabs/php_codesniffer": "~3.5.2"
},
"autoload": {
"psr-4": {
"Pepakriz\\PHPStanExceptionRules\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Pepakriz\\PHPStanExceptionRules\\": "tests/src/"
},
"classmap": [
"tests/src"
]
},
"scripts": {
"check": [
"@check:composer",
"@check:lint",
"@check:cs",
"@check:types",
"@check:tests"
],
"check:composer": "composer validate",
"check:tests": "phpunit",
"check:cs": "phpcs --extensions=php --encoding=utf-8 --tab-width=4 --colors --ignore=tests/*/data -sp src tests/src",
"check:lint": "parallel-lint src tests/src",
"check:types": "phpstan analyse --memory-limit=1G -l 8 src tests",
"fix": "@fix:cs",
"fix:cs": "phpcbf --extensions=php --encoding=utf-8 --tab-width=4 --colors --ignore=tests/*/data -sp src tests/src"
},
"config": {
"sort-packages": true
}
}