Requirements update. Experiementation with Infection.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Jens True 2023-10-31 09:50:55 +00:00
parent 14db929af1
commit 61001edaa0
3 changed files with 65 additions and 62 deletions

@ -5,13 +5,14 @@
Backup script utilizing Rclone to backup local file systems and send notifications. Backup script utilizing Rclone to backup local file systems and send notifications.
# Rclone install # Rclone install
rm rclone-current-linux-amd64.deb
wget https://downloads.rclone.org/rclone-current-linux-amd64.deb wget https://downloads.rclone.org/rclone-current-linux-amd64.deb
sudo dpkg -i rclone-current-linux-amd64.deb sudo dpkg -i rclone-current-linux-amd64.deb
# PHP Docs # PHP Docs
rm phpDocumentor.phar
wget https://phpdoc.org/phpDocumentor.phar wget https://phpdoc.org/phpDocumentor.phar
chmod +x phpDocumentor.phar chmod +x phpDocumentor.phar
./phpDocumentor.phar
# Test, analyze, metrics, document # Test, analyze, metrics, document
./composer.phar test-coverage && ./composer.phar analyze && ./composer.phar metrics && ./composer.phar doc ./composer.phar test-coverage && ./composer.phar analyze && ./composer.phar metrics && ./composer.phar doc

121
composer.lock generated

