-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
110 lines (110 loc) · 3.04 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
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
{
"name": "maspeng/test-helper",
"description": "A library to simplify various tasks during test development",
"type": "library",
"keywords": [
"php",
"test",
"testing",
"helper",
"phpunit"
],
"homepage": "https://github.com/MaSpeng/php-test-helper",
"license": "MIT",
"authors": [
{
"name": "Marco Spengler",
"email": "[email protected]"
}
],
"support": {
"issues": "https://github.com/MaSpeng/php-test-helper/issues",
"source": "https://github.com/MaSpeng/php-test-helper",
"docs": "https://github.com/MaSpeng/php-test-helper/blob/master/README.md"
},
"require": {
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^10.5",
"roave/security-advisories": "dev-master"
},
"autoload": {
"psr-4": {
"MaSpeng\\TestHelper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MaSpeng\\TestHelper\\": "tests/"
}
},
"scripts": {
"analyse-code": [
"phpstan --version; phpstan --ansi"
],
"lint-code": [
"php-cs-fixer --version; php-cs-fixer fix --dry-run --diff --verbose --ansi"
],
"lint-markdown": [
"markdownlint --version; markdownlint ."
],
"lint-yaml": [
"yamllint --version; yamllint ."
],
"fix-code": [
"php-cs-fixer --version; php-cs-fixer fix --ansi"
],
"test": [
"phpunit"
],
"test-with-coverage": [
"phpunit --coverage-text"
]
},
"scripts-descriptions": {
"analyse-code": "Analyse code with static code analyzer.",
"lint-code": "Lint code style with PHP-CS-Fixer.",
"lint-markdown": "Lint markdown files with markdownlint.",
"lint-yaml": "Lint YAML files with yamllint.",
"fix-code": "Fix code style with PHP-CS-Fixer.",
"test": "Run all testsuites.",
"test-with-coverage": "Run all testsuites with coverage report."
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "0.3.x-dev",
"dev-develop": "0.4.x-dev"
}
},
"archive": {
"exclude": [
".devcontainer/",
".editorconfig",
".gitattributes",
".github/",
".gitignore",
".markdownlint.yaml",
".markdownlintignore",
".php-cs-fixer.php",
".yamllint.yaml",
"composer.lock",
"phpstan.neon",
"phpunit.xml",
"tests/",
"var/"
]
}
}