* migrated to laminas

This commit is contained in:
Danyi Dávid
2020-05-01 13:46:59 +02:00
parent 3cafc2996e
commit ba9c2b154b
28 changed files with 3114 additions and 1866 deletions

View File

@@ -11,8 +11,8 @@
declare(strict_types=1);
use Zend\Expressive\Container;
use Zend\Expressive\Middleware\ErrorResponseGenerator;
use Mezzio\Container;
use Mezzio\Middleware\ErrorResponseGenerator;
return [
'dependencies' => [
@@ -20,8 +20,8 @@ return [
],
'factories' => [
ErrorResponseGenerator::class => Container\WhoopsErrorResponseGeneratorFactory::class,
'Zend\Expressive\Whoops' => Container\WhoopsFactory::class,
'Zend\Expressive\WhoopsPageHandler' => Container\WhoopsPageHandlerFactory::class,
'Mezzio\Whoops' => Container\WhoopsFactory::class,
'Mezzio\WhoopsPageHandler' => Container\WhoopsPageHandlerFactory::class,
],
],

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
use Zend\Stratigility\Middleware\ErrorHandler;
use Laminas\Stratigility\Middleware\ErrorHandler;
return [
'dependencies' => [

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
use Zend\ConfigAggregator\ConfigAggregator;
use Laminas\ConfigAggregator\ConfigAggregator;
return [
// Toggle the configuration cache. Set this to boolean false, or remove the
@@ -14,7 +14,7 @@ return [
// Enable debugging; typically used to provide debugging information within templates.
'debug' => false,
'zend-expressive' => [
'mezzio' => [
// Provide templates for the error handling middleware to use when
// generating responses.
'error_handler' => [