@ -490,16 +490,16 @@
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "3.4.0", "version": "3.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "e2392369686d420ca32df3803de28b5d6f76867d" "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/e2392369686d420ca32df3803de28b5d6f76867d", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448",
"reference": "e2392369686d420ca32df3803de28b5d6f76867d", "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -575,7 +575,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/3.4.0" "source": "https://github.com/Seldaek/monolog/tree/3.5.0"
}, },
"funding": [ "funding": [
{ {
@ -587,20 +587,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-06-21T08:46:11+00:00" "time": "2023-10-27T15:32:31+00:00"
}, },
{ {
"name": "nette/schema", "name": "nette/schema",
"version": "v1.2.4", "version": "v1.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/schema.git", "url": "https://github.com/nette/schema.git",
"reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab" "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/schema/zipball/c9ff517a53903b3d4e29ec547fb20feecb05b8ab", "url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a",
"reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab", "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -647,22 +647,22 @@
], ],
"support": { "support": {
"issues": "https://github.com/nette/schema/issues", "issues": "https://github.com/nette/schema/issues",
"source": "https://github.com/nette/schema/tree/v1.2.4" "source": "https://github.com/nette/schema/tree/v1.2.5"
}, },
"time": "2023-08-05T18:56:25+00:00" "time": "2023-10-05T20:37:59+00:00"
}, },
{ {
"name": "nette/utils", "name": "nette/utils",
"version": "v4.0.2", "version": "v4.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/utils.git", "url": "https://github.com/nette/utils.git",
"reference": "cead6637226456b35e1175cc53797dd585d85545" "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/cead6637226456b35e1175cc53797dd585d85545", "url": "https://api.github.com/repos/nette/utils/zipball/a9d127dd6a203ce6d255b2e2db49759f7506e015",
"reference": "cead6637226456b35e1175cc53797dd585d85545", "reference": "a9d127dd6a203ce6d255b2e2db49759f7506e015",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -733,9 +733,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nette/utils/issues", "issues": "https://github.com/nette/utils/issues",
"source": "https://github.com/nette/utils/tree/v4.0.2" "source": "https://github.com/nette/utils/tree/v4.0.3"
}, },
"time": "2023-09-19T11:58:07+00:00" "time": "2023-10-29T21:02:13+00:00"
}, },
{ {
"name": "psr/container", "name": "psr/container",
@ -1762,16 +1762,16 @@
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v6.3.3", "version": "v6.3.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "e23292e8c07c85b971b44c1c4b87af52133e2add" "reference": "9758b6c69d179936435d0ffb577c3708d57e38a8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/e23292e8c07c85b971b44c1c4b87af52133e2add", "url": "https://api.github.com/repos/symfony/yaml/zipball/9758b6c69d179936435d0ffb577c3708d57e38a8",
"reference": "e23292e8c07c85b971b44c1c4b87af52133e2add", "reference": "9758b6c69d179936435d0ffb577c3708d57e38a8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1814,7 +1814,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v6.3.3" "source": "https://github.com/symfony/yaml/tree/v6.3.7"
}, },
"funding": [ "funding": [
{ {
@ -1830,7 +1830,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-07-31T07:08:24+00:00" "time": "2023-10-28T23:31:00+00:00"
}, },
{ {
"name": "twig/twig", "name": "twig/twig",
@ -1905,16 +1905,16 @@
}, },
{ {
"name": "verifiedjoseph/ntfy-php-library", "name": "verifiedjoseph/ntfy-php-library",
"version": "v4.3.0", "version": "v4.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/VerifiedJoseph/ntfy-php-library.git", "url": "https://github.com/VerifiedJoseph/ntfy-php-library.git",
"reference": "3c49e167f7bf2ff41d578fd0bf837ebc512271dd" "reference": "f59cec7073a3e0a100a01d6506411dcdc2773d32"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/VerifiedJoseph/ntfy-php-library/zipball/3c49e167f7bf2ff41d578fd0bf837ebc512271dd", "url": "https://api.github.com/repos/VerifiedJoseph/ntfy-php-library/zipball/f59cec7073a3e0a100a01d6506411dcdc2773d32",
"reference": "3c49e167f7bf2ff41d578fd0bf837ebc512271dd", "reference": "f59cec7073a3e0a100a01d6506411dcdc2773d32",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1924,7 +1924,6 @@
"php": ">=8.0" "php": ">=8.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
"phpstan/phpstan": "^1.0", "phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.7" "squizlabs/php_codesniffer": "^3.7"
@ -1952,9 +1951,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/VerifiedJoseph/ntfy-php-library/issues", "issues": "https://github.com/VerifiedJoseph/ntfy-php-library/issues",
"source": "https://github.com/VerifiedJoseph/ntfy-php-library/tree/v4.3.0" "source": "https://github.com/VerifiedJoseph/ntfy-php-library/tree/v4.4.0"
}, },
"time": "2023-08-28T19:11:33+00:00" "time": "2023-10-16T15:20:08+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [
@ -2126,16 +2125,16 @@
}, },
{ {
"name": "composer/pcre", "name": "composer/pcre",
"version": "3.1.0", "version": "3.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/pcre.git", "url": "https://github.com/composer/pcre.git",
"reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9",
"reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2177,7 +2176,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/composer/pcre/issues", "issues": "https://github.com/composer/pcre/issues",
"source": "https://github.com/composer/pcre/tree/3.1.0" "source": "https://github.com/composer/pcre/tree/3.1.1"
}, },
"funding": [ "funding": [
{ {
@ -2193,7 +2192,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-17T09:50:14+00:00" "time": "2023-10-11T07:11:09+00:00"
}, },
{ {
"name": "composer/semver", "name": "composer/semver",
@ -3297,16 +3296,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.10.37", "version": "1.10.40",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "058ba07e92f744d4dcf6061ae75283d0c6456f2e" "reference": "93c84b5bf7669920d823631e39904d69b9c7dc5d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/058ba07e92f744d4dcf6061ae75283d0c6456f2e", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/93c84b5bf7669920d823631e39904d69b9c7dc5d",
"reference": "058ba07e92f744d4dcf6061ae75283d0c6456f2e", "reference": "93c84b5bf7669920d823631e39904d69b9c7dc5d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3355,20 +3354,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-02T16:18:37+00:00" "time": "2023-10-30T14:48:31+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "10.1.6", "version": "10.1.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "56f33548fe522c8d82da7ff3824b42829d324364" "reference": "355324ca4980b8916c18b9db29f3ef484078f26e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/56f33548fe522c8d82da7ff3824b42829d324364", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e",
"reference": "56f33548fe522c8d82da7ff3824b42829d324364", "reference": "355324ca4980b8916c18b9db29f3ef484078f26e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3425,7 +3424,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.6" "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.7"
}, },
"funding": [ "funding": [
{ {
@ -3433,7 +3432,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-09-19T04:59:03+00:00" "time": "2023-10-04T15:34:17+00:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@ -3680,16 +3679,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.3.5", "version": "10.4.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503" "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/747c3b2038f1139e3dcd9886a3f5a948648b7503", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cacd8b9dd224efa8eb28beb69004126c7ca1a1a1",
"reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503", "reference": "cacd8b9dd224efa8eb28beb69004126c7ca1a1a1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3729,7 +3728,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "10.3-dev" "dev-main": "10.4-dev"
} }
}, },
"autoload": { "autoload": {
@ -3761,7 +3760,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.5" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.2"
}, },
"funding": [ "funding": [
{ {
@ -3777,7 +3776,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-09-19T05:42:37+00:00" "time": "2023-10-26T07:21:45+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@ -5035,16 +5034,16 @@
}, },
{ {
"name": "symfony/var-exporter", "name": "symfony/var-exporter",
"version": "v6.3.4", "version": "v6.3.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-exporter.git", "url": "https://github.com/symfony/var-exporter.git",
"reference": "df1f8aac5751871b83d30bf3e2c355770f8f0691" "reference": "374d289c13cb989027274c86206ddc63b16a2441"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/df1f8aac5751871b83d30bf3e2c355770f8f0691", "url": "https://api.github.com/repos/symfony/var-exporter/zipball/374d289c13cb989027274c86206ddc63b16a2441",
"reference": "df1f8aac5751871b83d30bf3e2c355770f8f0691", "reference": "374d289c13cb989027274c86206ddc63b16a2441",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5089,7 +5088,7 @@
"serialize" "serialize"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-exporter/tree/v6.3.4" "source": "https://github.com/symfony/var-exporter/tree/v6.3.6"
}, },
"funding": [ "funding": [
{ {
@ -5105,7 +5104,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-08-16T18:14:47+00:00" "time": "2023-10-13T09:16:49+00:00"
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",

@ -23,6 +23,9 @@ final class CommandBackupTest extends \PHPUnit\Framework\TestCase
protected function tearDown(): void protected function tearDown(): void
{ {
exec('rclone purge temp 2>&1'); exec('rclone purge temp 2>&1');
if (is_dir("temp")) {
rmdir('temp');
}
} }
public function testBadConfig(): void public function testBadConfig(): void