-
Notifications
You must be signed in to change notification settings - Fork 11
/
composer.json
64 lines (64 loc) · 2.24 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
{
"name": "maciej-sz/nbp-php",
"description": "API for accessing Polish National Bank (NBP - Narodowy Bank Polski) currency and commodities exchange rates",
"keywords": ["nbp", "currency", "money", "commodity", "gold", "exchange", "rate", "rates"],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Maciej Szopiński",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"MaciejSz\\Nbp\\": "src/"
},
"files": [
"src/Shared/Domain/DateFormatter/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"MaciejSz\\Nbp\\Test\\Unit\\": "tests/unit/",
"MaciejSz\\Nbp\\Test\\Functional\\": "tests/functional/",
"MaciejSz\\Nbp\\Test\\Integration\\": "tests/integration/",
"MaciejSz\\Nbp\\Test\\E2e\\": "tests/e2e/",
"MaciejSz\\Nbp\\Test\\Fixtures\\": "tests/fixtures/src/"
}
},
"require": {
"php": ">=7.2||>=8.0",
"ext-json": "*"
},
"require-dev": {
"guzzlehttp/guzzle": "^6.3",
"phpunit/phpunit": "^9.6",
"qossmic/deptrac-shim": "^1.0",
"friendsofphp/php-cs-fixer": "^3.16",
"phpstan/phpstan": "^1.10",
"symfony/http-client": "^6.2",
"donatj/mock-webserver": "^2.6",
"symfony/cache": "^6.2",
"cache/integration-tests": "dev-master"
},
"suggest": {
"psr/cache": "Allows local cache",
"symfony/http-foundation": "Symfony HTTP Transport layer"
},
"scripts": {
"test": "vendor/bin/phpunit -vv --testsuite unit,functional,integration",
"test-all": "vendor/bin/phpunit -vv --testsuite unit,functional,integration,e2e",
"test-coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html var/coverage/html-report -vv --testsuite unit,functional,integration",
"cs-check": "vendor/bin/php-cs-fixer --config=./.php-cs-fixer.dist.php fix --dry-run --diff --allow-risky=yes",
"phpstan-analyse": "vendor/bin/phpstan",
"analyse": [
"@cs-check",
"@phpstan-analyse"
],
"pre-commit-checks": [
"@analyse",
"@test-all"
]
}
}