-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
79 lines (79 loc) · 2.29 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
{
"name": "tiny-blocks/math",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/tiny-blocks/math",
"description": "Value Objects for handling arbitrary precision numbers.",
"prefer-stable": true,
"minimum-stability": "stable",
"keywords": [
"vo",
"psr",
"math",
"arithmetic",
"big-number",
"tiny-blocks",
"value-object",
"arbitrary-precision"
],
"authors": [
{
"name": "Gustavo Freze de Araujo Santos",
"homepage": "https://github.com/gustavofreze"
}
],
"support": {
"issues": "https://github.com/tiny-blocks/math/issues",
"source": "https://github.com/tiny-blocks/math"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
}
},
"autoload": {
"psr-4": {
"TinyBlocks\\Math\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TinyBlocks\\Math\\": "tests/"
}
},
"require": {
"php": "^8.3",
"ext-bcmath": "*"
},
"require-dev": {
"phpmd/phpmd": "^2.15",
"phpunit/phpunit": "^11",
"phpstan/phpstan": "^1",
"infection/infection": "^0",
"squizlabs/php_codesniffer": "^3.11"
},
"suggest": {
"ext-bcmath": "Enables the extension which is an interface to the GNU implementation as a Basic Calculator utility library."
},
"scripts": {
"test": "phpunit --configuration phpunit.xml tests",
"phpcs": "phpcs --standard=PSR12 --extensions=php ./src",
"phpmd": "phpmd ./src text phpmd.xml --suffixes php --ignore-violations-on-exit",
"phpstan": "phpstan analyse -c phpstan.neon.dist --quiet --no-progress",
"mutation-test": "infection --only-covered --threads=max --logger-html=report/coverage/mutation-report.html --coverage=report/coverage",
"test-no-coverage": "phpunit --configuration phpunit.xml --no-coverage tests",
"review": [
"@phpcs",
"@phpmd",
"@phpstan"
],
"tests": [
"@test",
"@mutation-test"
],
"tests-no-coverage": [
"@test-no-coverage"
]
}
}