Skip to content

[PHPDoc] Improved ContentService doc for API reference #1954

[PHPDoc] Improved ContentService doc for API reference

[PHPDoc] Improved ContentService doc for API reference #1954

Triggered via pull request June 24, 2024 10:39
Status Failure
Total duration 11m 5s
Artifacts

ci.yaml

on: pull_request
Matrix: Unit tests & SQLite integration tests
Matrix: Run code style check
Matrix: Solr integration tests
Matrix: MySQL integration tests
Matrix: PostgreSQL integration tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 35 warnings
Unit tests & SQLite integration tests (8.0): src/lib/IO/IOService.php#L120
Parameter #2 $length of function fread expects int<1, max>, int<0, max> given.
Unit tests & SQLite integration tests (8.0): tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php#L1
Ignored error pattern #^Anonymous function should return string but returns string\|false\.$# in path /home/runner/work/core/core/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.0): tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php#L108
Anonymous function should return non-empty-string but returns non-empty-string|false.
Unit tests & SQLite integration tests (8.0)
Process completed with exit code 1.
Unit tests & SQLite integration tests (8.1): src/lib/IO/IOService.php#L120
Parameter #2 $length of function fread expects int<1, max>, int<0, max> given.
Unit tests & SQLite integration tests (8.1): tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php#L1
Ignored error pattern #^Anonymous function should return string but returns string\|false\.$# in path /home/runner/work/core/core/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.1): tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php#L108
Anonymous function should return non-empty-string but returns non-empty-string|false.
Unit tests & SQLite integration tests (8.1)
Process completed with exit code 1.
Unit tests & SQLite integration tests (7.4): src/lib/IO/IOService.php#L120
Parameter #2 $length of function fread expects int<1, max>, int<0, max> given.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L1
Ignored error pattern #^Parameter \#1 \$array_arg of function usort expects TArray of array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Relation\> given\.$# in path /home/runner/work/core/core/tests/integration/Core/Repository/ContentServiceTest.php was not matched in reported errors.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L1
Ignored error pattern #^Parameter \#1 \$input of function array_keys expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\ContentInfo\> given\.$# in path /home/runner/work/core/core/tests/integration/Core/Repository/ContentServiceTest.php was not matched in reported errors.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L644
Parameter #1 $input of function array_keys expects array, iterable<int, Ibexa\Contracts\Core\Repository\Values\Content\ContentInfo> given.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L3548
Parameter #1 $array_arg of function usort expects TArray of array, iterable<int, Ibexa\Contracts\Core\Repository\Values\Content\Relation> given.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L3865
Parameter #1 $array_arg of function usort expects TArray of array, iterable<int, Ibexa\Contracts\Core\Repository\Values\Content\Relation> given.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L5882
Parameter #1 $var of function count expects array|Countable, iterable<int, Ibexa\Contracts\Core\Repository\Values\Content\VersionInfo> given.
Unit tests & SQLite integration tests (7.4): tests/integration/Core/Repository/ContentServiceTest.php#L5900
Parameter #1 $var of function count expects array|Countable, iterable<int, Ibexa\Contracts\Core\Repository\Values\Content\VersionInfo> given.
Unit tests & SQLite integration tests (7.4): tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php#L1
Ignored error pattern #^Anonymous function should return string but returns string\|false\.$# in path /home/runner/work/core/core/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php was not matched in reported errors.
Unit tests & SQLite integration tests (7.4): tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php#L108
Anonymous function should return non-empty-string but returns non-empty-string|false.
Unit tests & SQLite integration tests (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests & SQLite integration tests (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit tests & SQLite integration tests (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (8.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests & SQLite integration tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit tests & SQLite integration tests (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests & SQLite integration tests (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit tests & SQLite integration tests (7.4)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (7.4)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Unit tests & SQLite integration tests (7.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run code style check (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run code style check (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run code style check (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run code style check (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Run code style check (8.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Solr integration tests (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Solr integration tests (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (7.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Solr integration tests (7.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Solr integration tests (7.4)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (7.4)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (7.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (8.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Solr integration tests (8.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Solr integration tests (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Solr integration tests (8.0)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/