Skip to content

Fix/Update PHPStan after PHPDoc enhancement #2543

Fix/Update PHPStan after PHPDoc enhancement

Fix/Update PHPStan after PHPDoc enhancement #2543

Triggered via pull request February 3, 2025 16:25
Status Failure
Total duration 13m 42s
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

30 errors and 21 warnings
Unit tests & SQLite integration tests (8.0): src/contracts/Repository/Decorator/LocationServiceDecorator.php#L45
Method Ibexa\Contracts\Core\Repository\Decorator\LocationServiceDecorator::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.0): src/contracts/Repository/LocationService.php#L65
Method Ibexa\Contracts\Core\Repository\LocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.0): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L1
Ignored error pattern #^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler\:\:loadContentTypeList\(\) should return array\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Type\> but returns array\<int\|string, object\>\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.0): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L1
Ignored error pattern #^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler\:\:loadGroups\(\) should return array\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Type\\Group\> but returns array\<int\|string, object\>\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.0): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L120
Method Ibexa\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadGroups() should return array<Ibexa\Contracts\Core\Persistence\Content\Type\Group> but returns array<object>.
Unit tests & SQLite integration tests (8.0): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L202
Method Ibexa\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadContentTypeList() should return array<Ibexa\Contracts\Core\Persistence\Content\Type> but returns array<object>.
Unit tests & SQLite integration tests (8.0): src/lib/Persistence/Legacy/User/Mapper.php#L1
Ignored error pattern #^Cannot access offset mixed on non\-empty\-array\<int\|string, mixed\>\|Ibexa\\Contracts\\Core\\Persistence\\User\\RoleAssignment\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/User/Mapper.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.0): src/lib/Persistence/Legacy/User/Mapper.php#L174
Cannot access offset mixed on non-empty-array|Ibexa\Contracts\Core\Persistence\User\RoleAssignment.
Unit tests & SQLite integration tests (8.0): src/lib/Repository/LocationService.php#L203
Method Ibexa\Core\Repository\LocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.0): src/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationService.php#L55
Method Ibexa\Core\Repository\Mapper\ContentLocationMapper\DecoratedLocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (7.4): src/contracts/Repository/Decorator/LocationServiceDecorator.php#L45
Method Ibexa\Contracts\Core\Repository\Decorator\LocationServiceDecorator::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (7.4): src/contracts/Repository/LocationService.php#L65
Method Ibexa\Contracts\Core\Repository\LocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (7.4): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L1
Ignored error pattern #^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler\:\:loadContentTypeList\(\) should return array\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Type\> but returns array\<int\|string, object\>\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php was not matched in reported errors.
Unit tests & SQLite integration tests (7.4): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L1
Ignored error pattern #^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler\:\:loadGroups\(\) should return array\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Type\\Group\> but returns array\<int\|string, object\>\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php was not matched in reported errors.
Unit tests & SQLite integration tests (7.4): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L120
Method Ibexa\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadGroups() should return array<Ibexa\Contracts\Core\Persistence\Content\Type\Group> but returns array<object>.
Unit tests & SQLite integration tests (7.4): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L202
Method Ibexa\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadContentTypeList() should return array<Ibexa\Contracts\Core\Persistence\Content\Type> but returns array<object>.
Unit tests & SQLite integration tests (7.4): src/lib/Persistence/Legacy/User/Mapper.php#L1
Ignored error pattern #^Cannot access offset mixed on non\-empty\-array\<int\|string, mixed\>\|Ibexa\\Contracts\\Core\\Persistence\\User\\RoleAssignment\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/User/Mapper.php was not matched in reported errors.
Unit tests & SQLite integration tests (7.4): src/lib/Persistence/Legacy/User/Mapper.php#L174
Cannot access offset mixed on non-empty-array|Ibexa\Contracts\Core\Persistence\User\RoleAssignment.
Unit tests & SQLite integration tests (7.4): src/lib/Repository/LocationService.php#L203
Method Ibexa\Core\Repository\LocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (7.4): src/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationService.php#L55
Method Ibexa\Core\Repository\Mapper\ContentLocationMapper\DecoratedLocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.1): src/contracts/Repository/Decorator/LocationServiceDecorator.php#L45
Method Ibexa\Contracts\Core\Repository\Decorator\LocationServiceDecorator::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.1): src/contracts/Repository/LocationService.php#L65
Method Ibexa\Contracts\Core\Repository\LocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.1): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L1
Ignored error pattern #^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler\:\:loadContentTypeList\(\) should return array\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Type\> but returns array\<int\|string, object\>\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.1): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L1
Ignored error pattern #^Method Ibexa\\Core\\Persistence\\Legacy\\Content\\Type\\MemoryCachingHandler\:\:loadGroups\(\) should return array\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Type\\Group\> but returns array\<int\|string, object\>\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.1): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L120
Method Ibexa\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadGroups() should return array<Ibexa\Contracts\Core\Persistence\Content\Type\Group> but returns array<object>.
Unit tests & SQLite integration tests (8.1): src/lib/Persistence/Legacy/Content/Type/MemoryCachingHandler.php#L202
Method Ibexa\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadContentTypeList() should return array<Ibexa\Contracts\Core\Persistence\Content\Type> but returns array<object>.
Unit tests & SQLite integration tests (8.1): src/lib/Persistence/Legacy/User/Mapper.php#L1
Ignored error pattern #^Cannot access offset mixed on non\-empty\-array\<int\|string, mixed\>\|Ibexa\\Contracts\\Core\\Persistence\\User\\RoleAssignment\.$# in path /home/runner/work/core/core/src/lib/Persistence/Legacy/User/Mapper.php was not matched in reported errors.
Unit tests & SQLite integration tests (8.1): src/lib/Persistence/Legacy/User/Mapper.php#L174
Cannot access offset mixed on non-empty-array|Ibexa\Contracts\Core\Persistence\User\RoleAssignment.
Unit tests & SQLite integration tests (8.1): src/lib/Repository/LocationService.php#L203
Method Ibexa\Core\Repository\LocationService::loadLocationList() return type has no value type specified in iterable type iterable.
Unit tests & SQLite integration tests (8.1): src/lib/Repository/Mapper/ContentLocationMapper/DecoratedLocationService.php#L55
Method Ibexa\Core\Repository\Mapper\ContentLocationMapper\DecoratedLocationService::loadLocationList() return type has no value type specified in iterable type iterable.
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 (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/
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/
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.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/
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)
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/