IBX-8535: Dropped deprecated loadRelations usage #887
ci.yaml
on: pull_request
Run code style check
25s
REST functional tests
/
functional-tests-rest
32s
Matrix: Unit & integration tests
Annotations
12 errors and 3 warnings
Run code style check
Process completed with exit code 1.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/Content.php#L1
Ignored error pattern #^Parameter \#1 \$array of function array_slice expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Controller/Content.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/Content.php#L1
Ignored error pattern #^Parameter \#3 \$relations of class Ibexa\\Rest\\Server\\Values\\Version constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Controller/Content.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/Content.php#L1
Ignored error pattern #^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestContent constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>\|null, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>\|null given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Controller/Content.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/Content.php#L34
Cannot redeclare property Ibexa\Rest\Server\Controller\Content::$relationListHelper.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/Content.php#L34
Redefinition of parameter $relationListHelper.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/User.php#L1
Ignored error pattern #^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestUser constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Controller/User.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Controller/User.php#L1
Ignored error pattern #^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestUserGroup constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Controller/User.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Output/ValueObjectVisitor/Location.php#L1
Ignored error pattern #^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestContent constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>\|null, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Output/ValueObjectVisitor/Location.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php#L1
Ignored error pattern #^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestContent constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>\|null, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php was not matched in reported errors.
|
Unit & integration tests (8.3):
src/lib/Server/Output/ValueObjectVisitor/User.php#L1
Ignored error pattern #^Parameter \#5 \$relations of class Ibexa\\Rest\\Server\\Values\\RestUser constructor expects array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\>, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/rest/rest/src/lib/Server/Output/ValueObjectVisitor/User.php was not matched in reported errors.
|
REST functional tests / functional-tests-rest
Process completed with exit code 2.
|
Run code style check:
src/contracts/Output/Exceptions/AbstractExceptionVisitor.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/
|