Skip to content

First iteration on option attributes #3322

First iteration on option attributes

First iteration on option attributes #3322

Triggered via pull request June 24, 2025 18:44
Status Failure
Total duration 5m 32s
Artifacts

integrate.yaml

on: pull_request
Unit test  /  Supported Versions Matrix
7s
Unit test / Supported Versions Matrix
Code Coverage  /  Code Coverage
5m 28s
Code Coverage / Code Coverage
Coding Standards
39s
Coding Standards
Check architecture
13s
Check architecture
xml-lint
23s
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
4s
integration test / Supported Versions Matrix
Matrix: Functional test / Tests
Matrix: integration test / Tests
Fit to window
Zoom out
Zoom in

Annotations

67 errors
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Directives/BaseDirective.php#L200
Match arm comparison between phpDocumentor\Guides\RestructuredText\Directives\OptionType::Array and phpDocumentor\Guides\RestructuredText\Directives\OptionType::Array is always true.
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Directives/BaseDirective.php#L178
Parameter #1 $callback of function array_map expects (callable(phpDocumentor\Guides\RestructuredText\Directives\Attributes\Option|null): mixed)|null, Closure(phpDocumentor\Guides\RestructuredText\Directives\Attributes\Option): mixed given.
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Directives/BaseDirective.php#L173
Method phpDocumentor\Guides\RestructuredText\Directives\BaseDirective::readAllOptions() return type has no value type specified in iterable type array.
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Directives/BaseDirective.php#L45
Property phpDocumentor\Guides\RestructuredText\Directives\BaseDirective::$aliases type has no value type specified in iterable type array.
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Directives/Attributes/Directive.php#L12
Method phpDocumentor\Guides\RestructuredText\Directives\Attributes\Directive::__construct() has parameter $aliases with no value type specified in iterable type array.
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L23
Property phpDocumentor\Guides\RestructuredText\Compiler\Passes\DirectiveProcessPass::$logger is never read, only written.
Static analysis / Static Code Analysis (8.2): packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L16
Class phpDocumentor\Guides\RestructuredText\Compiler\Passes\DirectiveProcessPass implements generic interface phpDocumentor\Guides\Compiler\NodeTransformer but does not specify its types: T
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Directives/YoutubeDirective.php#L18
Use phpDocumentor\Guides\RestructuredText\Directives\Attributes is from the same namespace – that is prohibited.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Directives/YoutubeDirective.php#L17
Type phpDocumentor\Guides\Nodes\Node is not used in this file.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Directives/ImageDirective.php#L81
Multi-line function calls must have a trailing comma after the last parameter.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Directives/Attributes/Directive.php#L17
Function closing brace must go on the next line following the body; found 1 blank lines before brace
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Directives/Attributes/Directive.php#L12
Method \phpDocumentor\Guides\RestructuredText\Directives\Attributes\Directive::__construct() does not have @param annotation for its traversable parameter $aliases.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L62
Constant PHP_INT_MAX should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L52
Function strtolower() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L36
Function strtolower() should not be referenced via a fallback global name, but via a use statement.
Coding Standards: packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L34
Function strtolower() should not be referenced via a fallback global name, but via a use statement.
Functional test / Tests (8.4, locked)
Process completed with exit code 1.
Functional test / Tests (8.2, lowest)
The operation was canceled.
Functional test / Tests (8.2, lowest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.2, highest)
The operation was canceled.
Functional test / Tests (8.2, highest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.1, highest)
The operation was canceled.
Functional test / Tests (8.1, highest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.3, lowest)
The operation was canceled.
Functional test / Tests (8.3, lowest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.4, lowest)
The operation was canceled.
Functional test / Tests (8.4, lowest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.3, highest)
The operation was canceled.
Functional test / Tests (8.3, highest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.1, lowest)
The operation was canceled.
Functional test / Tests (8.1, lowest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.3, locked)
The operation was canceled.
Functional test / Tests (8.3, locked)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.1, locked)
The operation was canceled.
Functional test / Tests (8.1, locked)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.4, highest)
The operation was canceled.
Functional test / Tests (8.4, highest)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
Functional test / Tests (8.2, locked)
The operation was canceled.
Functional test / Tests (8.2, locked)
The strategy configuration was canceled because "functional-tests.tests._8_4_locked" failed
integration test / Tests (8.4, locked)
Process completed with exit code 1.
integration test / Tests (8.1, lowest)
The operation was canceled.
integration test / Tests (8.1, lowest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.3, highest)
The operation was canceled.
integration test / Tests (8.3, highest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.3, lowest)
The operation was canceled.
integration test / Tests (8.3, lowest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.2, lowest)
The operation was canceled.
integration test / Tests (8.2, lowest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.3, locked)
The operation was canceled.
integration test / Tests (8.3, locked)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.1, highest)
The operation was canceled.
integration test / Tests (8.1, highest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.2, highest)
The operation was canceled.
integration test / Tests (8.2, highest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.2, locked)
The operation was canceled.
integration test / Tests (8.2, locked)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.4, lowest)
The operation was canceled.
integration test / Tests (8.4, lowest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.4, highest)
The operation was canceled.
integration test / Tests (8.4, highest)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
integration test / Tests (8.1, locked)
The operation was canceled.
integration test / Tests (8.1, locked)
The strategy configuration was canceled because "integration-tests.tests._8_4_locked" failed
Code Coverage / Code Coverage
Process completed with exit code 1.