-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (61 loc) · 1.81 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
{
"name": "tdev-agency/checkbox-ua",
"description": "Checkbox.ua SDK",
"version": "0.0.1",
"type": "library",
"require": {
"php": "^7.4|^8",
"guzzlehttp/guzzle": "^7",
"ext-json": "*",
"illuminate/collections": "^7|^8|^9"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.6",
"phpunit/phpunit": "*",
"fakerphp/faker": "^1.19",
"squizlabs/php_codesniffer": "^3.6",
"phpstan/phpstan": "^1.7",
"brainmaestro/composer-git-hooks": "^2.8"
},
"license": "MIT",
"autoload": {
"psr-4": {
"TDevAgency\\CheckboxUa\\": "src/",
"TDevAgency\\CheckboxUa\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "TDev Agency",
"email": "[email protected]"
}
],
"extra": {
"hooks": {
"config": {
"stop-on-failure": [
"pre-commit"
]
},
"pre-commit": [
"echo committing as $(git config user.name)",
"composer sniffer"
]
}
},
"minimum-stability": "stable",
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"cghooks": "command -v vendor/bin/cghooks >/dev/null 2>&1 || exit 0; vendor/bin/cghooks",
"phpunit": [
"vendor/bin/phpunit"
],
"sniffer": [
"vendor/bin/phpcbf --extensions=php --encoding=utf-8 -n -p --standard=PSR2 ./src/",
"vendor/bin/php-cs-fixer fix src/ --rules=@PSR12,no_unused_imports,no_blank_lines_after_class_opening,no_extra_blank_lines,return_type_declaration,global_namespace_import,fully_qualified_strict_types,cast_spaces,no_trailing_whitespace_in_comment,function_declaration --verbose --show-progress=dots",
"vendor/bin/phpcs --extensions=php --encoding=utf-8 -n -p --standard=PSR2 ./src/",
"vendor/bin/phpstan analyse src --no-progress --level 5"
]
}
}