forked from selective-php/archive-bomb-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
53 lines (53 loc) · 1.76 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
{
"name": "selective/archive-bomb-scanner",
"type": "library",
"description": "Archive bomb scanner",
"keywords": [
"archive-bomb",
"zip-bomb",
"scanner",
"zip"
],
"homepage": "https://github.com/selective-php/archive-bomb-scanner",
"license": "MIT",
"require": {
"php": "^7.2"
},
"require-dev": {
"overtrue/phplint": "^1.1",
"phpunit/phpunit": "^7",
"phpstan/phpstan-shim": "^0.11",
"squizlabs/php_codesniffer": "^3.4"
},
"scripts": {
"test": "phpunit --configuration phpunit.xml",
"test-coverage": "phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --coverage-html build/coverage",
"check-style": "phpcs --standard=phpcs.xml",
"fix-style": "phpcbf --standard=phpcs.xml",
"phpstan": "phpstan analyse src tests --level=max -c phpstan.neon --no-progress",
"lint": "phplint ./ --exclude=vendor --no-interaction --no-cache",
"install-cs": "php -r \"@mkdir('build'); copy('https://cs.symfony.com/download/php-cs-fixer-v2.phar', 'build/php-cs-fixer-v2.phar');\"",
"fix-cs": "php build/php-cs-fixer-v2.phar fix --config=.cs.php",
"check-cs": "php build/php-cs-fixer-v2.phar fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.cs.php",
"check-all": [
"@lint",
"@check-style",
"@phpstan",
"@test-coverage"
]
},
"autoload": {
"psr-4": {
"Selective\\ArchiveBomb\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Selective\\ArchiveBomb\\Test\\": "tests"
}
},
"config": {
"sort-packages": true,
"process-timeout": 0
}
}