-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
50 lines (50 loc) · 1.54 KB
/
composer.json
File metadata and controls
50 lines (50 loc) · 1.54 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
{
"name": "flightphp/cache",
"description": "Light, simple and standalone PHP in-file caching class",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Wruczek",
"email": "[email protected]",
"homepage": "https://wruczek.tech",
"role": "Original Author"
},
{
"name": "n0nag0n",
"email": "[email protected]",
"role": "Maintainer"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.0 || ^12.0",
"rregeer/phpunit-coverage-check": "^0.3.1",
"squizlabs/php_codesniffer": "^3.11"
},
"autoload": {
"psr-4": {"flight\\": "src/"}
},
"autoload-dev": {
"psr-4": {"flight\\tests\\": "tests/"}
},
"scripts": {
"test": "phpunit",
"test-coverage": "rm -f clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100",
"test-coverage:win": "del clover.xml && phpunit --coverage-html=coverage --coverage-clover=clover.xml && coverage-check clover.xml 100",
"lint": "phpstan --no-progress -cphpstan.neon",
"beautify": "phpcbf --standard=phpcs.xml",
"phpcs": "phpcs --standard=phpcs.xml -n"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
},
"process-timeout": 0,
"sort-packages": true
}
}