-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
44 lines (44 loc) · 1.46 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
{
"name": "dereuromark/cakephp-decimal",
"description": "CakePHP plugin for decimal handling via value object. Provides DecimalType class.",
"license": "MIT",
"type": "cakephp-plugin",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0.0",
"php-collective/decimal-object": "^1.0.0"
},
"require-dev": {
"fig-r/psr2r-sniffer": "dev-master",
"phpunit/phpunit": "^10.2"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"CakeDecimal\\": "src/",
"CakeDecimal\\Test\\Fixture\\": "tests/Fixture/"
}
},
"autoload-dev": {
"psr-4": {
"CakeDecimal\\Test\\": "tests/",
"TestApp\\": "tests/test_app/src/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"cs-check": "phpcs --extensions=php",
"cs-fix": "phpcbf --extensions=php",
"stan": "vendor/bin/phpstan.phar analyse",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
"lowest": "validate-prefer-lowest",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
"test": "phpunit",
"test-coverage": "phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml"
}
}