Skip to content

Merge pull request #8 from hyvor/more-tests #20

Merge pull request #8 from hyvor/more-tests

Merge pull request #8 from hyvor/more-tests #20

Triggered via push October 22, 2024 06:38
Status Failure
Total duration 21s
Artifacts

ci.yaml

on: push
PHP Tests
8s
PHP Tests
PHP Static Analysis
12s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHP Static Analysis: src/Embed/Embed.php#L29
Parameter #2 $array of function array_map expects array, array<int, string>|false given.
PHP Static Analysis: src/Embed/Embed.php#L42
Call to an undefined method object::match().
PHP Static Analysis: src/Embed/Embed.php#L43
Call to an undefined method object::parse().
PHP Static Analysis: src/Embed/Embed.php#L53
Method Hyvor\Unfold\Embed\Embed::getUnfoldedObject() has no return type specified.
PHP Static Analysis: src/Embed/Embed.php#L53
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#L75
Method Hyvor\Unfold\Embed\EmbedParserAbstract::parse() should return Hyvor\Unfold\Embed\EmbedResponseObject but returns Hyvor\Unfold\Embed\EmbedResponseObject|null.
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L87
Call to an undefined method Hyvor\Unfold\Embed\EmbedParserAbstract::oEmbedUrl().
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L136
Method Hyvor\Unfold\Embed\EmbedParserAbstract::parseCustom() has no return type specified.
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L138
Call to an undefined method Hyvor\Unfold\Embed\EmbedParserAbstract::getEmbedHtml().
PHP Static Analysis: src/Exception/EmbedUnableToResolveException.php#L7
Constructor of class Hyvor\Unfold\Exception\EmbedUnableToResolveException has an unused parameter $message.
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/