IBX-8190: Update REST new resource #622
code_samples.yaml
on: pull_request
Check code samples inclusion
9m 0s
Matrix: Validate code samples
Annotations
11 errors and 6 warnings
|
Validate code samples (8.3):
code_samples/back_office/settings/src/Setting/Group/MyGroup.php#L0
Ignored error pattern #^Method App\\Setting\\Group\\MyGroup\:\:__construct\(\) has parameter \$values with no value type specified in iterable type array\.$# (missingType.iterableValue) in path /home/runner/work/documentation-developer/documentation-developer/code_samples/back_office/settings/src/Setting/Group/MyGroup.php was not matched in reported errors.
|
|
Validate code samples (8.3):
code_samples/back_office/limitation/src/Security/Limitation/CustomLimitationType.php#L60
Parameter #3 $object (Ibexa\Contracts\Core\Repository\Values\ValueObject) of method App\Security\Limitation\CustomLimitationType::evaluate() is not contravariant with parameter #3 $object (object) of method Ibexa\Contracts\Core\Limitation\Type::evaluate().
|
|
Validate code samples (8.3):
code_samples/back_office/calendar/src/Calendar/Holidays/EventType.php#L35
Return type Ibexa\Calendar\EventAction\EventActionCollection of method App\Calendar\Holidays\EventType::getActions() is not covariant with return type Ibexa\Contracts\Calendar\EventAction\EventActionCollection of method Ibexa\Contracts\Calendar\EventType\EventTypeInterface::getActions().
|
|
Validate code samples (8.3):
code_samples/back_office/calendar/src/Calendar/Holidays/EventType.php#L35
Method App\Calendar\Holidays\EventType::getActions() has invalid return type Ibexa\Calendar\EventAction\EventActionCollection.
|
|
Validate code samples (8.3):
code_samples/back_office/calendar/src/Calendar/Holidays/EventType.php#L17
Instantiated class Ibexa\Calendar\EventAction\EventActionCollection not found.
|
|
Validate code samples (8.3):
code_samples/back_office/calendar/src/Calendar/Holidays/EventType.php#L13
Property App\Calendar\Holidays\EventType::$actions has unknown class Ibexa\Calendar\EventAction\EventActionCollection as its type.
|
|
Validate code samples (8.3):
code_samples/back_office/calendar/src/Calendar/Holidays/EventSourceFactory.php#L32
Method App\Calendar\Holidays\EventSourceFactory::createEventSource() should return Ibexa\Contracts\Calendar\EventSource\EventSourceInterface but returns Ibexa\Calendar\EventSource\InMemoryEventSource.
|
|
Validate code samples (8.3):
code_samples/back_office/calendar/src/Calendar/Holidays/EventSourceFactory.php#L32
Instantiated class Ibexa\Calendar\EventSource\InMemoryEventSource not found.
|
|
Validate code samples (8.3):
code_samples/api/public_php_api/src/Command/FilterLocationCommand.php#L0
Ignored error pattern #^Parameter \#1 \$messages of method Symfony\\Component\\Console\\Output\\OutputInterface\:\:writeln\(\) expects iterable\<string\>\|string, string\|null given\.$# (argument.type) in path /home/runner/work/documentation-developer/documentation-developer/code_samples/api/public_php_api/src/Command/FilterLocationCommand.php was not matched in reported errors.
|
|
Validate code samples (8.3):
code_samples/ai_actions/src/AI/REST/Output/ValueObjectVisitor/AudioText.php#L15
Method App\AI\REST\Output\ValueObjectVisitor\AudioText::visit() has parameter $data with no type specified.
|
|
Check code samples inclusion
Process completed with exit code 1.
|
|
[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L11:
docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L11
[Ibexa.OxfordComma] Use a comma before the last 'and' or 'or' in a list of four or more items.
|
|
[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L12:
docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L12
[Ibexa.OxfordComma] Use a comma before the last 'and' or 'or' in a list of four or more items.
|
|
[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L65:
docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L65
[Ibexa.VerySimply] Avoid using 'useful'.
|
|
[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L75:
docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L75
[Ibexa.EOLWhitespace] Remove whitespace characters from the end of the line.
|
|
[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L78:
docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L78
[Ibexa.EOLWhitespace] Remove whitespace characters from the end of the line.
|
|
[vale] docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L80:
docs/api/rest_api/extending_rest_api/creating_new_rest_resource.md#L80
[Ibexa.EOLWhitespace] Remove whitespace characters from the end of the line.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
code_samples_usage.diff.html
|
103 KB |
sha256:44bfa023ba4faeddf8bc66fa995ca35e39d1f2e70cdfa8a209dd738905278bfe
|
|