-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
82 lines (82 loc) · 2.61 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
{
"name": "artarts36/git-handler",
"description": "Git Handler",
"type": "library",
"require": {
"php": ">=7.3",
"artarts36/shell-command": "^2.1.13",
"artarts36/str": "^2.0.1",
"artarts36/file-system-contracts": "0.2.0",
"psr/http-client": "^1.0",
"guzzlehttp/psr7": "^1.8 | ^2",
"artarts36/local-file-system": "^0.1.1"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"squizlabs/php_codesniffer": "^3.5",
"guzzlehttp/guzzle": "^7.3",
"infection/infection": "^0.18.2",
"composer/package-versions-deprecated": "1.11.99.2",
"phpstan/phpstan": "^0.12.96",
"jetbrains/phpstorm-attributes": "^1.0",
"roave/security-advisories": "dev-latest",
"phpdocumentor/reflection": "^5.3"
},
"license": "MIT",
"authors": [
{
"name": "ArtARTs36",
"email": "temicska99@mail.ru"
}
],
"autoload": {
"psr-4": {
"ArtARTs36\\GitHandler\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ArtARTs36\\GitHandler\\Tests\\": "tests/",
"ArtARTs36\\GitHandler\\DocBuilder\\": "docs/DocBuilder"
},
"files": [
"tests/functions.php"
]
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
},
"scripts": {
"lint": [
"echo 'Check code on PSR'",
"./vendor/bin/phpcs --standard=PSR2 src/",
"./vendor/bin/phpcs --standard=PSR2 tests/"
],
"stat-analyse": [
"echo 'Run stat analyse'",
"./vendor/bin/phpstan analyse -l 5 src"
],
"test": [
"echo 'Run tests'",
"XDEBUG_MODE=coverage ./vendor/bin/phpunit -v --coverage-text --configuration phpunit.xml --coverage-clover=tests/reports/logs/clover.xml --coverage-xml=tests/reports/logs/coverage-xml --log-junit=tests/reports/logs/junit.xml"
],
"mutate-test": [
"echo 'Run mutation testing'",
"./vendor/infection/infection/bin/infection --threads=4 --no-progress --min-covered-msi=76.5 --coverage=tests/reports/logs/"
],
"build-docs": [
"echo 'Build documentation'",
"php docs/DocBuilder/build.php"
],
"check-docs-actual": [
"echo 'Check Documentation is actually'",
"php docs/DocBuilder/is_actual.php"
],
"build-changelog": [
"echo 'Build CHANGELOG.MD'",
"php docs/DocBuilder/build_changelog.php"
]
}
}