Skip to content

Commit

Permalink
Remove support for discontinued laminas/laminas-log package
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Nov 20, 2023
1 parent be94d3b commit addfe7d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"laminas/laminas-hydrator": "^4.15.0",
"laminas/laminas-i18n": "^2.24.1",
"laminas/laminas-inputfilter": "^2.28.0",
"laminas/laminas-log": "^2.16.1",
"laminas/laminas-mail": "^2.25.1",
"laminas/laminas-mvc": "^3.7.0",
"laminas/laminas-paginator": "^2.18.0",
Expand Down
1 change: 0 additions & 1 deletion src/ServiceManagerLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ final class ServiceManagerLoader
\Laminas\Hydrator\ConfigProvider::class,
\Laminas\I18n\ConfigProvider::class,
\Laminas\InputFilter\ConfigProvider::class,
\Laminas\Log\ConfigProvider::class,
\Laminas\Mail\ConfigProvider::class,
\Laminas\Paginator\ConfigProvider::class,
\Laminas\Router\ConfigProvider::class,
Expand Down
8 changes: 0 additions & 8 deletions src/UnmappedAliasServiceLocatorProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

namespace LaminasPhpStan;

use Laminas\Log\FilterPluginManager as LogFilterPluginManager;
use Laminas\Log\FormatterPluginManager as LogFormatterPluginManager;
use Laminas\Log\ProcessorPluginManager as LogProcessorPluginManager;
use Laminas\Log\WriterPluginManager as LogWriterPluginManager;
use Laminas\Mvc\Controller\ControllerManager;
use Laminas\ServiceManager\ServiceLocatorInterface;
use Laminas\View\HelperPluginManager;
Expand All @@ -21,10 +17,6 @@ final class UnmappedAliasServiceLocatorProxy implements ServiceLocatorInterface
private array $knownUnmappedAliasToClassServices = [
ControllerManager::class => 'ControllerManager',
HelperPluginManager::class => 'ViewHelperManager',
LogFilterPluginManager::class => 'LogFilterManager',
LogFormatterPluginManager::class => 'LogFormatterManager',
LogProcessorPluginManager::class => 'LogProcessorManager',
LogWriterPluginManager::class => 'LogWriterManager',
];

public function __construct(ServiceLocatorInterface $serviceLocator)
Expand Down
8 changes: 0 additions & 8 deletions tests/Type/Laminas/ServiceManagerLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
use Laminas\Hydrator\HydratorPluginManager;
use Laminas\I18n\Translator\LoaderPluginManager as I18nLoaderPluginManager;
use Laminas\InputFilter\InputFilterPluginManager;
use Laminas\Log\FilterPluginManager as LogFilterPluginManager;
use Laminas\Log\FormatterPluginManager as LogFormatterPluginManager;
use Laminas\Log\ProcessorPluginManager as LogProcessorPluginManager;
use Laminas\Log\WriterPluginManager as LogWriterPluginManager;
use Laminas\Mail\Protocol\SmtpPluginManager;
use Laminas\Mvc\Controller\ControllerManager;
use Laminas\Mvc\Controller\PluginManager as ControllerPluginManager;
Expand Down Expand Up @@ -71,10 +67,6 @@ public function testGetSubserviceDependingOnCallOnTypeGiven(): void
HydratorPluginManager::class,
I18nLoaderPluginManager::class,
InputFilterPluginManager::class,
LogFilterPluginManager::class,
LogFormatterPluginManager::class,
LogProcessorPluginManager::class,
LogWriterPluginManager::class,
// NavigationPluginManager::class,
PaginatorAdapterPluginManager::class,
RoutePluginManager::class,
Expand Down

0 comments on commit addfe7d

Please sign in to comment.