-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
46 lines (46 loc) · 1.17 KB
/
composer.json
File metadata and controls
46 lines (46 loc) · 1.17 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
{
"name": "valbeat/result",
"description": "A Result type implementation for PHP inspired by Rust",
"type": "library",
"license": "MIT",
"keywords": ["result", "rust", "error-handling", "type", "monad", "functional"],
"homepage": "https://github.com/valbeat/php-result",
"authors": [
{
"name": "Takuma Kajikawa",
"email": "kj1ktk@gmail.com"
}
],
"require": {
"php": "^8.4"
},
"require-dev": {
"phpstan/phpstan": "2.1.50",
"phpunit/phpunit": "12.5.8",
"friendsofphp/php-cs-fixer": "3.95.1"
},
"autoload": {
"psr-4": {
"Valbeat\\Result\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Valbeat\\Result\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit --do-not-fail-on-warning || exit 0",
"phpstan": "phpstan analyse",
"cs-fix": "php-cs-fixer fix --verbose",
"cs-check": "php-cs-fixer fix --verbose --dry-run",
"check": [
"@phpstan",
"@cs-check",
"@test"
]
},
"config": {
"sort-packages": true
}
}