Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
54 lines (54 loc) · 1.71 KB
/
Copy pathcomposer.json
File metadata and controls
54 lines (54 loc) · 1.71 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
{
"name": "lendable/interview",
"type": "project",
"bin": "/bin/calculate-fee",
"require": {
"php": "^8.4"
},
"autoload": {
"psr-4": {
"Interview\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Interview\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^12.3",
"friendsofphp/php-cs-fixer": "^v3.87",
"phpstan/phpstan": "^2.1.27",
"rector/rector": "^2.1.7",
"deptrac/deptrac": "^4.2",
"codeception/codeception": "^5.3",
"codeception/module-phpbrowser": "*",
"codeception/module-asserts": "*",
"codeception/module-cli": "^2.0"
},
"scripts": {
"test": [
"@php vendor/bin/codecept run unit --colors"
],
"cs-fix": "php vendor/bin/php-cs-fixer fix --allow-risky=yes",
"phpstan": "php vendor/bin/phpstan analyse -c phpstan.neon",
"rector": "php vendor/bin/rector process --no-diffs",
"deptrac": "php vendor/bin/deptrac analyse --config-file=deptrac.yaml",
"qa": [
"@cs-fix",
"@phpstan",
"@rector",
"@deptrac"
],
"test:phpunit": "php vendor/bin/phpunit --testsuite unit --colors=always",
"test:codeception:unit": "php vendor/bin/codecept run unit --colors",
"test:codeception:integration": "php vendor/bin/codecept run integration --colors",
"test:codeception:acceptance": "php vendor/bin/codecept run acceptance --colors",
"test:all": [
"@test:phpunit",
"@test:codeception:unit",
"@test:codeception:integration",
"@test:codeception:acceptance"
]
}
}