-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
50 lines (50 loc) · 951 Bytes
/
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
{
"name": "wmde/euro",
"description": "Value object for representing a positive amount of Euro",
"homepage": "https://github.com/wmde/Euro",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=8.1",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "~11.0",
"wmde/fundraising-phpcs": "~11.0"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/wmde/fundraising-phpcs",
"no-api": true
}
],
"autoload": {
"psr-4": {
"WMDE\\Euro\\": "src/"
}
},
"scripts": {
"ci": [
"@test",
"@cs"
],
"test": [
"composer validate --no-interaction",
"vendor/bin/phpunit"
],
"cs": [
"@phpcs"
],
"phpcs": [
"vendor/bin/phpcs src/ tests/ --standard=phpcs.xml --extensions=php -sp"
],
"fix-cs": [
"vendor/bin/phpcbf src/ tests/ --standard=phpcs.xml --extensions=php"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}