-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
133 lines (133 loc) · 4.99 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "php-tuf/composer-stager-console",
"description": "Example console commands for Composer Stager.",
"license": "MIT",
"type": "project",
"readme": "README.md",
"authors": [
{
"name": "Travis Carden",
"email": "[email protected]",
"role": "Developer"
}
],
"homepage": "https://github.com/php-tuf/composer-stager-console",
"require": {
"php": ">=8.2",
"php-tuf/composer-stager": "^2.0",
"symfony/config": "~7.1.1",
"symfony/console": "~7.1.1",
"symfony/dependency-injection": "~7.1.1",
"symfony/yaml": "~7.1.1"
},
"require-dev": {
"ext-json": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"ergebnis/composer-normalize": "^2.30.2",
"pepakriz/phpstan-exception-rules": "^0.12.0",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpcompatibility/php-compatibility": "^9.3.5",
"phpro/grumphp-shim": "^2.0",
"phpspec/prophecy-phpunit": "^2.0.1",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.10.11",
"phpstan/phpstan-deprecation-rules": "^1.1.3",
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^9.6",
"psalm/phar": "^5.9",
"slevomat/coding-standard": "^8.10",
"squizlabs/php_codesniffer": "^3.7.2",
"thecodingmachine/phpstan-strict-rules": "^1.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"PhpTuf\\ComposerStagerConsole\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpTuf\\ComposerStagerConsole\\Tests\\PHPStan\\": "tests/PHPStan",
"PhpTuf\\ComposerStagerConsole\\Tests\\PHPUnit\\": "tests/PHPUnit"
}
},
"bin": [
"bin/composer-stage"
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpro/grumphp-shim": false,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"sort-packages": true
},
"extra": {
"grumphp": {
"disable-plugin": true
}
},
"scripts": {
"all": [
"phpstan clear-result-cache",
"grumphp run"
],
"c": [
"@composer dump-autoload",
"phpstan clear-result-cache",
"rm -r var/*/* &> /dev/null || true",
"git checkout -- var"
],
"cbf": "phpcbf",
"coverage": "open $(pwd)/var/phpunit/coverage-report/index.html || echo 'Run the \"coverage\" command to generate the coverage report.'",
"cs": "@phpcs",
"fix": "@phpcbf",
"functional": "phpunit --testsuite=Functional",
"lint": "parallel-lint --no-progress bin/composer-stage src tests",
"md": "@phpmd",
"phpcbf": "phpcbf",
"phpcs": "phpcs -s",
"phpstan": [
"phpstan clear-result-cache",
"phpstan analyse"
],
"phpunit": "phpunit",
"psalm": "psalm.phar",
"psalter": "psalm.phar --alter --issues=all",
"stan": "@phpstan",
"static": [
"phpstan clear-result-cache",
"grumphp run --testsuite=static"
],
"test": "phpunit --coverage-html $(pwd)/var/phpunit/coverage-report --coverage-text --color=always",
"unit": "phpunit --testsuite=Unit"
},
"scripts-descriptions": {
"all": "Runs all automated tests and static analysis tools.",
"bench": "[phpbench] Run benchmarks",
"c": "Clears all script caches and test fixtures in the \"var\" directory",
"cbf": "[phpcbf] Automatically fixes standards violations where possible",
"coverage": "Opens the code coverage report generated by the \"test\" script (on macOS)",
"cs": "[phpcs] Checks code for standards compliance",
"fast": "Runs only fast automated tests",
"fix": "[phpcbf] Automatically fixes standards violations where possible",
"functional": "Runs functional tests",
"lint": "Lints PHP files",
"md": "[phpmd] Looks for potential problems within the source code",
"phpbench": "[bench] Run benchmarks",
"phpcbf": "[cbf] Automatically fixes standards violations where possible",
"phpcs": "[cs] Checks code for standards compliance",
"phpmd": "[md] Looks for potential problems within the source code",
"phpstan": "[stan] Analyzes code to find bugs",
"psalm": "Automatically fixes Psalm errors where possible",
"psalter": "Automatically fixes Psalm errors where possible.",
"rector": "Instantly upgrade and automatically refactors PHP code",
"stan": "[phpstan] Analyzes code to find bugs",
"static": "Runs all static analysis tools",
"tests": "[test] Runs automated tests",
"unit": "Runs unit tests"
}
}