Add BC typehint #7873
Annotations
9 errors and 1 warning
PHPStan:
src/Datagrid/DatagridMapper.php#L60
Method Sonata\AdminBundle\Datagrid\DatagridMapper::add() return type with generic class Sonata\AdminBundle\Datagrid\DatagridMapper does not specify its types: T
|
PHPStan:
src/Datagrid/ListMapper.php#L65
Method Sonata\AdminBundle\Datagrid\ListMapper::addIdentifier() return type with generic class Sonata\AdminBundle\Datagrid\ListMapper does not specify its types: T
|
PHPStan:
src/Datagrid/ListMapper.php#L79
Method Sonata\AdminBundle\Datagrid\ListMapper::add() return type with generic class Sonata\AdminBundle\Datagrid\ListMapper does not specify its types: T
|
PHPStan:
src/Security/Handler/AclSecurityHandler.php#L234
Parameter #1 $index of method Symfony\Component\Security\Acl\Model\MutableAclInterface::updateClassAce() expects int, true given.
|
PHPStan:
src/Security/Handler/AclSecurityHandler.php#L239
Parameter #1 $index of method Symfony\Component\Security\Acl\Model\MutableAclInterface::deleteClassAce() expects int, true given.
|
PHPStan:
src/Security/Handler/AclSecurityHandler.php#L259
Return type (bool) of method Sonata\AdminBundle\Security\Handler\AclSecurityHandler::findClassAceIndexByRole() should be covariant with return type (int|false) of method Sonata\AdminBundle\Security\Handler\AclSecurityHandlerInterface::findClassAceIndexByRole()
|
PHPStan:
src/Security/Handler/AclSecurityHandler.php#L264
Method Sonata\AdminBundle\Security\Handler\AclSecurityHandler::findClassAceIndexByRole() should return bool but returns int.
|
PHPStan:
src/Show/ShowMapper.php#L57
Method Sonata\AdminBundle\Show\ShowMapper::add() return type with generic class Sonata\AdminBundle\Show\ShowMapper does not specify its types: T
|
PHPStan
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading