Skip to content

Merge pull request #9 from hyvor/more-tests #22

Merge pull request #9 from hyvor/more-tests

Merge pull request #9 from hyvor/more-tests #22

Triggered via push October 22, 2024 07:14
Status Failure
Total duration 22s
Artifacts

ci.yaml

on: push
PHP Tests
10s
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#L22
Parameter #2 $array of function array_map expects array, array<int, string>|false given.
PHP Static Analysis: src/Embed/Embed.php#L35
Call to an undefined method object::match().
PHP Static Analysis: src/Embed/Embed.php#L36
Call to an undefined method object::parse().
PHP Static Analysis: src/Embed/Embed.php#L46
Method Hyvor\Unfold\Embed\Embed::getUnfoldedObject() has no return type specified.
PHP Static Analysis: src/Embed/Embed.php#L46
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/Embed.php#L53
Parameter #1 $embed of static method Hyvor\Unfold\Unfolded\Unfolded::fromEmbed() expects Hyvor\Unfold\Embed\EmbedResponseObject, Hyvor\Unfold\Embed\EmbedResponseObject|null given.
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L76
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#L90
Call to an undefined method Hyvor\Unfold\Embed\EmbedParserAbstract::oEmbedUrl().
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L139
Method Hyvor\Unfold\Embed\EmbedParserAbstract::parseCustom() has no return type specified.
PHP Static Analysis: src/Embed/EmbedParserAbstract.php#L141
Call to an undefined method Hyvor\Unfold\Embed\EmbedParserAbstract::getEmbedHtml().
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/