-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 1.71 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
{
"name": "elliotjreed/maths",
"description": "An object-oriented BCMath wrapper for PHP",
"keywords": [
"elliotjreed",
"maths"
],
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Elliot J. Reed",
"email": "[email protected]",
"homepage": "https://www.elliotjreed.com",
"role": "Developer"
}
],
"homepage": "https://github.com/elliotjreed/maths",
"autoload": {
"psr-4": {
"ElliotJReed\\": "src/ElliotJReed/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\ElliotJReed\\": "tests/ElliotJReed/"
}
},
"require": {
"php": "^8.1",
"ext-bcmath": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.41",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.5",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.8"
},
"scripts": {
"test": [
"@phpunit:coverage",
"@phpcs",
"@phpstan"
],
"phpunit": "vendor/bin/phpunit -c phpunit.xml",
"phpunit:debug": "vendor/bin/phpunit --stop-on-failure -c phpunit.xml",
"phpunit:coverage": "vendor/bin/phpunit -c phpunit.xml --coverage-html ./coverage --coverage-text",
"phpunit:ci": "vendor/bin/phpunit -c phpunit.xml --coverage-text",
"phpcs": "vendor/bin/php-cs-fixer fix --allow-risky=yes && vendor/bin/phpcs --standard=phpcs.xml",
"phpcs:ci": "vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run && vendor/bin/phpcs --standard=phpcs.xml --runtime-set ignore_warnings_on_exit true",
"phpstan": "vendor/bin/phpstan"
},
"config": {
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
}
}