[FEAT] add support for raw html sanitizers #3087
integrate.yaml
on: pull_request
Unit test
/
Supported Versions Matrix
6s
Code Coverage
/
Code Coverage
4m 53s
Coding Standards
27s
Check architecture
15s
xml-lint
46s
Matrix: Lint root / Lint yaml & Composer
Matrix: Static analysis / Static Code Analysis
Matrix: Unit test / Tests
Matrix: Functional test / Tests
Matrix: integration test / Tests
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.
|
Static analysis / Static Code Analysis (8.2):
packages/guides/src/DependencyInjection/GuidesExtension.php#L381
Cannot access offset 'name' on mixed.
|
Static analysis / Static Code Analysis (8.2):
packages/guides/src/DependencyInjection/GuidesExtension.php#L384
Cannot access offset 'allow_safe_elements' on mixed.
|
Static analysis / Static Code Analysis (8.2):
packages/guides/src/DependencyInjection/GuidesExtension.php#L388
Cannot access offset 'allow_static…' on mixed.
|
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/
|