More tests #18
ci.yaml
on: pull_request
PHP Tests
8s
PHP Static Analysis
15s
Annotations
10 errors and 2 warnings
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/Exception/EmbedUnableToResolveException.php#L7
Constructor of class Hyvor\Unfold\Exception\EmbedUnableToResolveException has an unused parameter $message.
|
PHP Static Analysis:
src/Link/Metadata/MetadataKeyType.php#L59
Method Hyvor\Unfold\Link\Metadata\MetadataKeyType::getValue() has no return type specified.
|
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 Static Analysis:
src/Link/Metadata/MetadataParser.php#L103
Method Hyvor\Unfold\Link\Metadata\MetadataParser::addMetadata() has parameter $metadata with generic class Hyvor\Unfold\Link\Metadata\MetadataObject but does not specify its types: T
|
PHP Static Analysis:
src/Link/Metadata/MetadataParser.php#L103
Method Hyvor\Unfold\Link\Metadata\MetadataParser::addMetadata() has parameter $metadata with generic class Hyvor\Unfold\Link\Metadata\MetadataObject but 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/
|