-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
46 lines (46 loc) · 1.2 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
{
"name": "dealnews/data-mapper",
"type": "library",
"license": "BSD-3-Clause",
"description": "PHP Library for implementing the Data Mapper pattern",
"config": {
"optimize-autoloader": true,
"discard-changes": true,
"sort-packages": true
},
"require": {
"php": "^8.0",
"dealnews/constraints": "^2.2.0",
"dealnews/repository": "^4.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.38",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"DealNews\\DataMapper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DealNews\\DataMapper\\Tests\\": "tests/"
}
},
"scripts": {
"phan": [
"docker run --rm -e PHAN_DISABLE_XDEBUG_WARN=1 -v `pwd`:/mnt/src -w /mnt/src phanphp/phan:5 -p"
],
"test": [
"parallel-lint src/ tests/",
"phpunit --colors=never"
],
"lint": [
"parallel-lint src/ tests/"
],
"fix": [
"php-cs-fixer fix --config .php-cs-fixer.dist.php src tests"
]
}
}