-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
61 lines (61 loc) · 1.53 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
{
"name": "gskema/phpcs-type-sniff",
"type": "library",
"description": "PHPCS sniff to enforce PHP7 types and array types",
"keywords": [
"gskema",
"phpcs-type-sniff",
"phpcs",
"sniff"
],
"homepage": "https://github.com/gskema/phpcs-type-sniff",
"license": "MIT",
"authors": [
{
"name": "Gytis Škėma",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": ">=8.1",
"squizlabs/php_codesniffer": "^3.10"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"scrutinizer/ocular": "^1.6"
},
"autoload": {
"psr-4": {
"Gskema\\TypeSniff\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gskema\\TypeSniff\\": "tests/"
}
},
"extra": {
"branch-alias": {
"master": "1.0.x-dev"
}
},
"config": {
"sort-packages": true
},
"bin": [
"bin/phpcs-subtract-baseline",
"bin/phpcs-wbl"
],
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-clover=clover.xml",
"test-coverage-local": "php -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-html=build/coverage",
"upload-coverage": "vendor/bin/ocular code-coverage:upload --format=php-clover coverage.xml;",
"phpcs": "vendor/bin/phpcs -p",
"build": [
"@test",
"@phpcs"
]
}
}