forked from lmc-eu/api-filter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
49 lines (49 loc) · 1.39 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": "lmc/api-filter",
"description": "Parser/builder for filters from API query parameters.",
"type": "library",
"autoload": {
"psr-4": {
"Lmc\\ApiFilter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lmc\\ApiFilter\\": "tests/"
}
},
"require": {
"php": "^7.1",
"beberlei/assert": "^2.9 || ^3.0",
"mf/collections-php": "^3.10"
},
"suggest": {
"doctrine/orm": "To allow applying filters directly to QueryBuilder"
},
"require-dev": {
"doctrine/orm": "^2.6",
"lmc/coding-standard": "^1.1",
"mockery/mockery": "^1.1",
"php-coveralls/php-coveralls": "^2.1",
"phpstan/phpstan-shim": "^0.10",
"phpunit/phpunit": "^7.0"
},
"config": {
"sort-packages": true
},
"scripts": {
"all": [
"@analyze",
"@tests"
],
"analyze": [
"@cs",
"@phpstan"
],
"phpstan": "vendor/bin/phpstan analyze ./src ./tests -c phpstan.neon --ansi --level 7",
"tests": "vendor/bin/phpunit",
"tests-ci": "mkdir -p reports && php -dxdebug.coverage_enable=1 vendor/bin/phpunit -c phpunit.xml.dist",
"cs": "vendor/bin/ecs check -vvv --ansi src/ tests/",
"fix": "vendor/bin/ecs check -vvv --ansi --clear-cache --fix src/ tests/"
}
}