-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 2.03 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 2.03 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
{
"name": "brightnucleus/collection",
"description": "Collection class with implementations for Doctrine & WP elements",
"license": "MIT",
"authors": [
{
"name": "Alain Schlesser",
"email": "alain.schlesser@gmail.com"
}
],
"require": {
"doctrine/collections": "*",
"brightnucleus/exceptions": ">=0.2.0"
},
"require-dev": {
"malukenho/docheader": "^1",
"mikey179/vfsstream": "^1.6",
"yoast/phpunit-polyfills": "^3",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5 || ^10",
"squizlabs/php_codesniffer": "^3",
"php-parallel-lint/php-parallel-lint": "^1.4"
},
"autoload": {
"psr-4": {
"BrightNucleus\\Collection\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BrightNucleus\\Collection\\Tests\\": "tests/"
}
},
"scripts": {
"check": [
"@cs-check",
"@test"
],
"upload-coverage": "vendor/bin/coveralls -v --coverage_clover clover.xml",
"cs-check": "vendor/bin/phpcs -ps --colors",
"cs-fix": "vendor/bin/phpcbf -ps --colors",
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "vendor/bin/phpunit --colors --testsuite unit",
"test:integration": [
"@wp-env:start",
"wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/brightnucleus-collection vendor/bin/phpunit --colors -c phpunit-integration.xml"
],
"test:integration:only": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/brightnucleus-collection vendor/bin/phpunit --colors -c phpunit-integration.xml",
"test-coverage": "vendor/bin/phpunit --colors --coverage-clover clover.xml",
"license-check": "vendor/bin/docheader --ansi check src/",
"wp-env:start": "wp-env start",
"wp-env:stop": "wp-env stop",
"wp-env:destroy": "wp-env destroy",
"wp-env:clean": "wp-env clean"
}
}