-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
62 lines (62 loc) · 1.39 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
{
"name": "yoshi2889/collections",
"description": "Simple Collection class allowing storage of specific data.",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Yoshi2889\\Collections\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Yoshi2889\\Collections\\Tests\\": "tests/"
}
},
"suggest": {
"yoshi2889/validation-closures": "Closures to use for validating data."
},
"require": {
"php": ">=7.2.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"squizlabs/php_codesniffer": "^3.6.0",
"phpmd/phpmd": "^2.9.1",
"phpstan/phpstan": "^0.12.84 || ^1.0.0"
},
"config": {
"platform": {
"php": "7.2.0"
}
},
"scripts": {
"qc": [
"@phpunit",
"@phpcs",
"@phpmd",
"@phpstan"
],
"phpunit": [
"@php vendor/bin/phpunit"
],
"phpcs": [
"@php vendor/bin/phpcs --standard=PSR12 src/ tests/"
],
"phpcs-github": [
"@php vendor/bin/phpcs --standard=PSR12 --report=checkstyle src/ tests/"
],
"phpcbf": [
"@php vendor/bin/phpcbf --standard=PSR12 src/ tests/"
],
"phpmd": [
"@php vendor/bin/phpmd src/ text phpmd_ruleset.xml --suffixes php"
],
"phpmd-github": [
"@php vendor/bin/phpmd src/ github phpmd_ruleset.xml --suffixes php"
],
"phpstan": [
"@php vendor/bin/phpstan analyse -c phpstan.neon -n src/"
]
}
}