Refactor for PHPStan 2 Compatibility #533
Annotations
24 errors and 4 warnings
Tests (^13.4, 8.4):
stubs/ObjectStorage.stub#L22
Parameter #1 $object (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $offset (string|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetSet()
|
Tests (^13.4, 8.4):
stubs/ObjectStorage.stub#L28
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetExists() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetExists()
|
Tests (^13.4, 8.4):
stubs/ObjectStorage.stub#L33
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetUnset() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetUnset()
|
Tests (^13.4, 8.4):
stubs/ObjectStorage.stub#L39
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.4):
stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : mixed)) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.4)
Process completed with exit code 1.
|
Tests (^13.4, 8.3):
stubs/ObjectStorage.stub#L22
Parameter #1 $object (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $offset (string|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetSet()
|
Tests (^13.4, 8.3):
stubs/ObjectStorage.stub#L28
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetExists() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetExists()
|
Tests (^13.4, 8.3):
stubs/ObjectStorage.stub#L33
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetUnset() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetUnset()
|
Tests (^13.4, 8.3):
stubs/ObjectStorage.stub#L39
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.3):
stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : mixed)) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of string,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#L22
Parameter #1 $object (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $offset (string|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetSet()
|
Tests (^13.4, 8.3, --prefer-lowest):
stubs/ObjectStorage.stub#L28
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetExists() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetExists()
|
Tests (^13.4, 8.3, --prefer-lowest):
stubs/ObjectStorage.stub#L33
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetUnset() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetUnset()
|
Tests (^13.4, 8.3, --prefer-lowest):
stubs/ObjectStorage.stub#L39
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.3, --prefer-lowest):
stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : mixed)) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.3, --prefer-lowest)
Process completed with exit code 1.
|
Tests (^13.4, 8.4, --prefer-lowest):
stubs/ObjectStorage.stub#L22
Parameter #1 $object (TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetSet() should be compatible with parameter $offset (string|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetSet()
|
Tests (^13.4, 8.4, --prefer-lowest):
stubs/ObjectStorage.stub#L28
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetExists() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetExists()
|
Tests (^13.4, 8.4, --prefer-lowest):
stubs/ObjectStorage.stub#L33
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetUnset() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetUnset()
|
Tests (^13.4, 8.4, --prefer-lowest):
stubs/ObjectStorage.stub#L39
Parameter #1 $value (int|TEntity of object) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be compatible with parameter $offset (string) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.4, --prefer-lowest):
stubs/ObjectStorage.stub#L39
Return type (($value is int ? (TEntity of object)|null : mixed)) of method TYPO3\CMS\Extbase\Persistence\ObjectStorage::offsetGet() should be covariant with return type (object|null) of method ArrayAccess<TKey of string,TEntity of object>::offsetGet()
|
Tests (^13.4, 8.4, --prefer-lowest)
Process completed with exit code 1.
|
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
|
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
|