Jens True
4b59f3dfee
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Build and test / requirements (push) Failing after 3m36s
|
||
---|---|---|
.gitea/workflows | ||
.vscode | ||
src | ||
tests | ||
.gitignore | ||
.phpcs.xml | ||
.woodpecker.yml | ||
backup | ||
composer.json | ||
composer.lock | ||
config.example.yml | ||
infection.json5 | ||
phpdoc.dist.xml | ||
phpstan.neon | ||
phpunit.xml | ||
psalm.xml | ||
README.md |
Backup script
Backup script utilizing Rclone to backup local file systems and send notifications.
Minimum requirements
- PHP8.1
- Composer to install required packages.
- Rclone installed
Rclone install
rm rclone-current-linux-amd64.deb wget https://downloads.rclone.org/rclone-current-linux-amd64.deb sudo dpkg -i rclone-current-linux-amd64.deb
For development
PHP latest for debian
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x sudo apt update sudo apt upgrade sudo apt install php8.3-cli php8.3-xml php8.3-curl php8.3-zip php8.3-xdebug php8.3-mbstring unzip wget graphviz plantuml
PHP Docs
rm phpDocumentor.phar wget https://phpdoc.org/phpDocumentor.phar chmod +x phpDocumentor.phar
Infection install
rm infection.phar wget https://github.com/infection/infection/releases/download/0.27.8/infection.phar chmod +x infection.phar
PHP CopyPasteDetector install
rm phpcpd.phar wget https://phar.phpunit.de/phpcpd.phar chmod +x phpcpd.phar
Test, analyze, metrics, document
./composer.phar test-full && ./composer.phar analyze && ./composer.phar metrics && ./composer.phar doc