-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
69 lines (69 loc) · 2.04 KB
/
composer.json
File metadata and controls
69 lines (69 loc) · 2.04 KB
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
{
"name": "libresign/pdf-signature-validator",
"description": "High-quality PDF signature extraction and validation primitives for LibreSign and external consumers.",
"type": "library",
"license": "AGPL-3.0-or-later",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/libresign"
}
],
"require": {
"php": "^8.2",
"phpseclib/phpseclib": "^3.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"roave/security-advisories": "dev-latest"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"classmap-authoritative": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.2"
}
},
"autoload": {
"psr-4": {
"LibreSign\\PdfSignatureValidator\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LibreSign\\PdfSignatureValidator\\Tests\\": "tests/"
}
},
"scripts": {
"bin": "echo 'bin not installed'",
"lint": "find src tests -name '*.php' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"phpmd": "phpmd src,tests text phpmd.xml",
"phpstan": "phpstan analyse src --no-progress",
"psalm": "psalm --no-cache --threads=$(nproc)",
"psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
"deptrac": "deptrac analyze --config-file=deptrac.yaml",
"rector:check": "rector --dry-run",
"rector:fix": "rector",
"test:unit": "phpunit --colors=always --fail-on-warning --fail-on-risky",
"test:coverage": "XDEBUG_MODE=coverage phpunit --coverage-text --coverage-clover build/logs/clover.xml --coverage-html build/logs/html-coverage",
"test:mutation": "infection --threads=$(nproc)",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all install --ansi"
]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}