This repository has been archived by the owner on Feb 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
48 lines (48 loc) · 1.58 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": "boxuk/wp-hook-attributes",
"type": "wordpress-muplugin",
"abandoned": true,
"description": "A mu-plugin to allow the use of PHP attributes for WordPress hooks",
"license": "MIT",
"autoload": {
"psr-4": {
"BoxUk\\WpHookAttributes\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BoxUk\\WpHookAttributes\\Tests\\": "tests/"
}
},
"require": {
"php": "^7.4 || ^8.0 || ^8.1",
"cache/array-adapter": "^1.1",
"doctrine/annotations": "^1.13"
},
"require-dev": {
"phpunit/phpunit": "^7 || ^9",
"roots/wordpress": "^5.8",
"symfony/dotenv": "^5.3 || ^6.0",
"wp-phpunit/wp-phpunit": "^5.8",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"classmap-authoritative": true,
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"roots/wordpress-core-installer": true
}
},
"scripts": {
"test:unit": "vendor/bin/phpunit --testsuite unit",
"test:coverage": "php -dxdebug.mode=coverage bin/phpunit --coverage-clover='./clover.xml'",
"test:integration": "vendor/bin/phpunit --testsuite integration",
"php-cs-fixer:test": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix -v --diff --dry-run",
"php-cs-fixer:fix": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix -v --diff",
"install-tools": "@composer install --working-dir=tools/php-cs-fixer"
},
"extra": {
"wordpress-install-dir": "tests/integration/wp"
}
}