-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
71 lines (71 loc) · 2.11 KB
/
composer.json
File metadata and controls
71 lines (71 loc) · 2.11 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "ilexn/hkid-check-digit",
"type": "library",
"description": "HKID digit check",
"license": "MIT",
"keywords": ["HKID"],
"authors": [
{
"name": "iLexN",
"email": "ilex.job@gmail.com"
}
],
"require": {
"php": ">=8.4",
"ilexn/result-option": "^0.2.0"
},
"require-dev": {
"codedungeon/phpunit-result-printer": "^0.32.0",
"ilexn/keep-a-change-log": "^2.0",
"infection/infection": "0.32.6",
"phpbench/phpbench": "1.6.1",
"phpstan/phpstan": "2.1.47",
"phpstan/phpstan-phpunit": "2.0.16",
"phpstan/phpstan-strict-rules": "2.0.10",
"phpunit/phpunit": "12.5.22",
"rector/rector": "2.4.1"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"infection/extension-installer": true
}
},
"autoload": {
"psr-4": {
"Ilex\\Validation\\HkidValidation\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Ilex\\Validation\\HkidValidation\\Tests\\": "tests/"
}
},
"scripts": {
"bug-check": "phpstan analyse -l max src tests",
"changelog": "@php dev/create-change-log.php",
"ci": [
"@ecs",
"@test"
],
"dev": [
"@test",
"@cs-check",
"@bug-check",
"@psalm",
"@rector-check",
"@benchmark"
],
"cs-check": "ecs check src tests",
"cs-fix": "ecs check src tests --fix",
"test": "phpunit --testdox",
"test-coverage": "phpunit --coverage-text",
"test-test": "vendor/bin/infection --threads=4",
"test-watch": "phpunit-watcher watch",
"benchmark": "phpbench run benchmarks/HkidBenchmark.php --report=aggregate --retry-threshold=5 --progress=none",
"rector-check": "rector process src tests --config rector-ci.php --dry-run",
"rector-fix": "rector process src tests --config rector-ci.php",
"psalm": "psalm"
}
}