-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
58 lines (58 loc) · 2.33 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
50
51
52
53
54
55
56
57
58
{
"name": "lores/param-converter-bundle",
"description": "Extends the FOSRest ParamConverter to add chained handlers capable to serialize most generic REST calls out of the box and prepare the altered object as parameter to the Symfony method. Bolts on top and init existing FOS Rest feature.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Holger Göbber",
"email": "holger.goebber@googlemail.com"
}
],
"require": {
"php": "^7.2 || ^7.4",
"ext-json": "*",
"symfony/framework-bundle": ">4.2 || ^5.1.0",
"symfony/validator": ">4.2 || ^5.1.0",
"symfony/yaml": ">4.2 || ^5.1.0",
"jms/serializer-bundle": ">=2.0",
"sensio/framework-extra-bundle": ">5.0",
"symfony/orm-pack": ">1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.2",
"friendsofphp/php-cs-fixer": "^2.15",
"mockery/mockery": "^1.2",
"phpmetrics/phpmetrics": "^2.4",
"phpstan/phpstan": "^0.11.12",
"phpstan/phpstan-deprecation-rules": "^0.11.2",
"phpstan/phpstan-mockery": "^0.11.1",
"phpstan/phpstan-phpunit": "^0.11.2",
"roave/security-advisories": "dev-master",
"sebastian/phpcpd": "^4.1"
},
"autoload": { "psr-4": { "Lores\\RestParamConverterBundle\\": "src" } },
"autoload-dev": {
"psr-4": {
"Lores\\RestParamConverterBundle\\Tests\\": "src/Tests/"
}
},
"scripts": {
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon -l max ./src",
"metrics": "./vendor/bin/phpmetrics --report-html=./build/metrics --extensions=php,inc --junit=./build/logs/junit.xml --exclude=DataFixtures,Migrations,Tests src",
"phpcpd": "./vendor/bin/phpcpd --log-pmd ./build/logs/pmd-cpd.xml src || exit 0",
"cs-fixer": [
"php-cs-fixer fix \"./src\" --allow-risky=yes --rules=@Symfony,-yoda_style"
],
"test": "./vendor/bin/phpunit",
"test-coverage": "./vendor/bin/phpunit --coverage-text --colors=never --coverage-html ./build/coverage --log-junit=./build/logs/junit.xml",
"test-full-report": [
"mkdir -p ./build/logs || exit 0",
"@cs-check",
"@phpstan",
"@test-coverage",
"@metrics",
"@phpcpd"
]
}
}