-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
executable file
·49 lines (49 loc) · 1.37 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
{
"name": "hradigital/php-datatypes",
"description": "Easy way to build up and sanitize your application objects.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Hugo Rafael Azevedo",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"keywords": [
"php",
"datatypes",
"ddd",
"domain driven design",
"domain",
"aggregates",
"entity",
"entities",
"value objects",
"scalar objects",
"immutable objects",
"mutable objects"
],
"require": {
"php": "^7.4||^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "^3.0@dev"
},
"autoload": {
"psr-4": {
"HraDigital\\Datatypes\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HraDigital\\Tests\\Datatypes\\": "tests/"
}
},
"scripts": {
"test-code" : "./vendor/bin/phpunit --coverage-clover ci/coverage-report.xml --coverage-html ci/coverage-report --log-junit ci/tests-results.xml",
"test-cs" : "./vendor/bin/phpcs -p --colors --no-cache --report=full --standard=PSR2 --exclude=Squiz.WhiteSpace.ControlStructureSpacing src/",
"test-all" : "composer run test-code && composer run test-cs"
}
}