-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.97 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.97 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": "dknauss/wp-sudo",
"description": "Sudo mode for WordPress",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=8.0"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"brain/monkey": "^2.7",
"cyclonedx/cyclonedx-php-composer": "^6.2",
"humanmade/psalm-plugin-wordpress": "^3.1",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^9.6",
"szepeviktor/phpstan-wordpress": "^2.0",
"vimeo/psalm": "^6.13",
"yoast/phpunit-polyfills": "^4.0"
},
"autoload": {
"classmap": [
"includes/"
]
},
"autoload-dev": {
"psr-4": {
"WP_Sudo\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"cyclonedx/cyclonedx-php-composer": true
},
"platform": {
"php": "8.1.99"
}
},
"scripts": {
"lint": "phpcs",
"lint:fix": "phpcbf",
"test": "phpunit",
"test:unit": "phpunit --configuration phpunit.xml.dist",
"test:integration": "bash bin/run-integration-tests.sh phpunit-integration.xml.dist",
"test:coverage": "phpunit --configuration phpunit.xml.dist --coverage-clover coverage.xml --coverage-text",
"verify:metrics": "bash bin/verify-metrics.sh",
"analyse": [
"@analyse:phpstan",
"@analyse:psalm"
],
"analyse:phpstan": "phpstan analyse --memory-limit=1G",
"analyse:psalm": "psalm --config=psalm.xml.dist --threads=1 --no-progress --no-cache",
"analyse:psalm:shepherd": "psalm --config=psalm.xml.dist --threads=1 --no-progress --no-cache --shepherd",
"sbom": "composer CycloneDX:make-sbom --output-file=.sbom/bom.json --output-format=JSON --spec-version=1.6 --output-reproducible"
}
}