-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
61 lines (61 loc) · 1.53 KB
/
composer.json
File metadata and controls
61 lines (61 loc) · 1.53 KB
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
{
"name": "rnids/rsreg-epp-client",
"description": "PHP client for the RSREG EPP server",
"license": "Apache-2.0",
"require": {
"php": ">=8.1",
"ext-json": "*"
},
"require-dev": {
"oblak/wordpress-coding-standard": "^1.1",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^10.5",
"symfony/var-dumper": "^6.4"
},
"autoload": {
"psr-4": {
"RNIDS\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"bin": [
"bin/rsreg"
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "8.1"
}
},
"scripts": {
"phpcs": "vendor/bin/phpcs",
"phpstan": "vendor/bin/phpstan analyse",
"test:unit": "vendor/bin/phpunit --testsuite unit",
"test:live": "vendor/bin/phpunit --testsuite integration",
"test:coverage": [
"mkdir -p build",
"php -d pcov.enabled=1 vendor/bin/phpunit --testsuite unit --coverage-clover build/coverage.xml --coverage-text",
"php bin/coverage-gate.php build/coverage.xml 90"
],
"test:coverage:ci": [
"mkdir -p build",
"php -d pcov.enabled=1 vendor/bin/phpunit --testsuite unit --coverage-clover build/coverage.xml",
"php bin/coverage-gate.php build/coverage.xml 90"
],
"test:local": [
"@test:unit",
"@phpstan",
"@phpcs"
],
"test": "@test:local"
}
}