-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
43 lines (43 loc) · 1.32 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
{
"name": "jeremeamia/iter8",
"type": "library",
"license": "MIT",
"config": {
"sort-packages": true
},
"require": {
"php": ">=7.2"
},
"require-dev": {
"phpstan/phpstan": "^0.11.0",
"phpunit/phpunit": "^8.0",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
"psr-4": { "Jeremeamia\\Iter8\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Jeremeamia\\Iter8\\Tests\\": "tests/" }
},
"scripts": {
"ci": [
"@stan",
"@test-ci"
],
"docs-codesniffer": "open https://github.com/squizlabs/PHP_CodeSniffer/wiki",
"docs-composer": "open https://getcomposer.org/doc/",
"docs-phpunit": "open https://phpunit.readthedocs.io/en/latest/",
"docs-stan": "open https://github.com/phpstan/phpstan/blob/master/README.md",
"stan": "phpstan analyse --level=7 src tests",
"style-fix": "phpcbf --standard=PSR12 src tests",
"style-lint": "phpcs --standard=PSR12 src tests",
"test": "phpunit --no-coverage ./tests",
"test-ci": "phpunit --coverage-text --whitelist ./src ./tests",
"test-coverage": [
"phpunit --coverage-html build/coverage --whitelist ./src --testdox-html build/testdox.html ./tests",
"open build/coverage/index.html"
],
"test-debug": "phpunit --no-coverage --debug",
"test-dox": "phpunit --no-coverage --testdox-text"
}
}