-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
75 lines (75 loc) · 1.82 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
66
67
68
69
70
71
72
73
74
75
{
"name": "phauthentic/optional",
"description": "PHP version of Javas Optional class, used to represent a container object which may or may not contain a non-null value.",
"keywords": [
"optional", "php", "oop", "library", "utility"
],
"type": "library",
"require-dev": {
"squizlabs/php_codesniffer": "^3.10",
"phpmd/phpmd": "^2.15",
"infection/infection": "^0.29.6",
"phpunit/phpunit": "^11.2",
"phpstan/phpstan": "^1.11"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Phauthentic\\Optional\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Phauthentic\\Optional\\Test\\": "tests/"
}
},
"authors": [
{
"name": "Florian Krämer"
}
],
"require": {
"php": "^8.2"
},
"config": {
"bin-dir": "bin",
"allow-plugins": {
"infection/extension-installer": true
}
},
"scripts": {
"test": [
"phpunit"
],
"infection": [
"infection"
],
"test-coverage": [
"phpunit --coverage-text"
],
"test-coverage-html": [
"phpunit --coverage-html tmp/coverage/"
],
"cscheck": [
"phpcs src/ tests/ --standard=PSR12 -s"
],
"csfix": [
"phpcbf src/ tests/ --standard=PSR12"
],
"analyze": [
"phpstan analyse src/"
],
"phpmd": [
"bin/phpmd ./src text cleancode,codesize,controversial,design"
],
"benchmark": [
"bin/phpbench run tests/Benchmark/ --report=aggregate"
],
"all": [
"@csfix",
"@cscheck",
"@analyze",
"@test"
]
}
}