Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
113 lines (113 loc) · 3.46 KB
/
Copy pathcomposer.json
File metadata and controls
113 lines (113 loc) · 3.46 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
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
113
{
"name": "rasuvaeff/understudy",
"description": "Test double library for PHP with a call-closure API",
"license": "BSD-3-Clause",
"type": "library",
"keywords": [
"double",
"fake",
"mock",
"spy",
"stub",
"test-double",
"testing"
],
"authors": [
{
"name": "Victor Razuvaev",
"email": "rasuvaeff@gmail.com"
}
],
"homepage": "https://github.com/rasuvaeff/understudy",
"support": {
"issues": "https://github.com/rasuvaeff/understudy/issues",
"source": "https://github.com/rasuvaeff/understudy"
},
"require": {
"php": "8.3 - 8.5",
"ext-tokenizer": "*"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.51",
"friendsofphp/php-cs-fixer": "^3.95",
"infection/infection": "^0.35",
"maglnet/composer-require-checker": "^4.17",
"rasuvaeff/property-testing-testo": "^1.0",
"rasuvaeff/rector-named-literals": "^1.0",
"rector/rector": "^2.4",
"roave/backward-compatibility-check": "^8.0",
"testo/bridge-infection": "^0.1.6",
"testo/testo": "^0.10.25",
"vimeo/psalm": "^6.16"
},
"autoload": {
"psr-4": {
"Rasuvaeff\\Understudy\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Rasuvaeff\\Understudy\\Benchmarks\\": "benchmarks/",
"Rasuvaeff\\Understudy\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"platform": {
"ext-bcmath": "1.0.0",
"ext-intl": "1.0.0"
},
"sort-packages": true
},
"extra": {
"skills": {
"source": "resources/skills"
}
},
"scripts": {
"bc-check": "roave-backward-compatibility-check",
"bench": "testo --suite=Benchmarks -vv",
"build": [
"@composer validate --strict",
"@composer normalize --dry-run",
"@require-checker",
"@cs",
"@psalm",
"@test",
"@test:integration",
"@examples"
],
"cs": "php-cs-fixer fix --dry-run --diff --config=.php-cs-fixer.php",
"cs:fix": "php-cs-fixer fix --diff --config=.php-cs-fixer.php",
"examples": [
"@php examples/basic-usage.php",
"@php examples/modes.php",
"@php examples/property-hooks.php",
"@php examples/wiring.php",
"@php examples/protocol.php",
"@php examples/defaults-registry.php",
"@php examples/structured-failures.php",
"@php examples/where-guard.php"
],
"mutation": "infection --threads=max",
"psalm": "psalm --no-cache",
"rector": "rector process --dry-run",
"rector:fix": "rector process",
"release-check": [
"@build",
"@rector",
"@bc-check"
],
"require-checker": "composer-require-checker check composer.json",
"test": "testo --suite=Unit",
"test:coverage": "testo --suite=Unit --coverage --coverage-clover=build/coverage.xml",
"test:coverage:ci": "testo --suite=Unit --coverage-clover=build/coverage.xml",
"test:integration": "testo --suite=Integration"
}
}