Skip to content

Commit

Permalink
Merge pull request #20 from boesing/qa/remove-zend-compatibility
Browse files Browse the repository at this point in the history
Remove zend compatibility
  • Loading branch information
boesing authored Jun 17, 2023
2 parents c4ceeb0 + f6faf9c commit 27078df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
19 changes: 0 additions & 19 deletions src/AdapterPluginManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Laminas\ServiceManager\AbstractPluginManager;
use Laminas\ServiceManager\Exception\InvalidServiceException;
use Laminas\ServiceManager\Factory\InvokableFactory;
use Zend\Serializer\Adapter as ZendAdapter;

use function gettype;
use function is_object;
Expand Down Expand Up @@ -47,24 +46,6 @@ class AdapterPluginManager extends AbstractPluginManager
'PythonPickle' => Adapter\PythonPickle::class,
'wddx' => Adapter\Wddx::class,
'Wddx' => Adapter\Wddx::class,

// Legacy Zend Framework aliases
ZendAdapter\IgBinary::class => Adapter\IgBinary::class,
ZendAdapter\Json::class => Adapter\Json::class,
ZendAdapter\MsgPack::class => Adapter\MsgPack::class,
ZendAdapter\PhpCode::class => Adapter\PhpCode::class,
ZendAdapter\PhpSerialize::class => Adapter\PhpSerialize::class,
ZendAdapter\PythonPickle::class => Adapter\PythonPickle::class,
ZendAdapter\Wddx::class => Adapter\Wddx::class,

// v2 normalized FQCNs
'zendserializeradapterigbinary' => Adapter\IgBinary::class,
'zendserializeradapterjson' => Adapter\Json::class,
'zendserializeradaptermsgpack' => Adapter\MsgPack::class,
'zendserializeradapterphpcode' => Adapter\PhpCode::class,
'zendserializeradapterphpserialize' => Adapter\PhpSerialize::class,
'zendserializeradapterpythonpickle' => Adapter\PythonPickle::class,
'zendserializeradapterwddx' => Adapter\Wddx::class,
];

/** @var array<string, string> */
Expand Down
2 changes: 0 additions & 2 deletions src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ public function __invoke()
public function getDependencyConfig()
{
return [
// Legacy Zend Framework aliases
'aliases' => [],
'factories' => [
'SerializerAdapterManager' => AdapterPluginManagerFactory::class,
],
Expand Down

0 comments on commit 27078df

Please sign in to comment.