Enable security information mapping for RoleSecurityHandler #7952
Annotations
10 errors
src/Admin/AbstractAdmin.php#L1857
Offset 3 might not exist on array{0?: string, 1: string, 2?: string, 3?: string, 4?: string, 5?: string}.
|
src/Admin/AbstractAdmin.php#L1858
Offset 5 might not exist on array{0?: string, 1: string, 2?: string, 3?: string, 4?: string, 5?: string}.
|
src/Admin/AbstractAdmin.php#L1895
Offset 3 might not exist on array{0?: string, 1: string, 2?: string, 3?: string, 4?: string, 5?: string}.
|
src/Admin/AbstractAdmin.php#L1896
Offset 5 might not exist on array{0?: string, 1: string, 2?: string, 3?: string, 4?: string, 5?: string}.
|
tests/Security/Handler/RoleSecurityHandlerTest.php#L73
Method Sonata\AdminBundle\Tests\Security\Handler\RoleSecurityHandlerTest::testIsGrantedWithSecurityInformation() has parameter $informationMapping with no value type specified in iterable type array.
|
tests/Security/Handler/RoleSecurityHandlerTest.php#L73
Method Sonata\AdminBundle\Tests\Security\Handler\RoleSecurityHandlerTest::testIsGrantedWithSecurityInformation() has parameter $userRoles with no value type specified in iterable type array.
|
tests/Security/Handler/RoleSecurityHandlerTest.php#L108
Generator expects value type array{string, string}, array{array{}, array{'ROLE_TEST_EDIT'}, true} given.
|
tests/Security/Handler/RoleSecurityHandlerTest.php#L109
Generator expects value type array{string, string}, array{array{VIEW: array{'EDIT', 'SHOW'}}, array{'ROLE_TEST_VIEW'}, true} given.
|
tests/Security/Handler/RoleSecurityHandlerTest.php#L110
Generator expects value type array{string, string}, array{array{WRITE: array{'EDIT', 'SHOW'}, MANAGE: array{'EDIT', 'SHOW', 'DELETE'}}, array{'ROLE_TEST_MANAGE'}, true} given.
|
tests/Security/Handler/RoleSecurityHandlerTest.php#L111
Generator expects value type array{string, string}, array{array{ADMIN: array{'ALL'}}, array{'ROLE_TEST_ALL'}, true} given.
|
This job failed
Loading