First iteration on option attributes #3322
integrate.yaml
on: pull_request
Unit test
/
Supported Versions Matrix
7s
Code Coverage
/
Code Coverage
5m 28s
Coding Standards
39s
Check architecture
13s
xml-lint
23s
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
67 errors
|
Static analysis / Static Code Analysis (8.2):
packages/guides-restructured-text/src/RestructuredText/Directives/BaseDirective.php#L201
Match arm is unreachable because previous comparison is always true.
|
|
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#L47
Call to an undefined method phpDocumentor\Guides\Nodes\Node::getDirective().
|
|
Static analysis / Static Code Analysis (8.2):
packages/guides-restructured-text/src/RestructuredText/Compiler/Passes/DirectiveProcessPass.php#L47
Call to an undefined method phpDocumentor\Guides\Nodes\Node::getDirective().
|
|
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/Directives/Attributes/Option.php#L21
Expected 1 blank line at end of file; 2 found
|
|
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.
|