-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
59 lines (59 loc) · 1.23 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
51
52
53
54
55
56
57
58
59
{
"name": "wp-hooks/php-api",
"description": "A PHP API for interacting with wp-hooks definitions",
"license": "GPL-3.0-or-later",
"type": "library",
"authors": [
{
"name": "John Blackbourn",
"homepage": "https://johnblackbourn.com/"
}
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/johnbillion"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"ergebnis/phpstan-rules": "1.0.0",
"humanmade/coding-standards": "^1.1",
"phpcompatibility/php-compatibility": "9.3.5",
"phpstan/phpstan": "1.12.2",
"phpstan/phpstan-phpunit": "1.4.0",
"phpstan/phpstan-strict-rules": "1.6.0",
"phpstan/phpstan-deprecation-rules": "1.2.0",
"wp-hooks/wordpress-core": "1.8.0",
"yoast/phpunit-polyfills": "^1.0"
},
"autoload": {
"psr-4": {
"WPHooks\\": "src/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"scripts": {
"test": [
"@test:phpcs",
"@test:phpunit",
"@test:phpstan"
],
"test:phpcs": [
"phpcs -p --cache=tests/cache/phpcs.json --basepath='./' ."
],
"test:phpstan": [
"phpstan analyze"
],
"test:phpunit": [
"phpunit --testdox --coverage-html tests/coverage"
]
}
}