Getting through the test step.
Some checks failed
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
2025-04-22 11:54:17 +00:00
parent 3f33729b4b
commit e4f195d24a
6 changed files with 32 additions and 17 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ config.yml
*cache/ *cache/
rclone rclone
rclone.conf rclone.conf
tools/

15
.phive/phars.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpdocumentor" version="^3.7.1" installed="3.7.1" location="./tools/phpdocumentor" copy="false"/>
<phar name="composer" version="^2.8.8" installed="2.8.8" location="./tools/composer" copy="false"/>
<phar name="infection" version="^0.29.14" installed="0.29.14" location="./tools/infection" copy="false"/>
<phar name="phpcs" version="^3.12.2" installed="3.12.2" location="./tools/phpcs" copy="false"/>
<phar name="phpcbf" version="^3.12.2" installed="3.12.2" location="./tools/phpcbf" copy="false"/>
<phar name="phploc" version="^7.0.2" installed="7.0.2" location="./tools/phploc" copy="false"/>
<phar name="phpbench" version="^1.4.1" installed="1.4.1" location="./tools/phpbench" copy="false"/>
<phar name="phpunit" version="^12.1.3" installed="12.1.3" location="./tools/phpunit" copy="false"/>
<phar name="overtrue/phplint" version="^9.6.2" installed="9.6.2" location="./tools/phplint" copy="false"/>
<phar name="phpstan" version="^2.1.12" installed="2.1.12" location="./tools/phpstan" copy="false"/>
<phar name="phpmd" version="^2.15.0" installed="2.15.0" location="./tools/phpmd" copy="false"/>
<phar name="psalm" version="^7.0.0-beta6" installed="7.0.0-beta6" location="./tools/psalm" copy="false"/>
</phive>

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"php.version": "8.4"
}

View File

@ -21,7 +21,3 @@ steps:
- apt update - apt update
- apt install rclone - apt install rclone
- vendor/bin/phpunit --no-coverage - vendor/bin/phpunit --no-coverage
- name: document
image: phpdoc/phpdoc
commands:
- phpdoc

View File

@ -35,7 +35,7 @@
"@docs" "@docs"
], ],
"metrics": "vendor/bin/phpmetrics --report-html=output/metrics --junit=output/test.xml src/", "metrics": "vendor/bin/phpmetrics --report-html=output/metrics --junit=output/test.xml src/",
"docs": "phpDocumentor", "docs": "tools/phpDocumentor",
"analyze": [ "analyze": [
"@analyze-yaml", "@analyze-yaml",
"@analyze-phpmd", "@analyze-phpmd",
@ -44,9 +44,9 @@
"@analyze-phpcs" "@analyze-phpcs"
], ],
"analyze-yaml": "vendor/bin/yaml-lint .", "analyze-yaml": "vendor/bin/yaml-lint .",
"analyze-phpmd": "phpmd src,tests text cleancode,codesize,controversial,design,naming,unusedcode", "analyze-phpmd": "tools/phpmd src,tests text cleancode,codesize,controversial,design,naming,unusedcode",
"analyze-phpstan":"phpstan", "analyze-phpstan":"tools/phpstan",
"analyze-psalm": "psalm --no-cache", "analyze-psalm": "tools/psalm --no-cache",
"analyze-phpcs": "phpcs" "analyze-phpcs": "tools/phpcs"
} }
} }

12
composer.lock generated
View File

@ -1909,16 +1909,16 @@
}, },
{ {
"name": "verifiedjoseph/ntfy-php-library", "name": "verifiedjoseph/ntfy-php-library",
"version": "v4.7.0", "version": "v4.7.1",
"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": "c84d4dd7074d4cd89bfc1c10b1aa7f2568105412" "reference": "b191721dfed447a94f220a89dd372861d4c41115"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/VerifiedJoseph/ntfy-php-library/zipball/c84d4dd7074d4cd89bfc1c10b1aa7f2568105412", "url": "https://api.github.com/repos/VerifiedJoseph/ntfy-php-library/zipball/b191721dfed447a94f220a89dd372861d4c41115",
"reference": "c84d4dd7074d4cd89bfc1c10b1aa7f2568105412", "reference": "b191721dfed447a94f220a89dd372861d4c41115",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1957,9 +1957,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.7.0" "source": "https://github.com/VerifiedJoseph/ntfy-php-library/tree/v4.7.1"
}, },
"time": "2024-12-10T10:48:38+00:00" "time": "2025-04-01T14:02:04+00:00"
} }
], ],
"packages-dev": [ "packages-dev": [