Closed olivsinz closed 6 years ago
It needs an update. Would you mind opening a Pull Request?
As we want to support both 3.x and 4.x, you'll probably need to conditionally define the inherited class like this:
if (class_exists(AbstractAdminExtension::class)) {
abstract class InternalAbstractClass extends AbstractAdminExtension {}
} else {
abstract class InternalAbstractClass extends AdminExtension {}
}
class AclAdminExtension extends InternalAbstractClass
{
// ...
}
Ok I am working on it
Thanks!
You're welcome.
The "CoopTilleuls\Bundle\AclSonataAdminExtensionBundle\Admin\AclAdminExtension" class extends "Sonata\AdminBundle\Admin\AdminExtension" that is deprecated since version 3.1, to be removed in 4.0. Use Sonata\AdminBundle\AbstractAdminExtension instead