-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
62 lines (62 loc) · 1.78 KB
/
composer.json
File metadata and controls
62 lines (62 loc) · 1.78 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
{
"name": "progressplanner/progress-planner",
"description": "The Progress Planner WordPress plugin.",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Team Emilia Projects",
"email": "info@emilia.capital"
}
],
"require-dev": {
"wp-coding-standards/wpcs": "^3.1",
"phpcompatibility/phpcompatibility-wp": "*",
"php-parallel-lint/php-parallel-lint": "^1.3",
"yoast/wp-test-utils": "^1.2",
"phpstan/phpstan": "^2.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"phpstan/extension-installer": "^1.4",
"yoast/yoastcs": "^3.0",
"friendsofphp/php-cs-fixer": "^3.75",
"wp-cli/wp-cli-bundle": "^2.11"
},
"suggest": {
"ext-pcov": "Recommended for fast code coverage generation (5x faster than Xdebug)",
"ext-xdebug": "Alternative for code coverage and debugging"
},
"scripts": {
"check-cs": [
"@php ./vendor/bin/phpcs -s"
],
"fix-cs": [
"PHP_CS_FIXER_IGNORE_ENV=1",
"@php ./vendor/bin/phpcbf",
"@php ./vendor/bin/php-cs-fixer fix . --allow-risky=yes"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
],
"lint-blueprint": [
"@php -r \"exit( intval( is_null( json_decode( file_get_contents( './.wordpress-org/blueprints/blueprint.json' ) ) ) ) );\""
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --dont-report-useless-tests"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit --coverage-html=coverage-html --coverage-text"
],
"phpstan": [
"@php ./vendor/bin/phpstan analyse --memory-limit=2048M"
]
},
"config": {
"platform": {
"php": "8.3"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}