Skip to content

metadata priority

metadata priority #15

Triggered via pull request October 21, 2024 17:57
Status Failure
Total duration 21s
Artifacts

ci.yaml

on: pull_request
PHP Tests
10s
PHP Tests
PHP Static Analysis
12s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
PHP Tests
Process completed with exit code 2.
PHP Static Analysis: src/Embed/Embed.php#L22
PHPDoc tag @var for constant Hyvor\Unfold\Embed\Embed::PARSERS with type array<Hyvor\Unfold\Embed\EmbedParserAbstract> is incompatible with value array{'Hyvor\\Unfold\\Embed\\Platforms\\Youtube', 'Hyvor\\Unfold\\Embed\\Platforms\\Reddit', 'Hyvor\\Unfold\\Embed\\Platforms\\Tiktok', 'Hyvor\\Unfold\\Embed\\Platforms\\Twitter', 'Hyvor\\Unfold\\Embed\\Platforms\\Reddit'}.
PHP Static Analysis: src/Embed/Embed.php#L50
Method Hyvor\Unfold\Embed\Embed::getUnfoldedObject() has no return type specified.
PHP Static Analysis: src/Embed/Embed.php#L50
PHPDoc tag @return has invalid value ($context->method is EmbedMethodEnum::EMBED ? Unfolded : ?Unfolded): Unexpected token "$context", expected type at offset 19
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L70
Call to an undefined method Hyvor\Unfold\Embed\EmbedParserAbstract::oEmbedUrl().
PHP Static Analysis: src/Embed/Exception/UnableToResolveEmbedException.php#L9
Constructor of class Hyvor\Unfold\Embed\Exception\UnableToResolveEmbedException has an unused parameter $message.
PHP Static Analysis: src/Link/Link.php#L33
Variable $response might not be defined.
PHP Static Analysis: src/Link/Link.php#L34
Variable $response might not be defined.
PHP Static Analysis: src/Link/Link.php#L37
Variable $response might not be defined.
PHP Static Analysis: src/Link/Metadata/MetadataParser.php#L26
Property Hyvor\Unfold\Link\Metadata\MetadataParser::$metadata with generic class Hyvor\Unfold\Link\Metadata\MetadataObject does not specify its types: T
PHP Static Analysis: src/Link/Metadata/MetadataParser.php#L42
Method Hyvor\Unfold\Link\Metadata\MetadataParser::parse() return type with generic class Hyvor\Unfold\Link\Metadata\MetadataObject does not specify its types: T
PHP Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP Static Analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/