Skip to content

[FEAT] add support for raw html sanitizers #3087

[FEAT] add support for raw html sanitizers

[FEAT] add support for raw html sanitizers #3087

Triggered via pull request October 8, 2024 21:04
Status Failure
Total duration 5m 5s
Artifacts

integrate.yaml

on: pull_request
Unit test  /  Supported Versions Matrix
6s
Unit test / Supported Versions Matrix
Code Coverage  /  Code Coverage
4m 53s
Code Coverage / Code Coverage
Coding Standards
27s
Coding Standards
Check architecture
15s
Check architecture
xml-lint
46s
xml-lint
Matrix: Lint root / Lint yaml & Composer
Matrix: Static analysis / Static Code Analysis
Matrix: Unit test / Tests
Functional test  /  Supported Versions Matrix
4s
Functional test / Supported Versions Matrix
integration test  /  Supported Versions Matrix
3s
integration test / Supported Versions Matrix
Matrix: Functional test / Tests
Matrix: integration test / Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Static analysis / Static Code Analysis (8.2): packages/guides-markdown/src/Markdown/Parsers/HtmlParser.php#L29
Return type (phpDocumentor\Guides\Nodes\RawNode) of method phpDocumentor\Guides\Markdown\Parsers\HtmlParser::parse() should be compatible with return type (phpDocumentor\Guides\Nodes\ParagraphNode) of method phpDocumentor\Guides\Markdown\ParserInterface<phpDocumentor\Guides\Nodes\ParagraphNode>::parse()
Static analysis / Static Code Analysis (8.2): packages/guides-markdown/src/Markdown/Parsers/HtmlParser.php#L29
Return type (phpDocumentor\Guides\Nodes\RawNode) of method phpDocumentor\Guides\Markdown\Parsers\HtmlParser::parse() should be compatible with return type (phpDocumentor\Guides\Nodes\ParagraphNode) of method phpDocumentor\Guides\Markdown\ParserInterface<phpDocumentor\Guides\Nodes\ParagraphNode>::parse()
Static analysis / Static Code Analysis (8.2): packages/guides/src/Compiler/NodeTransformers/RawNodeEscapeTransformer.php#L27
Class phpDocumentor\Guides\Compiler\NodeTransformers\RawNodeEscapeTransformer implements generic interface phpDocumentor\Guides\Compiler\NodeTransformer but does not specify its types: T
Static analysis / Static Code Analysis (8.2): packages/guides/src/Compiler/NodeTransformers/RawNodeEscapeTransformer.php#L49
Parameter #1 $value of class phpDocumentor\Guides\Nodes\Inline\PlainTextInlineNode constructor expects string, mixed given.
Static analysis / Static Code Analysis (8.2): packages/guides/src/Compiler/NodeTransformers/RawNodeEscapeTransformer.php#L52
Call to an undefined method phpDocumentor\Guides\Nodes\Node::getOption().
Static analysis / Static Code Analysis (8.2): packages/guides/src/Compiler/NodeTransformers/RawNodeEscapeTransformer.php#L53
Parameter #1 $input of method Symfony\Component\HtmlSanitizer\HtmlSanitizer::sanitize() expects string, mixed given.
Static analysis / Static Code Analysis (8.2): packages/guides/src/DependencyInjection/GuidesExtension.php#L380
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
Check architecture
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/setup-php@2.25.1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/