-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.75 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
{
"name": "berbeflo/password-generator",
"description": "a small class for generating passwords",
"type": "library",
"authors": [
{
"name": "Florian Berberich",
"email": "[email protected]"
}
],
"require": {},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"phpstan/phpstan": "^0.11.5",
"phpunit/phpunit": "^8.1",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
"psr-4": {
"berbeflo\\PasswordGenerator\\" : "src/"
}
},
"autoload-dev": {
"psr-4": {
"berbeflo\\PasswordGenerator\\Test\\" : "tests/"
}
},
"config": {
"use-include-path": false,
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"run-ci" : [
"phpcs --standard=phpcs_custom.xml src/",
"phpcs --standard=phpcs_custom.xml tests/",
"phpunit --coverage-html cc --whitelist src --testdox --bootstrap tests/bootstrap.php tests"
],
"fix-cs" : [
"php-cs-fixer fix src/ --format=xml --diff --verbose --allow-risky=yes",
"php-cs-fixer fix tests/ --format=xml --diff --verbose --allow-risky=yes",
"phpcbf --standard=phpcs_custom.xml src/",
"phpcbf --standard=phpcs_custom.xml tests/"
],
"check-cs" : [
"phpcs --standard=phpcs_custom.xml src/",
"phpcs --standard=phpcs_custom.xml tests/"
],
"run-test" : [
"phpunit --coverage-html cc --whitelist src --testdox --bootstrap tests/bootstrap.php tests"
],
"run-stan" : [
"phpstan analyse -l max -c phpstan.neon src"
]
}
}