-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
51 lines (51 loc) · 1.36 KB
/
composer.json
File metadata and controls
51 lines (51 loc) · 1.36 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
{
"name": "g4/crypto",
"description": "crypto - encryption php library",
"keywords": [
"crypto",
"encryption",
"cipher",
"mcrypt"
],
"license": "MIT",
"authors": [],
"autoload": {
"psr-4": {"G4\\Crypto\\": "src/"}
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "3.*",
"g4/code-coverage": "2.*"
},
"require": {
"php": ">=8.3",
"phpseclib/mcrypt_compat": "2.*"
},
"scripts": {
"unit-test": [
"php8.3 ./vendor/bin/phpunit -c tests/unit/phpunit.xml"
],
"integration-test": [
"php8.3 ./vendor/bin/phpunit -c tests/integration/phpunit.xml"
],
"test": [
"@unit-test",
"@integration-test"
],
"test-coverage": [
"XDEBUG_MODE=coverage php8.3 ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-text --coverage-html tests/unit/coverage"
],
"test-report": [
"XDEBUG_MODE=coverage php8.3 ./vendor/bin/phpunit --colors=always -c tests/unit/phpunit.xml --coverage-clover=tests/unit/coverage/code-coverage.xml"
],
"code-coverage": [
"php8.3 ./vendor/bin/code-coverage -p 90 -f tests/unit/coverage/code-coverage.xml"
],
"psr2": [
"php8.3 ./vendor/bin/phpcs --colors --standard=PSR2 src/"
],
"psr2-fix": [
"php8.3 ./vendor/bin/phpcbf --colors --standard=PSR2 src/"
]
}
}