-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
54 lines (54 loc) · 1.2 KB
/
composer.json
File metadata and controls
54 lines (54 loc) · 1.2 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
{
"name": "thewebsolver/payment-card-cli",
"type": "library",
"license": "GPL-3.0-or-later",
"autoload": {
"psr-4": {
"TheWebSolver\\Codegarage\\PaymentCard\\": "Src/"
}
},
"autoload-dev": {
"psr-4": {
"TheWebSolver\\Codegarage\\Test\\": "Tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"thewebsolver/cli": "dev-main"
},
"require-dev": {
"phpunit/phpunit": "^11.5",
"phpstan/phpstan": "^2.1",
"squizlabs/php_codesniffer": "^3.11",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"wp-coding-standards/wpcs": "^3.1"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"bin": "payment-card",
"scripts": {
"unittest": "vendor/bin/phpunit",
"analyze": "vendor/bin/phpstan",
"sniff": "vendor/bin/phpcs",
"test": [
"@analyze",
"@unittest",
"@sniff"
],
"useDev": "@putenv COMPOSER=composer.dev.json",
"update:dev": [
"@useDev",
"@composer update:packages"
],
"test:dev": [
"@useDev",
"@composer test"
]
}
}