-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
131 lines (131 loc) · 5.13 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
{
"name": "idoit/checkmkwebapiclient",
"description": "Easy-to-use, but feature-rich client library for Checkmk's Web API",
"type": "library",
"keywords": ["check_mk", "checkmk", "wato", "monitoring", "monitoring love", "api"],
"homepage": "https://github.com/i-doit/checkmk-web-api-client-php",
"license": "AGPL-3.0+",
"authors": [
{
"name": "Benjamin Heisig",
"email": "benjamin@heisig.name",
"homepage": "https://benjamin.heisig.name/",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/i-doit/checkmk-web-api-client-php/issues",
"source": "https://github.com/i-doit/checkmk-web-api-client-php"
},
"require": {
"php": "^7.4|^8.0|^8.1|^8.2",
"ext-curl": "*",
"ext-date": "*",
"ext-json": "*",
"ext-openssl": "*",
"ext-spl": "*",
"ext-zlib": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"j13k/yaml-lint": "^1.1",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpcompatibility/php-compatibility": "^9.3",
"phploc/phploc": "^7.0",
"phpmd/phpmd": "^2.12",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.5",
"povils/phpmnd": "^3.0",
"roave/security-advisories": "dev-master",
"sclable/xml-lint": "^0.5.0",
"sebastian/phpcpd": "^6.0",
"seld/jsonlint": "^1.9",
"squizlabs/php_codesniffer": "^3.7",
"symfony/dotenv": "^5.4"
},
"suggest": {
"ext-xdebug": "Needed for code coverage with phpunit"
},
"autoload": {
"psr-4": {
"Idoit\\CheckmkWebAPIClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Idoit\\CheckmkWebAPIClient\\": "tests/idoit/checkmkwebapiclient/"
}
},
"config": {
"process-timeout": 86400,
"sort-packages": true,
"allow-plugins": {
"sllh/composer-lint": false,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"ci": [
"@composer system-check",
"@composer lint",
"@composer phpcompatibility",
"@composer phpcpd",
"@composer phpcs",
"@composer phpmnd",
"@composer phpstan"
],
"gitstats": "gitstats -c project_name=`composer config name` . gitstats",
"gource": "gource -1280x720 --seconds-per-day 3 --auto-skip-seconds 1 --title `composer config name`",
"lint": [
"@composer lint-php",
"@composer lint-json",
"@composer lint-xml",
"@composer lint-yaml"
],
"lint-json": "./vendor/bin/jsonlint *.json",
"lint-php": "./vendor/bin/parallel-lint --exclude vendor --blame .",
"lint-xml": "./vendor/bin/xmllint --recursive --exclude=vendor --skip-xsd --verbose .",
"lint-yaml": "git ls-files | grep -E '\\.(yml|yaml|.yml.dist)$' | xargs ./vendor/bin/yaml-lint",
"phpcompatibility": "./vendor/bin/phpcs -p --colors --extensions=php --standard=PHPCompatibility --runtime-set testVersion 7.4- src/ tests/",
"phpcpd": "./vendor/bin/phpcpd src/",
"phpcs": "./vendor/bin/phpcs --extensions=php --standard=PSR1,PSR2 --exclude=PSR2.Classes.ClassDeclaration,Squiz.Functions.MultiLineFunctionDeclaration src/ tests/",
"phploc": "./vendor/bin/phploc --exclude=vendor --exclude=docs --exclude=build .",
"phpmd": "./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode",
"phpmnd": "./vendor/bin/phpmnd src/",
"phpstan": "./vendor/bin/phpstan analyze -c phpstan.neon",
"phpunit": "./vendor/bin/phpunit --configuration phpunit.xml --testdox",
"system-check": [
"php --version",
"php -m",
"php --info | grep -E \"(max_execution_time|memory_limit)\"",
"@composer --version",
"@composer validate",
"@composer diagnose || echo \"Ignore warnings\"",
"@composer check-platform-reqs",
"@composer outdated --direct",
"@composer config extra.version"
]
},
"scripts-descriptions": {
"ci": "Perform continuous integration tasks",
"gitstats": "Create Git statistics",
"gource": "Visualize Git history",
"lint": "Perform all lint checks",
"lint-php": "Check syntax of PHP files",
"lint-json": "Check syntax of JSON files",
"lint-xml": "Check syntax of XML files",
"lint-yaml": "Check syntax of YAML files",
"phpcompatibility": "Run PHP compatibility checks",
"phpcpd": "Detect copy/paste in source code",
"phpcs": "Detect violations of defined coding standards",
"phploc": "Print source code statistics",
"phpmd": "Detect mess in source code",
"phpmnd": "Detect magic numbers in source code",
"phpstan": "Analyze source code",
"phpunit": "Perform unit tests",
"system-check": "Run some system checks"
},
"extra": {
"version": "0.6"
}
}