Enable security information mapping for RoleSecurityHandler #7952
Annotations
2 errors
tests/Security/Handler/RoleSecurityHandlerTest.php#L104
tests/Security/Handler/RoleSecurityHandlerTest.php:104:24: InvalidReturnType: The declared return type 'iterable<mixed, list{string, string}>' for Sonata\AdminBundle\Tests\Security\Handler\RoleSecurityHandlerTest::provideIsGrantedWithSecurityInformationCases is incorrect, got 'Generator<'default mapping'|'with all mapping'|'with missing permission'|'with multiple mappings'|'with single mapping', list{array{ADMIN?: list{'ALL'}, MANAGE?: list{'EDIT', 'SHOW', 'DELETE'}, SHOW?: list{'VIEW', 'SHOW'}, VIEW?: list{'EDIT', 'SHOW'}, WRITE?: list{'EDIT', 'SHOW'}}, list{'ROLE_TEST_ALL'|'ROLE_TEST_EDIT'|'ROLE_TEST_MANAGE'|'ROLE_TEST_VIEW'}, bool}, mixed, void>' (see https://psalm.dev/011)
|
|
The logs for this run have expired and are no longer available.
Loading