-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcomposer.json
More file actions
63 lines (63 loc) · 2.09 KB
/
composer.json
File metadata and controls
63 lines (63 loc) · 2.09 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
{
"name": "wbcomdesigns/buddyx",
"description": "Free theme for your community with BuddyPress.",
"type": "wordpress-theme",
"license": "GPL-3.0-or-later",
"require-dev": {
"php": ">=8.1",
"wp-coding-standards/wpcs": "^3.1",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"squizlabs/php_codesniffer": "3.*",
"brain/monkey": "^2",
"phpcompatibility/php-compatibility": "^9",
"yoast/phpunit-polyfills": "^1.0",
"phpunit/phpunit": "^9.5",
"rector/rector": "^2.0",
"friendsofphp/php-cs-fixer": "^3.67",
"phpstan/phpstan": "^2.1",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0",
"php-parallel-lint/php-parallel-lint": "^1.3"
},
"config": {
"platform": {
"php": "8.1"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"autoload": {
"psr-4": {
"BuddyX\\Buddyx\\": "inc"
}
},
"scripts": {
"setup-wp-tests": "php tests/phpunit/setup-wp-env.php",
"test:unit": "\"vendor/bin/phpunit\"",
"test:integration": "\"vendor/bin/phpunit\" -c \"phpunit.integration.xml.dist\"",
"test:all": [
"@test:unit",
"@test:integration"
],
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"phpcbf-dev": "\"vendor/bin/phpcbf\"",
"run-phpcbf": [
"@phpcbf-dev"
],
"phpcs-dev": "\"vendor/bin/phpcs\" -s --parallel=4 --standard=phpcs.xml.dist",
"phpcs-config": "\"vendor/bin/phpcs\" --config-show",
"run-phpcs": [
"@phpcs-dev"
],
"fix": "vendor/bin/rector process && vendor/bin/php-cs-fixer fix && vendor/bin/phpcbf",
"phpunit-dev": "@test:unit",
"phpunit-integration-dev": "@test:integration",
"lint": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor --exclude node_modules --exclude tests .",
"phpstan": "\"vendor/bin/phpstan\" analyze --memory-limit 2G",
"phpstan:baseline": "\"vendor/bin/phpstan\" analyze --generate-baseline --memory-limit 2G"
}
}