Skip to content

[POC] IBX-8190: Add Symfony's Serializer support #756

[POC] IBX-8190: Add Symfony's Serializer support

[POC] IBX-8190: Add Symfony's Serializer support #756

Triggered via pull request August 22, 2024 15:35
Status Failure
Total duration 7m 25s
Artifacts

ci.yaml

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

Annotations

12 errors and 4 warnings
Unit & integration tests (8.3): src/contracts/Output/AdapterNormalizer.php#L71
Method Symfony\Component\Serializer\Normalizer\NormalizerInterface::supportsNormalization() invoked with 3 parameters, 1-2 required.
Unit & integration tests (8.3): src/contracts/Output/Visitor.php#L1
Ignored error pattern #^Property Ibexa\\Contracts\\Rest\\Output\\Visitor\:\:\$statusCode \(int\) does not accept null\.$# in path /home/runner/work/rest/rest/src/contracts/Output/Visitor.php was not matched in reported errors.
Unit & integration tests (8.3): src/contracts/Output/Visitor.php#L1
Ignored error pattern #^Property Ibexa\\Contracts\\Rest\\Output\\Visitor\:\:\$valueObjectVisitorDispatcher \(Ibexa\\Contracts\\Rest\\Output\\ValueObjectVisitorDispatcher\) does not accept default value of type array\.$# in path /home/runner/work/rest/rest/src/contracts/Output/Visitor.php was not matched in reported errors.
Unit & integration tests (8.3): src/contracts/Output/Visitor.php#L83
Cannot call method loadLocation() on Ibexa\Contracts\Core\Repository\LocationService|null.
Unit & integration tests (8.3): src/contracts/Output/Visitor.php#L84
Instantiated class Ibexa\Contracts\Rest\Output\RestLocation not found.
Unit & integration tests (8.3): src/contracts/Output/Visitor.php#L85
Parameter #1 $location of method Ibexa\Rest\Output\Normalizer\TestData::setLocation() expects Ibexa\Rest\Server\Values\RestLocation, Ibexa\Contracts\Rest\Output\RestLocation given.
Unit & integration tests (8.3): src/lib/Output/Generator/Json.php#L334
Parameter #1 $json of function json_decode expects string, string|false given.
Unit & integration tests (8.3): src/lib/Output/Normalizer/TestNormalizer.php#L20
Method Ibexa\Rest\Output\Normalizer\TestNormalizer::normalize() return type has no value type specified in iterable type array.
Unit & integration tests (8.3): src/lib/Output/Normalizer/TestNormalizer.php#L28
Cannot access offset 'Location' on array|ArrayObject<(int|string), mixed>|bool|float|int|string|null.
Unit & integration tests (8.3): tests/lib/Output/Generator/Json/FieldTypeHashGeneratorTest.php#L29
Class Ibexa\Rest\Output\Generator\Json constructor invoked with 1 parameter, 2-3 required.
Run code style check
Process completed with exit code 1.
REST functional tests / functional-tests-rest
Process completed with exit code 1.
Run code style check: src/lib/Output/Normalizer/TestData.php#L1
Found violation(s) of type: header_comment
Run code style check: src/contracts/Input/Parser/Query/Criterion/BaseCriterionProcessor.php#L1
Found violation(s) of type: blank_lines_before_namespace
REST functional tests / functional-tests-rest
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
REST functional tests / functional-tests-rest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/