-
Notifications
You must be signed in to change notification settings - Fork 17
/
composer.json
48 lines (48 loc) · 1.43 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
{
"name": "swissspidy/preferred-languages",
"description": "Choose languages for displaying WordPress in, in order of preference.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "Pascal Birchler",
"email": "[email protected]",
"homepage": "https://pascalbirchler.com",
"role": "Developer"
}
],
"require": {
"php": ">=7.2",
"ext-json": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"php-stubs/wordpress-tests-stubs": "^6.3.0",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"roave/security-advisories": "dev-latest",
"swissspidy/phpstan-no-private": "^0.2.0",
"szepeviktor/phpstan-wordpress": "^1.3.0",
"wp-coding-standards/wpcs": "^3.1.0",
"yoast/phpunit-polyfills": "^1.0.1"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.2"
}
},
"scripts": {
"format": "vendor/bin/phpcbf --report-summary --report-source .",
"lint": "vendor/bin/phpcs --report-summary --report-source .",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=2048M",
"test": "vendor/bin/phpunit",
"test:multisite": "vendor/bin/phpunit -c phpunit-multisite.xml.dist"
}
}