backupscript/composer.json
Jens True bedc666f7c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Support for PHP infection testing
2023-11-03 13:29:50 +00:00

47 lines
1.7 KiB
JSON

{
"name": "furyfire/backupscript",
"description": "Wrapper for Rclone based backup with push notifications",
"homepage": "https://jcktrue.dk",
"version": "0.1.1",
"require": {
"symfony/console": "^6.3.4",
"symfony/yaml": "^6.3.3",
"twig/twig": "^3.7.1",
"symfony/process": "^6.3.4",
"monolog/monolog": "^3.4",
"verifiedjoseph/ntfy-php-library": "^4.3",
"league/config": "^1.2"
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "^1.10.37",
"vimeo/psalm": "^5.15",
"phpmd/phpmd": "^2.14.1",
"phpunit/phpunit": "^10.3.5",
"phpmetrics/phpmetrics": "^2.8.2"
},
"scripts": {
"test": "vendor/bin/phpunit tests --display-warnings",
"test-full": "vendor/bin/phpunit -c phpunit.full.xml",
"metrics": "vendor/bin/phpmetrics --report-html=output/metrics --junit=output/test.xml src/",
"docs": "./phpDocumentor.phar --setting=graphs.enabled=true",
"analyze": [
"@analyze-yaml",
"@analyze-phpmd",
"@analyze-phpstan",
"@analyze-psalm",
"@analyze-phpcs"
],
"analyze-yaml": "vendor/bin/yaml-lint *.yml .*.yml *.json",
"analyze-phpmd": "vendor/bin/phpmd src,tests text cleancode,codesize,controversial,design,naming,unusedcode",
"analyze-phpstan":"vendor/bin/phpstan analyze --level=8 --error-format=raw src/ backup tests",
"analyze-psalm": "vendor/bin/psalm --no-cache",
"analyze-phpcs": "vendor/bin/phpcs src backup tests --report=emacs --standard=PSR12"
}
}