Skip to content

Fix PHAR building

Fix PHAR building #57

Triggered via pull request August 2, 2024 20:40
@roxblnfkroxblnfk
synchronize #16
fix-phar
Status Failure
Total duration 26s
Artifacts

static-analysis.yml

on: pull_request
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors
InvalidArrayOffset: src/Module/Repository/Internal/GitHub/GitHubRelease.php#L51
src/Module/Repository/Internal/GitHub/GitHubRelease.php:51:20: InvalidArrayOffset: Cannot access value on variable $data using offset value of 'tag_name', expecting 'name', 'tag-name' or 'assets' (see https://psalm.dev/115)
PossiblyNullArgument: src/Module/Repository/Internal/GitHub/GitHubRelease.php#L99
src/Module/Repository/Internal/GitHub/GitHubRelease.php:99:39: PossiblyNullArgument: Argument 1 of Composer\Semver\VersionParser::normalize cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullOperand: src/Module/Repository/Internal/GitHub/GitHubRelease.php#L104
src/Module/Repository/Internal/GitHub/GitHubRelease.php:104:33: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.