-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 2.24 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
{
"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.3",
"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.27.11",
"phpbench/phpbench": "1.2.15",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "10.5.26",
"rector/rector": "1.2.10",
"spatie/phpunit-watcher": "^1.23",
"symplify/easy-coding-standard": "^12.4.0",
"vimeo/psalm": "^5.26"
},
"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"
}
}