-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
53 lines (53 loc) · 1.39 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
{
"name": "wpsyntex/wp-phpunit",
"description": "PHPUnit library for WordPress",
"license": "GPL-3.0-or-later",
"homepage": "https://polylang.pro",
"type": "library",
"minimum-stability": "dev",
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=7.0",
"cheprasov/php-cli-args": "^3.0",
"symfony/console": "^3.4 || ^4.4",
"yoast/wp-test-utils": "^1.0.0"
},
"require-dev": {
"php-stubs/woocommerce-stubs": "*",
"wpsyntex/polylang-phpstan": "dev-master",
"wpsyntex/polylang-stubs": "dev-master",
"wpsyntex/polylang-cs": "dev-main"
},
"autoload": {
"psr-4": {
"WP_Syntex\\Polylang_Phpunit\\": "UnitTests/"
}
},
"autoload-dev": {
"psr-4": {
"WP_Syntex\\Polylang_Phpunit\\Fixtures\\": "Fixtures/"
}
},
"scripts": {
"cs": "vendor/bin/phpcs",
"stan": "vendor/bin/phpstan analyze --memory-limit=1G",
"lint": [
"@cs",
"@stan"
],
"install-suite": "bash bin/install-wp-suite.sh",
"install-suite-with-db": "bash bin/install-wp-suite.sh latest true"
},
"scripts-descriptions": {
"cs": "Runs PHPCS linter.",
"stan": "Runs PHPStan analysis.",
"lint": "Runs both PHPCS and PHPStan.",
"install-suite": "Installs the WordPress tests suite (without installing the database).",
"install-suite-with-db": "Installs the WordPress tests suite (with database creation)."
}
}