-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
57 lines (57 loc) · 1.64 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
{
"name": "yamadashy/phpstan-friendly-formatter",
"type": "phpstan-extension",
"description": "Simple error formatter for PHPStan that display code frame",
"keywords": ["package", "php", "phpstan", "static analysis"],
"license": "MIT",
"authors": [
{
"name": "Kazuki Yamada",
"email": "koukun0120@gmail.com"
}
],
"require": {
"php": "^7.4 || ^8.0",
"php-parallel-lint/php-console-highlighter": "^0.3 || ^0.4 || ^0.5 || ^1.0",
"phpstan/phpstan": "^0.12 || ^1.0 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^8.5.26 || ^10.0.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Yamadashy\\PhpStanFriendlyFormatter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"sort-packages": true,
"preferred-install": "dist"
},
"extra": {
"phpstan": {
"includes": ["extension.neon"]
}
},
"scripts": {
"tests": [
"@cs-fix-dry",
"@analyze",
"@test"
],
"test": "phpunit",
"analyze": "phpstan analyze -c phpstan.neon.dist --error-format friendly",
"analyze-raw": "phpstan analyze -c phpstan.neon.dist --error-format raw",
"analyze-table": "phpstan analyze -c phpstan.neon.dist --error-format table",
"cs-fix": "php-cs-fixer fix",
"cs-fix-dry": "php-cs-fixer fix --dry-run"
}
}