-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 1.71 KB
/
composer.json
File metadata and controls
64 lines (64 loc) · 1.71 KB
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
{
"$schema": "https://getcomposer.org/schema.json",
"name": "silbeckdevs/pagbank-sdk-php",
"description": "SDK php para integração com a API PagBank",
"minimum-stability": "stable",
"license": "MIT",
"type": "library",
"require": {
"php": "^8.2",
"psr/http-client": "^1.0.3",
"guzzlehttp/guzzle": "^7.10.0"
},
"require-dev": {
"phpunit/phpunit": "^12.5.23",
"phpstan/phpstan": "^2.1.50",
"kint-php/kint": "^6.1.0",
"monolog/monolog": "^3.10.0",
"friendsofphp/php-cs-fixer": "^3.95.1",
"brainmaestro/composer-git-hooks": "^3.0.0"
},
"autoload": {
"psr-4": {
"PagBankApi\\": "src/PagBankApi/"
}
},
"autoload-dev": {
"psr-4": {
"PagBankApi\\Tests\\": "tests/"
}
},
"scripts": {
"start": "php -S localhost:8879 -t .",
"format:check": "php-cs-fixer fix --dry-run --stop-on-violation",
"format:fix": "php-cs-fixer fix",
"phpstan": "phpstan analyse -c phpstan.neon --xdebug",
"phpunit": "phpunit --configuration phpunit.xml --testdox",
"test": [
"@phpstan",
"@phpunit"
],
"lint": [
"@format:fix",
"@phpstan"
],
"test:unit": "phpunit tests/Unit --configuration phpunit.xml --testdox",
"test:e2e": "phpunit tests/E2E --configuration phpunit.xml --testdox",
"test:coverage": "phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --coverage-html build/coverage",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": [
"pre-push",
"pre-commit"
]
},
"pre-commit": [
"composer format:check"
]
}
}
}