-
-
Notifications
You must be signed in to change notification settings - Fork 138
/
composer.json
45 lines (45 loc) · 1016 Bytes
/
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
{
"name": "exercism/php",
"autoload": {
"Exercism\\Exercises\\": "exercises"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"php": "^8.1",
"phpunit/phpunit": "^10.5",
"slevomat/coding-standard": "^8.14.1",
"squizlabs/php_codesniffer": "^3.11.1"
},
"scripts": {
"post-install-cmd": [
"@tool:configlet:fetch"
],
"post-update-cmd": [
"@tool:configlet:update"
],
"ci": [
"@configlet:fmt",
"@lint:check",
"@tests:run"
],
"tool:configlet:fetch": "[ -x bin/configlet ] || bin/fetch-configlet",
"tool:configlet:update": [
"rm bin/configlet || true",
"bin/fetch-configlet"
],
"configlet:fmt": [
"bin/configlet fmt"
],
"format:fix": [
"@lint:fix",
"@configlet:fmt"
],
"lint:check": "phpcs",
"lint:fix": "phpcbf",
"tests:run": "PHPUNIT_BIN='phpunit' bin/test.sh"
}
}