Removed dependecy on Make.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2023-07-11 12:36:27 +00:00
parent 31ca54cdac
commit 4645488b5d
2 changed files with 18 additions and 26 deletions

View File

@ -1,5 +1,5 @@
{
"name": "furyfire/backup",
"name": "furyfire/backupscript",
"description": "Wrapper for Rclone based backup",
"homepage": "https://jcktrue.dk",
"version": "0.1.0",
@ -23,5 +23,22 @@
"vimeo/psalm": "^5.12",
"phpmd/phpmd": "^2.13",
"phpunit/phpunit": "^10.2"
},
"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 ",
"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"
}
}