-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
54 lines (54 loc) · 1.29 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
{
"name": "uuf6429/php-castable",
"description": "Type casting functionality for PHP",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Christian Sciberras",
"email": "[email protected]"
}
],
"require": {
"php": "^8"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.7",
"friendsofphp/php-cs-fixer": "^3.3",
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9 || ^10 || ^11",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
"uuf6429\\Castable\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"uuf6429\\Castable\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"process-timeout": 0
},
"scripts": {
"lint": [
"composer normalize --dry-run",
"composer exec phpstan -- analyse --no-progress",
"composer exec php-cs-fixer -- fix --dry-run --show-progress=none --diff"
],
"lint:fix": [
"composer normalize",
"composer exec php-cs-fixer -- fix --diff"
],
"test": "phpunit ./tests/",
"test:cover": "@php -dzend_extension=php_xdebug -dxdebug.mode=coverage vendor/bin/phpunit --coverage-clover coverage.xml ./tests/"
}
}