forked from nunomaduro/phpinsights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
91 lines (91 loc) · 2.92 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "nunomaduro/phpinsights",
"description": "Instant PHP quality checks from your console.",
"keywords": ["php", "insights", "console", "quality", "source", "code"],
"license": "MIT",
"authors": [
{
"name": "Nuno Maduro",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2",
"ext-iconv": "*",
"ext-json": "*",
"composer/composer": "^1.7",
"league/container": "^3.2",
"object-calisthenics/phpcs-calisthenics-rules": "^3.5",
"phploc/phploc": "^5.0",
"sensiolabs/security-checker": "^6.0",
"symfony/console": "^4.2",
"symfony/finder": "^4.2",
"symplify/coding-standard": "^6.0.4",
"symplify/easy-coding-standard": "^6.0.4",
"symplify/package-builder": "^6.0.4"
},
"require-dev": {
"illuminate/console": "^5.8",
"illuminate/support": "^5.8",
"localheinz/phpstan-rules": "^0.10.0",
"phpstan/phpstan-strict-rules": "^0.11",
"roave/no-floaters": "^1.1",
"phpstan/phpstan": "^0.11.5",
"symfony/var-dumper": "^4.2",
"thecodingmachine/phpstan-strict-rules": "^0.11.0",
"phpunit/phpunit": "^8.0",
"mockery/mockery": "^1.0"
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"NunoMaduro\\PhpInsights\\": "src"
}
},
"config": {
"sort-packages": true,
"preferred-install": "dist"
},
"extra": {
"laravel": {
"providers": [
"NunoMaduro\\PhpInsights\\Application\\Adapters\\Laravel\\InsightsServiceProvider"
]
}
},
"bin": [
"bin/phpinsights"
],
"scripts": {
"website:copy-changelog": "@php -r \"copy('CHANGELOG.md', 'docs/changelog.md');\"",
"ecs:test": "ecs check src --ansi --config vendor/symplify/easy-coding-standard/config/set/clean-code.yaml",
"phpstan:test": "phpstan analyse --ansi",
"phpunit:test": "phpunit --colors=always",
"insights": "bin/phpinsights analyse --ansi -v --no-interaction --min-quality=85.7 --min-architecture=76.2 --min-style=97.8",
"test": [
"@phpstan:test",
"@ecs:test",
"@phpunit:test",
"@insights"
],
"post-install-cmd": [
"@website:copy-changelog"
],
"post-update-cmd": [
"@website:copy-changelog"
]
},
"scripts-descriptions": {
"website:copy-changelog": "Copy package changelog to the website",
"ecs:test": "Run the ecs tests.",
"phpstan:test": "Run the phpstan tests.",
"phpunit:test": "Run the phpunit tests.",
"insights": "Run the phpinsights tests",
"test": "Run all tests including phpstan, phpunit and ecs."
}
}