-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
114 lines (114 loc) · 4.35 KB
/
composer.json
File metadata and controls
114 lines (114 loc) · 4.35 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
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
{
"name": "stellarwp/harbor",
"description": "A library that integrates a WordPress product with the Liquid Web licensing system.",
"type": "library",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Liquid Web",
"homepage": "https://liquidweb.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"bin": ["bin/stellar-harbor"],
"autoload": {
"psr-4": {
"LiquidWeb\\Harbor\\": "src/Harbor/",
"LiquidWeb\\Harbor\\Views\\": "src/views/",
"LiquidWeb\\Harbor\\Build_Dir\\": "build/",
"LiquidWeb\\Harbor\\Build_Dev_Dir\\": "build-dev/"
}
},
"autoload-dev": {
"psr-4": {
"LiquidWeb\\Harbor\\Tests\\": [
"tests/wpunit",
"tests/_support/Helper/"
]
}
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"nyholm/psr7": "^1.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.1",
"stellarwp/container-contract": "^1.0",
"stellarwp/licensing-api-client-wordpress": "^0.5.0"
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/stellarwp/licensing-api-client.git"
},
{
"type": "vcs",
"url": "https://github.com/stellarwp/licensing-api-client-wordpress.git"
}
],
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"dpanta94/phpstan-containers": "^0",
"exussum12/coverage-checker": "^1.1",
"lucatume/codeception-snapshot-assertions": "*",
"lucatume/di52": "^3",
"lucatume/wp-browser": "*",
"php-stubs/wp-cli-stubs": "^2",
"phpcompatibility/phpcompatibility-wp": "^2",
"phpspec/prophecy": "*",
"phpspec/prophecy-phpunit": "*",
"phpstan/phpstan": "^2",
"phpunit/phpunit": "*",
"stellarwp/coding-standards": "^2",
"szepeviktor/phpstan-wordpress": ">=1.0",
"wp-cli/wp-cli": "^2"
},
"scripts": {
"test:analysis": [
"phpstan analyse -c phpstan.neon.dist --memory-limit=-1"
],
"test:analysis:baseline": [
"phpstan analyse -c phpstan.neon.dist --memory-limit=-1 --generate-baseline"
],
"compatibility:php-7.4": "phpcs --standard=phpcs-php-compatibility.xml --runtime-set testVersion 7.4",
"compatibility:php-8.0": "phpcs --standard=phpcs-php-compatibility.xml --runtime-set testVersion 8.0",
"compatibility:php-8.1": "phpcs --standard=phpcs-php-compatibility.xml --runtime-set testVersion 8.1",
"compatibility:php-8.2": "phpcs --standard=phpcs-php-compatibility.xml --runtime-set testVersion 8.2",
"compatibility:php-8.3": "phpcs --standard=phpcs-php-compatibility.xml --runtime-set testVersion 8.3",
"compatibility:php-8.4": "phpcs --standard=phpcs-php-compatibility.xml --runtime-set testVersion 8.4",
"compatibility": [
"@compatibility:php-7.4",
"@compatibility:php-8.0",
"@compatibility:php-8.1",
"@compatibility:php-8.2",
"@compatibility:php-8.3",
"@compatibility:php-8.4"
],
"phpcs": "phpcs -s",
"phpcs:fix": "phpcbf",
"phpcs:ci": "dev_scripts/partial-phpcs.sh"
},
"scripts-descriptions": {
"test:analysis": "Run static code analysis.",
"test:analysis:baseline": "Generate a baseline for static code analysis.",
"phpcs": "Run PHP Code Sniffer to check coding standards.",
"phpcs:fix": "Auto-fix PHP Code Sniffer issues.",
"phpcs:ci": "Run partial phpcs check on changed lines only.",
"compatibility:php-7.4": "Run PHPCompatibilityWP for PHP 7.4.",
"compatibility:php-8.0": "Run PHPCompatibilityWP for PHP 8.0.",
"compatibility:php-8.1": "Run PHPCompatibilityWP for PHP 8.1.",
"compatibility:php-8.2": "Run PHPCompatibilityWP for PHP 8.2.",
"compatibility:php-8.3": "Run PHPCompatibilityWP for PHP 8.3.",
"compatibility:php-8.4": "Run PHPCompatibilityWP for PHP 8.4.",
"compatibility": "Run PHPCompatibilityWP for all supported PHP versions."
}
}