Skip to content

Drop old versions of PHP and Symfony #8186

Drop old versions of PHP and Symfony

Drop old versions of PHP and Symfony #8186

Triggered via pull request December 7, 2024 16:11
Status Failure
Total duration 59s
Artifacts

qa.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
MismatchingDocblockPropertyType: src/Util/AdminObjectAclData.php#L48
src/Util/AdminObjectAclData.php:48:15: MismatchingDocblockPropertyType: Parameter Sonata\AdminBundle\Util\AdminObjectAclData::$aclRoles has wrong type 'Traversable<mixed, string>|null', should be 'Traversable' (see https://psalm.dev/264)
MismatchingDocblockParamType: src/Util/AdminObjectAclData.php#L48
src/Util/AdminObjectAclData.php:48:15: MismatchingDocblockParamType: Parameter $aclRoles has wrong type 'Traversable<mixed, string>|null', should be 'Traversable' (see https://psalm.dev/141)
InvalidNullableReturnType: src/Util/AdminObjectAclData.php#L88
src/Util/AdminObjectAclData.php:88:16: InvalidNullableReturnType: The declared return type 'Traversable<mixed, string>' for Sonata\AdminBundle\Util\AdminObjectAclData::getAclRoles is not nullable, but 'Traversable<mixed, string>|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Util/AdminObjectAclData.php#L92
src/Util/AdminObjectAclData.php:92:16: NullableReturnStatement: The declared return type 'Traversable<mixed, string>' for Sonata\AdminBundle\Util\AdminObjectAclData::getAclRoles is not nullable, but the function returns 'Traversable<mixed, string>|null' (see https://psalm.dev/139)
Psalm
Process completed with exit code 2.
PHPStan: src/Util/AdminObjectAclData.php#L52
Method Sonata\AdminBundle\Util\AdminObjectAclData::__construct() has parameter $aclRoles with no value type specified in iterable type Traversable.
PHPStan: src/Util/AdminObjectAclData.php#L52
PHPDoc tag @param for parameter $aclRoles with type Traversable<mixed, string>|null is not subtype of native type Traversable.
PHPStan: src/Util/AdminObjectAclData.php#L57
PHPDoc type for property Sonata\AdminBundle\Util\AdminObjectAclData::$aclRoles with type Traversable<mixed, string>|null is not subtype of native type Traversable.
PHPStan
Process completed with exit code 1.
Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rector
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636