/
composer.json
47 lines (47 loc) · 1.25 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
{
"name": "antonvlasenko/decimal",
"description": "An object-oriented wrapper around BC Math PHP extension",
"type": "library",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Anton Vlasenko",
"email": "vlasenko.anton@gmail.com"
}
],
"autoload": {
"psr-4": {
"AntonVlasenko\\Decimal\\": "src",
"AntonVlasenko\\Decimal\\Tests\\": "tests"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=7.2",
"ext-bcmath": "*"
},
"require-dev": {
"phpunit/phpunit": "^8.3",
"phpstan/phpstan": "^0.11.16",
"phpstan/phpstan-phpunit": "^0.11.2",
"symplify/easy-coding-standard": "^6.1"
},
"config": {
"bin-dir": "bin"
},
"scripts": {
"coverage": [
"rm -rf build/",
"@php bin/phpunit -v --coverage-html build/coverage-report --colors=always",
"open build/coverage-report/index.html"
],
"stan": [
"@php bin/phpstan -vvv analyse --ansi"
],
"test": [
"@php bin/phpunit -v --colors=always"
],
"checkcs": "bin/ecs check .",
"fixcs": "bin/ecs check . --fix"
}
}