Skip to content

Solve some issues with ObjectStorage.stub #535

Solve some issues with ObjectStorage.stub

Solve some issues with ObjectStorage.stub #535

Triggered via push January 16, 2025 22:01
Status Failure
Total duration 37s
Artifacts

tests.yml

on: push
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Tests (^13.4, 8.4, --prefer-lowest): stubs/ObjectStorage.stub#L11
Class TYPO3\CMS\Extbase\Persistence\ObjectStorage implements unknown interface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface.
Tests (^13.4, 8.4, --prefer-lowest): stubs/ObjectStorage.stub#L22
Parameter #1 $offset (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be contravariant with parameter $offset (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.4, --prefer-lowest): stubs/ObjectStorage.stub#L22
Parameter #2 $information (array{obj: TEntity of object, inf: mixed}) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $value (object) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.4, --prefer-lowest): stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : array{obj: TEntity of object, inf: mixed})) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetGet()
Tests (^13.4, 8.4, --prefer-lowest)
Process completed with exit code 1.
Tests (^13.4, 8.4): stubs/ObjectStorage.stub#L11
Class TYPO3\CMS\Extbase\Persistence\ObjectStorage implements unknown interface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface.
Tests (^13.4, 8.4): stubs/ObjectStorage.stub#L22
Parameter #1 $offset (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be contravariant with parameter $offset (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.4): stubs/ObjectStorage.stub#L22
Parameter #2 $information (array{obj: TEntity of object, inf: mixed}) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $value (object) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.4): stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : array{obj: TEntity of object, inf: mixed})) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetGet()
Tests (^13.4, 8.4)
Process completed with exit code 1.
Tests (^13.4, 8.3): stubs/ObjectStorage.stub#L11
Class TYPO3\CMS\Extbase\Persistence\ObjectStorage implements unknown interface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface.
Tests (^13.4, 8.3): stubs/ObjectStorage.stub#L22
Parameter #1 $offset (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be contravariant with parameter $offset (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.3): stubs/ObjectStorage.stub#L22
Parameter #2 $information (array{obj: TEntity of object, inf: mixed}) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $value (object) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.3): stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : array{obj: TEntity of object, inf: mixed})) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetGet()
Tests (^13.4, 8.3)
Process completed with exit code 1.
Tests (^13.4, 8.3, --prefer-lowest): stubs/ObjectStorage.stub#L11
Class TYPO3\CMS\Extbase\Persistence\ObjectStorage implements unknown interface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface.
Tests (^13.4, 8.3, --prefer-lowest): stubs/ObjectStorage.stub#L22
Parameter #1 $offset (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be contravariant with parameter $offset (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.3, --prefer-lowest): stubs/ObjectStorage.stub#L22
Parameter #2 $information (array{obj: TEntity of object, inf: mixed}) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $value (object) of method ArrayAccess<TKey of object,TEntity of object>::offsetSet()
Tests (^13.4, 8.3, --prefer-lowest): stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : array{obj: TEntity of object, inf: mixed})) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of object,TEntity of object>::offsetGet()
Tests (^13.4, 8.3, --prefer-lowest)
Process completed with exit code 1.
Tests (^13.4, 8.4, --prefer-lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (^13.4, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (^13.4, 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests (^13.4, 8.3, --prefer-lowest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636