Go to file
Jens True 085006b073
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Build and test / requirements (push) Failing after 1m41s
Psalm warning. Investigate getting PHPunit plugin for Psalm.
2024-02-07 11:05:54 +00:00
.gitea/workflows File names for output 2023-11-16 13:13:57 +00:00
.vscode More tests and error handling 2023-07-03 13:01:31 +00:00
src Quality of life things. 2024-02-07 11:00:08 +00:00
tests Psalm warning. Investigate getting PHPunit plugin for Psalm. 2024-02-07 11:05:54 +00:00
.gitignore Quality of life things. 2024-02-07 11:00:08 +00:00
.phpcs.xml Quality of life things. 2024-02-07 11:00:08 +00:00
.woodpecker.yml Remove S3 server 2023-08-21 07:47:46 +00:00
backup 100% type coverage for psalm 2023-07-28 12:12:47 +00:00
composer.json Quality of life things. 2024-02-07 11:00:08 +00:00
composer.lock Quality of life things. 2024-02-07 11:00:08 +00:00
config.example.yml Template for error notification. 2023-08-29 09:44:05 +00:00
infection.json5 Support for PHP infection testing 2023-11-03 13:29:50 +00:00
phpdoc.dist.xml phpDocumentor 2023-06-19 08:34:54 +00:00
phpstan.neon Quality of life things. 2024-02-07 11:00:08 +00:00
phpunit.xml Quality of life things. 2024-02-07 11:00:08 +00:00
psalm.xml Quality of life things. 2024-02-07 11:00:08 +00:00
README.md Finding minimum required PHP version to be 8.1. (But testing with PHP8.3) 2024-01-18 14:40:39 +00:00

Backup script

Build status

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