-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
81 lines (81 loc) · 2.66 KB
/
Copy pathcomposer.json
File metadata and controls
81 lines (81 loc) · 2.66 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "tiny-blocks/math",
"description": "Arbitrary-precision numbers for PHP, where arithmetic is exact and rounding is explicit.",
"license": "MIT",
"type": "library",
"keywords": [
"math",
"decimal",
"rational",
"big-number",
"percentage",
"tiny-blocks",
"value-object",
"arbitrary-precision"
],
"authors": [
{
"name": "Gustavo Freze de Araujo Santos",
"homepage": "https://github.com/gustavofreze"
}
],
"homepage": "https://github.com/tiny-blocks/math",
"support": {
"issues": "https://github.com/tiny-blocks/math/issues",
"source": "https://github.com/tiny-blocks/math"
},
"require": {
"php": "^8.5"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.52",
"infection/infection": "^0.34",
"phpstan/phpstan": "^2.2",
"phpunit/phpunit": "^13.2",
"slevomat/coding-standard": "^8.31",
"squizlabs/php_codesniffer": "^4.0"
},
"suggest": {
"ext-bcmath": "Runs the arithmetic through libbcmath, which the pure PHP fallback matches to the digit but trails on speed, by an order of magnitude on most operations and by several dozen times on square roots."
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TinyBlocks\\Math\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Test\\TinyBlocks\\Math\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"process-timeout": 0,
"sort-packages": true
},
"scripts": {
"configure": [
"@composer install --optimize-autoloader",
"@composer normalize"
],
"configure-and-update": [
"@composer update --optimize-autoloader",
"@composer normalize"
],
"review": [
"@php ./vendor/bin/phpcs --standard=phpcs.xml --extensions=php ./src ./tests",
"@php ./vendor/bin/phpstan analyse -c phpstan.neon.dist --quiet --no-progress"
],
"test-file": "@php ./vendor/bin/phpunit --configuration phpunit.xml --no-coverage --filter",
"tests": [
"@php -d memory_limit=2G ./vendor/bin/phpunit --configuration phpunit.xml tests",
"@php ./vendor/bin/infection --threads=max --logger-html=reports/coverage/mutation-report.html --coverage=reports/coverage"
]
}
}