-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
47 lines (47 loc) · 1.4 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": "fruitcake/php-decimal",
"description": "Decimal class for PHP",
"keywords": ["decimal", "math", "money"],
"homepage": "https://github.com/fruitcake/php-decimal",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Fruitcake",
"homepage": "https://fruitcake.nl"
}
],
"require": {
"php": "^8.1"
},
"require-dev": {
"phpunit/phpunit": "^10",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.10"
},
"autoload": {
"psr-4": {
"Fruitcake\\Decimal\\": "src/"
},
"files": [
"src/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Fruitcake\\Decimal\\Tests\\": "tests/"
}
},
"scripts": {
"actions": "composer test && composer analyse && composer check-style",
"test": "phpunit",
"analyse": "phpstan analyse src --level=5",
"check-style": "phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
},
"extra": {
"branch-alias": {
"dev-main": "1.0-dev"
}
}
}