Skip to content

IBX-7653: Add FilterParser and IsContainer criterion parser #341

IBX-7653: Add FilterParser and IsContainer criterion parser

IBX-7653: Add FilterParser and IsContainer criterion parser #341

Triggered via pull request February 21, 2024 13:45
Status Failure
Total duration 11m 21s
Artifacts

ci.yaml

on: pull_request
Run code style check
33s
Run code style check
REST functional tests  /  functional-tests-rest
11m 10s
REST functional tests / functional-tests-rest
Matrix: Unit & integration tests
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 6 warnings
Unit & integration tests (8.0): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L27
Method Ibexa\Rest\Server\Input\Parser\Criterion\IsContainer::parse() has invalid return type Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsContainer.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L27
Method Ibexa\Rest\Server\Input\Parser\Criterion\IsContainer::parse() has parameter $data with no value type specified in iterable type array.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L33
Instantiated class Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsContainer not found.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/FilterParser.php#L30
Method Ibexa\Rest\Server\Input\Parser\FilterParser::parse() has parameter $data with no value type specified in iterable type array.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/FilterParser.php#L34
Parameter #1 $criterion of method Ibexa\Contracts\Core\Repository\Values\Filter\Filter::andWithCriterion() expects Ibexa\Contracts\Core\Repository\Values\Filter\FilteringCriterion, Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion|null given.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/FilterParser.php#L56
Method Ibexa\Rest\Server\Input\Parser\FilterParser::processCriteriaArray() has parameter $criteriaArray with no value type specified in iterable type array.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/FilterParser.php#L94
Method Ibexa\Rest\Server\Input\Parser\FilterParser::getCriterionMediaType() has no return type specified.
Unit & integration tests (8.0): src/lib/Server/Input/Parser/FilterParser.php#L94
Method Ibexa\Rest\Server\Input\Parser\FilterParser::getCriterionMediaType() has parameter $criterionName with no type specified.
Unit & integration tests (8.0): tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php#L15
Method Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion\IsContainerTest::getCriteriaPayloads() return type has no value type specified in iterable type iterable.
Unit & integration tests (8.0)
Process completed with exit code 1.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L27
Method Ibexa\Rest\Server\Input\Parser\Criterion\IsContainer::parse() has invalid return type Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsContainer.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L27
Method Ibexa\Rest\Server\Input\Parser\Criterion\IsContainer::parse() has parameter $data with no value type specified in iterable type array.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L33
Instantiated class Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsContainer not found.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/FilterParser.php#L30
Method Ibexa\Rest\Server\Input\Parser\FilterParser::parse() has parameter $data with no value type specified in iterable type array.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/FilterParser.php#L34
Parameter #1 $criterion of method Ibexa\Contracts\Core\Repository\Values\Filter\Filter::andWithCriterion() expects Ibexa\Contracts\Core\Repository\Values\Filter\FilteringCriterion, Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion|null given.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/FilterParser.php#L56
Method Ibexa\Rest\Server\Input\Parser\FilterParser::processCriteriaArray() has parameter $criteriaArray with no value type specified in iterable type array.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/FilterParser.php#L94
Method Ibexa\Rest\Server\Input\Parser\FilterParser::getCriterionMediaType() has no return type specified.
Unit & integration tests (8.2): src/lib/Server/Input/Parser/FilterParser.php#L94
Method Ibexa\Rest\Server\Input\Parser\FilterParser::getCriterionMediaType() has parameter $criterionName with no type specified.
Unit & integration tests (8.2): tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php#L15
Method Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion\IsContainerTest::getCriteriaPayloads() return type has no value type specified in iterable type iterable.
Unit & integration tests (8.2)
Process completed with exit code 1.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L27
Method Ibexa\Rest\Server\Input\Parser\Criterion\IsContainer::parse() has invalid return type Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsContainer.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L27
Method Ibexa\Rest\Server\Input\Parser\Criterion\IsContainer::parse() has parameter $data with no value type specified in iterable type array.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/Criterion/IsContainer.php#L33
Instantiated class Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsContainer not found.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/FilterParser.php#L30
Method Ibexa\Rest\Server\Input\Parser\FilterParser::parse() has parameter $data with no value type specified in iterable type array.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/FilterParser.php#L34
Parameter #1 $criterion of method Ibexa\Contracts\Core\Repository\Values\Filter\Filter::andWithCriterion() expects Ibexa\Contracts\Core\Repository\Values\Filter\FilteringCriterion, Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion|null given.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/FilterParser.php#L56
Method Ibexa\Rest\Server\Input\Parser\FilterParser::processCriteriaArray() has parameter $criteriaArray with no value type specified in iterable type array.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/FilterParser.php#L94
Method Ibexa\Rest\Server\Input\Parser\FilterParser::getCriterionMediaType() has no return type specified.
Unit & integration tests (7.4): src/lib/Server/Input/Parser/FilterParser.php#L94
Method Ibexa\Rest\Server\Input\Parser\FilterParser::getCriterionMediaType() has parameter $criterionName with no type specified.
Unit & integration tests (7.4): tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php#L15
Method Ibexa\Tests\Bundle\Rest\Functional\SearchView\Criterion\IsContainerTest::getCriteriaPayloads() return type has no value type specified in iterable type iterable.
Unit & integration tests (7.4)
Process completed with exit code 1.
REST functional tests / functional-tests-rest
Process completed with exit code 1.
Unit & integration tests (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit & integration tests (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit & integration tests (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run code style check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
REST functional tests / functional-tests-rest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
REST functional tests / functional-tests-rest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/