-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
132 lines (132 loc) · 3.17 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "bornfight/transfer-object-converter",
"type": "symfony-bundle",
"license": "MIT",
"description": "Populate given object from POST request - both from $_POST and $_FILES",
"keywords": [
"symfony",
"request",
"converter",
"hydrator"
],
"authors": [
{
"name": "Bruno Zorić",
"email": "bruno.zoric@bornfight.com"
}
],
"require": {
"php": ">=7.2",
"sensio/framework-extra-bundle": "^5.3",
"symfony/property-access": "^4.2",
"symfony/property-info": "^4.2",
"symfony/validator": "^4.2"
},
"require-dev": {
"codeception/codeception": "^2.5",
"codeception/verify": "^1.0",
"friendsofphp/php-cs-fixer": "^2.13",
"phpmd/phpmd": "@stable",
"phpstan/phpstan-shim": "^0.11.6",
"phpstan/phpstan-strict-rules": "^0.11.0",
"sebastian/phpcpd": "^4"
},
"scripts": {
"phpstan": [
"phpstan analyse --level=7 --memory-limit=512M src/ || true"
],
"phpstan-tests": [
"phpstan analyse --level=7 --memory-limit=512M tests/unit/ || true"
],
"ci:phpstan": [
"phpstan analyse --level=7 --no-progress --no-ansi --error-format=checkstyle src/ > reports/phpstan-checkstyle.xml || true"
],
"ci:phpstan-tests": [
"phpstan analyse --level=7 --no-progress --no-ansi --error-format=checkstyle tests/unit/ > reports/phpstan-checkstyle-tests.xml || true"
],
"phpcpd": [
"phpcpd src/ || true"
],
"phpcpd-tests": [
"phpcpd tests/unit/ || true"
],
"ci:phpcpd": [
"phpcpd src/ --log-pmd='reports/phpcpd.xml' || true"
],
"ci:phpcpd-tests": [
"phpcpd tests/unit/ --log-pmd='reports/phpcpd-tests.xml' || true"
],
"phpmd": [
"phpmd src/ text phpmd.xml || true"
],
"phpmd-tests": [
"phpmd tests/unit/ text phpmd.xml || true"
],
"ci:phpmd": [
"phpmd src/ xml phpmd.xml --reportfile reports/phpmd-pmd.xml || true"
],
"ci:phpmd-tests": [
"phpmd tests/unit/ xml phpmd.xml --reportfile reports/phpmd-pmd-tests.xml || true"
],
"php-cs-fixer": [
"php-cs-fixer fix src/ --dry-run --diff || true"
],
"php-cs-fixer-tests": [
"php-cs-fixer fix tests/unit/ --dry-run --diff || true"
],
"ci:php-cs-fixer": [
"php-cs-fixer fix src/ --dry-run --diff --format checkstyle > reports/php-cs-fixer-checkstyle.xml || true"
],
"ci:php-cs-fixer-tests": [
"php-cs-fixer fix tests/unit/ --dry-run --diff --format checkstyle > reports/php-cs-fixer-checkstyle-tests.xml || true"
],
"analysis": [
"@phpcpd",
"@phpmd",
"@php-cs-fixer",
"@phpstan"
],
"analysis:tests": [
"@phpcpd-tests",
"@phpmd-tests",
"@php-cs-fixer-tests",
"@phpstan-tests"
],
"ci:analysis": [
"mkdir -p reports",
"@ci:phpcpd",
"@ci:phpmd",
"@ci:php-cs-fixer",
"@ci:phpstan"
],
"ci:analysis:tests": [
"mkdir -p reports",
"@ci:phpcpd-tests",
"@ci:phpmd-tests",
"@ci:php-cs-fixer-tests",
"@ci:phpstan-tests"
],
"test": [
"codecept run"
],
"ci:test": [
"codecept run --xml --html --coverage-html --coverage-xml"
]
},
"autoload": {
"psr-4": {
"Bornfight\\TransferObjectConverter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Bornfight\\TransferObjectConverter\\Tests\\": "tests/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true
}
}