-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
56 lines (56 loc) · 1.79 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": "reyesoft/bank-accounts",
"type": "library",
"description": "PHP Bank Accounts validator, info and more...",
"keywords": ["cbu", "clabe", "banks"],
"homepage": "https://github.com/pablorsk/php-bank-accounts",
"license": "MIT",
"authors": [
{
"name": "Bank Accounts Validator"
},
{
"name": "Pablo Reyes",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"reyesoft/ci": "*",
"codedungeon/phpunit-result-printer": "0.28.0",
"phpunit/phpunit": "9.5.4"
},
"autoload": {
"psr-4": {
"BankAccounts\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"ci": "bash vendor/reyesoft/ci/parallel.bash -s \"composer ci-double-spaces\" \"composer phpstan\" \"composer ci-php-cs-fixer\"",
"ci-double-spaces": [
"sh vendor/reyesoft/ci/tools/find-double-spaces.sh src",
"sh vendor/reyesoft/ci/tools/find-double-spaces.sh tests"
],
"ci-php-cs-fixer": "sh vendor/reyesoft/ci/php/scripts/php-cs-fixer.sh",
"phpstan": [
"@phpstan-src",
"@phpstan-tests"
],
"phpstan-src": "./vendor/bin/phpstan analyse -l 7 -c resources/rules/phpstan.src.neon src",
"phpstan-tests": "./vendor/bin/phpstan analyse -l 7 -c resources/rules/phpstan.tests.neon tests",
"coverage": [
"phpdbg -d memory_limit=-1 -qrr ./vendor/bin/phpunit tests/",
"php ./vendor/reyesoft/ci/tools/coverage-checker.php ./bootstrap/cache/clover.xml 95"
],
"test": [
"./vendor/bin/phpunit -d memory_limit=-1 tests/"
]
}
}