-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
112 lines (112 loc) · 2.54 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "lendable/clock",
"description": "Clock Abstraction",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Lendable Ltd",
"email": "dev@lendable.co.uk"
}
],
"autoload": {
"psr-4": {
"Lendable\\Clock\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Lendable\\Clock\\Unit\\": "tests/unit/",
"Tests\\Lendable\\Clock\\Support\\": "tests/support/"
}
},
"require": {
"php": ">=8.2",
"psr/clock": "^1.0"
},
"require-dev": {
"infection/infection": "^0.29.6",
"lendable/composer-license-checker": "^1.2.1",
"lendable/phpunit-extensions": "^0.3",
"liuggio/fastest": "^1.8",
"mikey179/vfsstream": "^1.6.11",
"php-cs-fixer/shim": "^3.61.1",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"phpstan/phpstan": "^1.11.9",
"phpstan/phpstan-deprecation-rules": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpunit/phpunit": "^11.3.0",
"rector/rector": "^1.2.2"
},
"provide": {
"psr/clock-implementation": "1.0"
},
"config": {
"bin-dir": "bin",
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
},
"platform": {
"php": "8.2.5"
}
},
"prefer-stable": true,
"scripts": {
"code-style:fix": [
"PHP_CS_FIXER_FUTURE_MODE=1 php-cs-fixer fix --diff --ansi --using-cache=no"
],
"code-style:check": [
"PHP_CS_FIXER_FUTURE_MODE=1 php-cs-fixer fix --dry-run --diff --ansi --using-cache=no"
],
"licenses:check": [
"composer-license-checker"
],
"lint:php": [
"parallel-lint lib",
"parallel-lint tests"
],
"lint": [
"@lint:php"
],
"phpstan": [
"phpstan analyse --ansi --memory-limit=-1 --no-progress"
],
"rector:check": [
"rector --dry-run --ansi --no-progress-bar"
],
"rector:fix": [
"rector --ansi --no-progress-bar"
],
"static-analysis": [
"@composer validate",
"@licenses:check",
"@lint",
"@phpstan",
"@rector:check"
],
"phpunit:unit": [
"phpunit --colors --testsuite=unit --do-not-cache-result"
],
"infection": [
"./bin/infection --threads=8 --min-msi=99 --show-mutations"
],
"tests": [
"@tests:unit"
],
"tests:unit": [
"@phpunit:unit",
"@infection"
],
"ci": [
"@composer audit",
"@static-analysis",
"@code-style:check",
"@tests:unit"
],
"run-ci": [
"ci/run.sh"
]
}
}