-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
107 lines (90 loc) · 2.78 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
{
"name": "binary-cube/dot-array",
"description": "PHP Dot-Array :: Sail through array using the dot notation",
"keywords": [
"DotArray", "dot-array", "array", "dot", "php-array", "php-array-json-path", "php"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Banciu N. Cristian Mihai",
"role": "Developer",
"homepage": "https://binary-cube.com"
}
],
"support": {
"source": "https://github.com/binary-cube/dot-array",
"issues": "https://github.com/binary-cube/dot-array/issues?state=open"
},
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=7.1",
"ext-json": "*",
"ext-mbstring": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "~7.0",
"phpmd/phpmd": "*",
"phpstan/phpstan": "*"
},
"suggest": {
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"process-timeout": 300
},
"autoload": {
"psr-4": {
"BinaryCube\\DotArray\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"BinaryCube\\DotArray\\Tests\\": "tests"
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"bin": [
],
"scripts": {
"check": [
"@cs-check",
"@phpstan",
"@tests"
],
"generate-reports": [
"@create-folders",
"@cs-report",
"@phpstan-report",
"@phpmd-report",
"@tests-report-html",
"@tests-report-xml",
"@tests-report-clover"
],
"create-folders": [
"[ ! -d build ] && mkdir -p build || exit 0;"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"phpstan": "phpstan analyze src --no-progress",
"phpmd": "phpmd src text phpmd.xml.dist",
"tests": "phpunit",
"cs-report": "phpcs --report=json --report-file=build/phpcs-report.json || exit 0;",
"phpstan-report": "phpstan analyze src --error-format=checkstyle > build/phpstan-check-style.xml --no-progress || exit 0;",
"phpmd-report": "phpmd src xml phpmd.xml.dist --reportfile build/phpmd-report.xml || exit 0;",
"tests-report-html": "phpunit --coverage-html build/phpunit/coverage/html || exit 0;",
"tests-report-xml": "phpunit --coverage-xml build/phpunit/coverage/xml || exit 0;",
"tests-report-clover": "phpunit --coverage-clover build/phpunit/coverage/clover/index.xml || exit 0;"
},
"scripts-descriptions": {
}
}