mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
move to use smarty/smarty ^5.8.4 (see https://github.com/postfixadmin/postfixadmin/security/dependabot/2), use phpunit ^11.5.50 use only psalm 6
59 lines
2.0 KiB
JSON
59 lines
2.0 KiB
JSON
{
|
|
"name": "postfixadmin/postfixadmin",
|
|
"description": "web based administration interface for Postfix mail servers",
|
|
"type": "project",
|
|
"license": "GPL-2.0-only",
|
|
"config": {
|
|
"preferred-install":"dist"
|
|
},
|
|
"scripts": {
|
|
"build" : [
|
|
"@check-format",
|
|
"@lint",
|
|
"@test-fixup",
|
|
"@psalm",
|
|
"@test"
|
|
],
|
|
"check-format": "@php vendor/bin/php-cs-fixer fix --ansi --dry-run --diff",
|
|
"format": "@php vendor/bin/php-cs-fixer fix --ansi",
|
|
"lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ --exclude debian/ -e php,lang .",
|
|
"test": "@php ./vendor/bin/phpunit --coverage-clover ./clover.xml --do-not-cache-result tests/",
|
|
"test-fixup": "mkdir -p templates_c ; test -f config.local.php || touch config.local.php",
|
|
"psalm": "@php ./vendor/bin/psalm.phar --no-cache --show-info=false ",
|
|
"phpstan": "@php vendor/bin/phpstan analyse model/ public/ functions.inc.php common.php config.inc.php --level=0 --no-progress"
|
|
},
|
|
"require": {
|
|
"php": ">=8.2",
|
|
"smarty/smarty": "^5.8.4",
|
|
"postfixadmin/password-hashing": "^0.0.2",
|
|
"endroid/qr-code": "^4.6 | ^5.0",
|
|
"spomky-labs/otphp": "^11.0",
|
|
"shardj/zf1-future": "^1.12",
|
|
"symfony/var-dumper": "^7.4"
|
|
},
|
|
"require-dev": {
|
|
"ext-mbstring": "*",
|
|
"friendsofphp/php-cs-fixer": "^3.54.0",
|
|
"php-parallel-lint/php-parallel-lint": "^1.0",
|
|
"php-coveralls/php-coveralls": "*",
|
|
"phpunit/phpunit": "^11.5.50",
|
|
"psalm/phar":"^6.0",
|
|
"phpstan/phpstan": "^2.0"
|
|
},
|
|
"suggest" : {
|
|
"ext-mysqli": "*",
|
|
"ext-sqlite3": "*"
|
|
},
|
|
"autoload": {
|
|
"classmap" : [ "model/" ],
|
|
"files": [
|
|
"config.inc.php",
|
|
"functions.inc.php"
|
|
]
|
|
},
|
|
"support": {
|
|
"irc": "irc://irc.libera.chat/postfixadmin",
|
|
"issues": "https://github.com/postfixadmin/postfixadmin/issues"
|
|
}
|
|
}
|