Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 1c25415

Browse files
committed
Removes zend-filter from zend-mvc
As of [zend-filter #25](zendframework/zend-filter#25) and the resulting 2.7.0 release of that component, zend-filter now exposes the `FilterManager` itself and initializes the zend-modulemanager `ServiceListener` with information on how to configure it. This allows removal of the component from zend-mvc.
1 parent b3c2e7d commit 1c25415

File tree

5 files changed

+2
-28
lines changed

5 files changed

+2
-28
lines changed

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"container-interop/container-interop": "^1.1"
2525
},
2626
"require-dev": {
27-
"zendframework/zend-filter": "^2.6.1",
2827
"zendframework/zend-form": "^2.7",
2928
"zendframework/zend-hydrator": "^1.1 || ^2.1",
3029
"zendframework/zend-inputfilter": "^2.6",
@@ -39,7 +38,6 @@
3938
"suggest": {
4039
"zendframework/zend-config": "Zend\\Config component",
4140
"zendframework/zend-di": "Zend\\Di component",
42-
"zendframework/zend-filter": "Zend\\Filter component",
4341
"zendframework/zend-http": "Zend\\Http component",
4442
"zendframework/zend-inputfilter": "Zend\\Inputfilter component",
4543
"zendframework/zend-json": "(^2.6.1 || ^3.0) To auto-deserialize JSON body content in AbstractRestfulController extensions, when json_decode is unavailable",

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Service/FilterManagerFactory.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/Service/ModuleManagerFactory.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ public function __invoke(ContainerInterface $container, $name, array $options =
7373
'Zend\ModuleManager\Feature\ValidatorProviderInterface',
7474
'getValidatorConfig'
7575
);
76-
$serviceListener->addServiceManager(
77-
'FilterManager',
78-
'filters',
79-
'Zend\ModuleManager\Feature\FilterProviderInterface',
80-
'getFilterConfig'
81-
);
8276
$serviceListener->addServiceManager(
8377
'FormElementManager',
8478
'form_elements',

src/Service/ServiceListenerFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class ServiceListenerFactory implements FactoryInterface
7070
'ControllerManager' => 'Zend\Mvc\Service\ControllerManagerFactory',
7171
'ControllerPluginManager' => 'Zend\Mvc\Service\ControllerPluginManagerFactory',
7272
'DispatchListener' => 'Zend\Mvc\Service\DispatchListenerFactory',
73-
'FilterManager' => 'Zend\Mvc\Service\FilterManagerFactory',
7473
'FormAnnotationBuilder' => 'Zend\Mvc\Service\FormAnnotationBuilderFactory',
7574
'FormElementManager' => 'Zend\Mvc\Service\FormElementManagerFactory',
7675
'HttpExceptionStrategy' => HttpExceptionStrategyFactory::class,

0 commit comments

Comments
 (0)