-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
67 lines (67 loc) · 2.13 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
{
"name": "bartlett/sarif-php-sdk",
"description": "PHP library to create and manipulate SARIF logs",
"keywords": ["sarif"],
"type": "library",
"license": "MIT",
"support": {
"source": "https://github.com/llaville/sarif-php-sdk",
"issues": "https://github.com/llaville/sarif-php-sdk/issues"
},
"require": {
"php": "^8.1",
"ext-json": "*",
"ext-pcre": "*",
"ext-spl": "*"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"php-parallel-lint/php-console-highlighter": "^1.0"
},
"authors": [
{
"name": "Laurent Laville",
"homepage": "https://github.com/llaville",
"role": "Lead"
}
],
"autoload": {
"psr-4": {
"Bartlett\\Sarif\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Bartlett\\Sarif\\Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"target-directory": "vendor-bin",
"forward-command": true
}
},
"scripts": {
"bin": "echo 'bin not installed'",
"code:check": "vendor/bin/phpstan analyse --configuration .github/linters/phpstan.neon.dist --ansi --verbose",
"code:lint": "vendor/bin/phplint --configuration .github/linters/.phplint.yml --verbose --progress=indicator --ansi",
"style:check": "vendor/bin/phpcs --standard=.github/linters/.phpcs.xml.dist --warning-severity=0 --colors",
"tests:unit": "vendor/bin/phpunit --configuration phpunit.xml.dist"
},
"scripts-descriptions" : {
"code:check": "Run PHPStan code analysis on project source code",
"code:lint": "Run PHPLint on project source code",
"style:check": "Run PHP CodeSniffer on project source code",
"tests:unit": "Run PHPUnit (unit tests) on project source code"
}
}