-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
65 lines (59 loc) · 1.73 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
60
61
62
63
64
65
{
"name": "rask/libload",
"type": "library",
"description": "A small FFI library loader tool",
"license": "MIT",
"authors": [
{
"name": "Otto Rask",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"rask\\Libload\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"rask\\Libload\\Tests\\": "tests/"
}
},
"require": {
"php": ">=7.4",
"ext-ffi": "*",
"roave/security-advisories": "dev-master"
},
"require-dev": {
"ext-xdebug": "*",
"roave/security-advisories": "dev-master",
"phpunit/phpunit": "^9.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"ergebnis/phpstan-rules": "^0.14",
"infection/infection": "^0.15",
"squizlabs/php_codesniffer": "^3.5",
"slevomat/coding-standard": "^5.0",
"brainmaestro/composer-git-hooks": "^2.8",
"rask/coding-standard": "^0.1",
"mikey179/vfsstream": "^1.6"
},
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"test": ["composer infection"],
"stan": "./vendor/bin/phpstan analyze -l max ./src",
"lint": ["./vendor/bin/phpcs ."],
"fix": "./vendor/bin/phpcbf .",
"infection": ["make -C ./tests/lib build --quiet", "./vendor/bin/infection --no-progress --min-msi=90"],
"clean": "make -C ./tests/lib clean",
"_test": ["make -C ./tests/lib build --quiet", "./vendor/bin/phpunit"]
},
"extra": {
"hooks": {
"pre-commit": [
"composer lint"
]
}
}
}