Skip to content

Version 3.14: AbstractAdapter.php contains deprecated methods #391

Description

@aparnasreekumar13

Bug Report

Q A
Version(s) 3.14

Summary

Version 3.14: AbstractAdapter.php contains the following deprecated methods
contains, detach which are deprecated since ph p8.5 which should ideally be replaced with offsetExists and offsetUnset

public function removePlugin(Plugin\PluginInterface $plugin)
    {
        $registry = $this->getPluginRegistry();
        if ($registry->offsetExists($plugin)) {
            $plugin->detach($this->getEventManager());
            $registry->offsetUnset($plugin);
        }
        return $this;
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions