forked from felixarntz/wp-oop-plugin-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.4 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
{
"name": "felixarntz/wp-oop-plugin-lib",
"description": "A library providing classes around WordPress APIs, to be used for example in object oriented WordPress plugins.",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Felix Arntz",
"email": "[email protected]",
"homepage": "https://felix-arntz.me",
"role": "Developer"
}
],
"require": {
"php": ">=7.2"
},
"require-dev": {
"wp-phpunit/wp-phpunit": "^6.2",
"yoast/phpunit-polyfills": "^1.0"
},
"autoload": {
"psr-4": {
"Felix_Arntz\\WP_OOP_Plugin_Lib\\": "includes/"
}
},
"autoload-dev": {
"psr-4": {
"Felix_Arntz\\WP_OOP_Plugin_Lib\\PHPUnit\\Includes\\": "tests/phpunit/includes"
}
},
"scripts": {
"format": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpcbf --standard=phpcs.xml.dist"
],
"lint": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpcs --standard=phpcs.xml.dist"
],
"phpmd": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpmd . text phpmd.xml"
],
"phpstan": [
"composer --working-dir=build-cs install",
"build-cs/vendor/bin/phpstan analyse --memory-limit=2048M"
],
"test": "phpunit -c phpunit.xml.dist --verbose",
"test-multisite": "WP_MULTISITE=1 phpunit -c tests/phpunit/multisite.xml --verbose"
}
}