-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
59 lines (59 loc) · 1.82 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
{
"name": "susina/param-resolver",
"type": "library",
"description": "Resolve parameters inside a configuration array",
"license": "Apache-2.0",
"authors": [
{
"name": "Cristiano Cinotti",
"email": "cristianocinotti@gmail.com"
}
],
"require": {
"php": ">=8.2"
},
"autoload": {
"psr-4": {
"Susina\\ParamResolver\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Susina\\ParamResolver\\Tests\\": "tests/"
}
},
"require-dev": {
"psalm/phar": "^5",
"susina/coding-standard": "^2",
"pestphp/pest": "^2"
},
"scripts": {
"analytics": "php vendor/bin/psalm.phar",
"check": [
"@test",
"@analytics",
"@cs:fix"
],
"coverage": "@test --coverage",
"coverage:html": "@test --coverage-html coverage/",
"coverage:clover": "@test --coverage-clover clover.xml",
"cs:check": "php-cs-fixer fix -v --diff --dry-run",
"cs:fix": "php-cs-fixer fix -v --diff",
"test": "pest"
},
"scripts-descriptions": {
"analytics": "Run static analysis tool",
"check": "Perform all tests and analysis, required before submitting a pull request",
"cs:check": "Run code style analysis, without fixing errors",
"cs:fix": "Run code style analysis and fix errors",
"coverage": "Show coverage report to the console",
"coverage:html": "Create a code coverage report in html format, into the `coverage/` directory",
"coverage:clover": "Create a code coverage report in xml format, into the `clover.xml` file",
"test": "Run the test suite"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}