-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
88 lines (88 loc) · 2.69 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
{
"name": "flavioheleno/bank-utils",
"description": "Bank Utilities: CNAB Handling, Boleto Parsing and Validation",
"type": "library",
"keywords": ["cnab", "boleto", "parser", "validator", "bank", "utilities"],
"homepage": "https://github.com/flavioheleno/bank-utils",
"license": "mit",
"authors": [
{
"name": "Flavio Heleno",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"BankUtils\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"BankUtilsTest\\": "tests"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"infection/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/flavioheleno"
}
],
"require": {
"php": ">=7.4",
"moneyphp/money": "^4.0"
},
"require-dev": {
"infection/infection": "^0.26",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9.5",
"psy/psysh": "^0.11",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6",
"vimeo/psalm": "^4.8"
},
"suggest": {
"phpoffice/phpspreadsheet": "Convert CNAB files to spreadsheets"
},
"scripts": {
"console": "vendor/bin/psysh",
"infection": "vendor/bin/infection",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/",
"phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php src/",
"phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation",
"psalm": "vendor/bin/psalm --taint-analysis",
"test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation",
"test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml",
"test": [
"@infection",
"@lint",
"@phpunit",
"@phpstan",
"@psalm",
"@phpcs"
]
},
"scripts-descriptions": {
"console": "Runs PsySH Console",
"infection": "Runs mutation test framework",
"lint": "Runs complete codebase lint testing",
"phpcs": "Runs coding style checking",
"phpstan": "Runs complete codebase static analysis",
"phpunit": "Runs library test suite",
"psalm": "Runs complete codebase taint analysis",
"test-ci": "Runs library test suite (for continuous integration)",
"test-coverage": "Runs test-coverage analysis",
"test": "Runs all tests"
}
}