metadata priority #16
Annotations
10 errors and 1 warning
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'}.
|
src/Embed/Embed.php#L50
Method Hyvor\Unfold\Embed\Embed::getUnfoldedObject() has no return type specified.
|
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
|
src/Embed/EmbedParserAbstract.php#L70
Call to an undefined method Hyvor\Unfold\Embed\EmbedParserAbstract::oEmbedUrl().
|
src/Embed/Exception/UnableToResolveEmbedException.php#L9
Constructor of class Hyvor\Unfold\Embed\Exception\UnableToResolveEmbedException has an unused parameter $message.
|
src/Link/Link.php#L33
Variable $response might not be defined.
|
src/Link/Link.php#L34
Variable $response might not be defined.
|
src/Link/Link.php#L37
Variable $response might not be defined.
|
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
|
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
|
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/
|
This job failed
Loading