-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
96 lines (96 loc) · 2.56 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
{
"name": "yoast/wp-test-utils",
"description": "PHPUnit cross-version compatibility layer for testing plugins and themes build for WordPress",
"license": "BSD-3-Clause",
"keywords": [
"wordpress",
"unit-testing",
"integration-testing",
"brainmonkey",
"phpunit",
"testing"
],
"authors": [
{
"name": "Team Yoast",
"email": "support@yoast.com",
"homepage": "https://yoast.com"
},
{
"name": "Contributors",
"homepage": "https://github.com/Yoast/wp-test-utils/graphs/contributors"
}
],
"homepage": "https://github.com/Yoast/wp-test-utils/",
"support": {
"issues": "https://github.com/Yoast/wp-test-utils/issues",
"source": "https://github.com/Yoast/wp-test-utils",
"security": "https://github.com/Yoast/wp-test-utils/security/policy"
},
"require": {
"php": ">=5.6",
"brain/monkey": "^2.6.2",
"yoast/phpunit-polyfills": "^1.1.1"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"yoast/yoastcs": "^3.1.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"src/"
],
"exclude-from-classmap": [
"/src/WPIntegration/TestCase.php",
"/src/WPIntegration/TestCaseNoPolyfills.php"
]
},
"autoload-dev": {
"psr-4": {
"Yoast\\WPTestUtils\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"lock": false
},
"extra": {
"branch-alias": {
"dev-develop": "1.x-dev",
"dev-main": "1.x-dev"
}
},
"scripts": {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
],
"check-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.6-"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"coverage-local": [
"@php ./vendor/phpunit/phpunit/phpunit --coverage-html ./build/coverage-html"
]
},
"scripts-descriptions": {
"lint": "Check the PHP files for parse errors.",
"check-cs": "Check the PHP files for code style violations and best practices.",
"fix-cs": "Auto-fix code style violations in the PHP files.",
"test": "Run the unit tests without code coverage.",
"coverage": "Run the unit tests with code coverage.",
"coverage-local": "Run the unit tests with code coverage writing an HTML coverage report to a \"/build/coverage-html\" directory."
}
}