-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
65 lines (65 loc) · 1.37 KB
/
composer.json
File metadata and controls
65 lines (65 loc) · 1.37 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
59
60
61
62
63
64
65
{
"name": "wp-hooks/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.2"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.0",
"ergebnis/phpstan-rules": "^1.0",
"humanmade/coding-standards": "^1.1",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-strict-rules": "^1.3",
"phpunit/phpunit": "^8.0",
"wp-hooks/wordpress-core": "^1.2"
},
"autoload": {
"psr-4": {
"WPHooks\\": "src/"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"scripts": {
"post-update-cmd": [
"@composer normalize"
],
"test": [
"@test:phpcs",
"@test:phpunit",
"@test:phpstan"
],
"test:phpcs": [
"phpcs -p -d error_reporting=24575 --cache=tests/cache/phpcs.json --basepath='./' ."
],
"test:phpstan": [
"phpstan analyze"
],
"test:phpunit": [
"phpunit --testdox"
]
}
}