-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
62 lines (62 loc) · 2.14 KB
/
composer.json
File metadata and controls
62 lines (62 loc) · 2.14 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
{
"name": "attributes-php/wp-exceptions",
"type": "library",
"license": "MIT",
"description": "Stop returning WP_Error. Throw exceptions instead",
"authors": [
{
"name": "André Gil"
}
],
"keywords": [
"wordpress",
"exceptions"
],
"support": {
"issues": "https://github.com/matapatos/wp-exceptions/issues"
},
"autoload": {
"psr-4": {
"Attributes\\Wp\\Exceptions\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Attributes\\Wp\\Exceptions\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.1"
},
"require-dev": {
"mockery/mockery": "^1.6",
"brain/monkey": "2.*",
"dingo-d/wp-pest": "^1.6",
"laravel/pint": "*",
"rector/rector": "^2.2"
},
"prefer-stable": true,
"scripts": {
"lint": "./vendor/bin/pint --config pint.json",
"setup:wp:6.0": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.0.8 --skip-delete --no-interaction",
"setup:wp:6.1": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.1.6 --skip-delete --no-interaction",
"setup:wp:6.2": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.2.5 --skip-delete --no-interaction",
"setup:wp:6.3": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.3.4 --skip-delete --no-interaction",
"setup:wp:6.4": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --wp-version 6.4.4 --skip-delete --no-interaction",
"setup:wp:latest": "rm -rf wp/ && ./vendor/bin/wp-pest setup plugin --plugin-slug fastendpoints --skip-delete --no-interaction",
"test:lint": "./vendor/bin/pint --test",
"test:coverage": "./vendor/bin/pest --coverage --exclude-group=integration",
"test:unit": "./vendor/bin/pest --colors=always --exclude-group=integration",
"test:integration": "./vendor/bin/pest --colors=always --group=integration",
"test": [
"@test:lint",
"@test:unit"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"pestphp/pest-plugin": true
}
}
}