-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
40 lines (36 loc) · 1.34 KB
/
Copy pathcomposer.json
File metadata and controls
40 lines (36 loc) · 1.34 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
{
"name": "exan/moock",
"description": "Modern class mocking package",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Exan\\Moock\\": "src/"
},
"files": [
"./src/Compatibility.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"require": {
"php": "^8.4"
},
"require-dev": {
"symfony/var-dumper": "^7.4",
"phpunit/phpunit": "^11.5",
"friendsofphp/php-cs-fixer": "^3.92",
"exan/pudocumenter": "^0.1.8",
"vimeo/psalm": "^6.16"
},
"scripts": {
"test": "phpunit tests",
"psalm": "psalm --no-cache --show-info",
"psalm-fix": "psalm --no-cache --alter --issues=MissingReturnType,MissingClosureReturnType,InvalidReturnType,InvalidNullableReturnType,InvalidFalsableReturnType,MissingParamType,MissingPropertyType,MismatchingDocblockParamType,MismatchingDocblockReturnType,LessSpecificReturnType,PossiblyUndefinedVariable,PossiblyUndefinedGlobalVariable,UnusedMethod,PossiblyUnusedMethod,UnusedProperty,PossiblyUnusedProperty,UnusedVariable,UnnecessaryVarAnnotation,ParamNameMismatch",
"csf": "php-cs-fixer fix --using-cache=no --allow-risky=yes",
"cs": "php-cs-fixer fix --using-cache=no --allow-risky=yes --dry-run"
}
}