backupscript/composer.json
Jens True 68ee38d1ff
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Bump versions
2023-09-04 06:53:56 +00:00

47 lines
1.9 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",
"symfony/yaml": "^6.3",
"twig/twig": "^3.6",
"symfony/process": "^6.3",
"monolog/monolog": "^3.3",
"verifiedjoseph/ntfy-php-library": "^4.2",
"league/config": "^1.2"
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"phpstan/phpstan": "^1.10",
"vimeo/psalm": "^5.12",
"phpmd/phpmd": "^2.13",
"phpunit/phpunit": "^10.2",
"phpmetrics/phpmetrics": "^2.8"
},
"scripts": {
"test": "vendor/bin/phpunit tests --display-warnings",
"test-coverage": "vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --path-coverage --testdox-html output/test.html --log-junit output/test.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"
}
}