From f14583e3841cf9c50bd1f091cdbc97d591ad7102 Mon Sep 17 00:00:00 2001
From: Bogdan Jurj <jurj@rospace.com>
Date: Wed, 10 Aug 2022 10:34:28 +0300
Subject: [PATCH] updated packages

---
 composer.json                       | 54 ++++++++++++++---------------
 config/autoload/doctrine.global.php |  2 +-
 config/config.php                   |  2 +-
 3 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/composer.json b/composer.json
index b64e85fa..a4fea7d6 100644
--- a/composer.json
+++ b/composer.json
@@ -43,37 +43,37 @@
         }
     },
     "require": {
-        "php": "^7.4",
-        "dotkernel/dot-annotated-services": "^3.1",
-        "dotkernel/dot-authorization": "^3.1",
-        "dotkernel/dot-controller": "^3.1.1",
-        "dotkernel/dot-errorhandler": "^3.1.1",
-        "dotkernel/dot-flashmessenger": "^3.1.1",
-        "dotkernel/dot-form": "^4.0",
-        "dotkernel/dot-mail": "^3.2.1",
-        "dotkernel/dot-navigation": "^3.1",
-        "dotkernel/dot-rbac-guard": "^3.1",
-        "dotkernel/dot-response-header": "^3.0.1",
-        "dotkernel/dot-session": "^4.2",
-        "dotkernel/dot-twigrenderer": "^3.1.2",
-        "laminas/laminas-component-installer": "^2.6",
-        "laminas/laminas-config-aggregator": "^1.7",
-        "laminas/laminas-i18n": "^2.13",
-        "mezzio/mezzio": "^3.10",
-        "mezzio/mezzio-authorization-rbac": "^1.3",
-        "mezzio/mezzio-cors": "^1.3",
-        "mezzio/mezzio-fastroute": "^3.5",
+        "php": "^7.4 || ~8.0.0 || ~8.1.0",
+        "dotkernel/dot-annotated-services": "^3.2.1",
+        "dotkernel/dot-authorization": "^3.2.0",
+        "dotkernel/dot-controller": "^3.2.1",
+        "dotkernel/dot-errorhandler": "^3.2.0",
+        "dotkernel/dot-flashmessenger": "^3.2.0",
+        "dotkernel/dot-form": "^4.0.1",
+        "dotkernel/dot-mail": "^3.3.0",
+        "dotkernel/dot-navigation": "^3.2.0",
+        "dotkernel/dot-rbac-guard": "^3.2.1",
+        "dotkernel/dot-response-header": "^3.1.0",
+        "dotkernel/dot-session": "^4.3.0",
+        "dotkernel/dot-twigrenderer": "^3.2.1",
+        "laminas/laminas-component-installer": "^2.8.0",
+        "laminas/laminas-config-aggregator": "^1.8.0",
+        "laminas/laminas-i18n": "^2.17.0",
+        "mezzio/mezzio": "^3.11.0",
+        "mezzio/mezzio-authorization-rbac": "^1.3.0",
+        "mezzio/mezzio-cors": "^1.3.0",
+        "mezzio/mezzio-fastroute": "^3.5.0",
         "ramsey/uuid-doctrine": "^1.8.1",
-        "roave/psr-container-doctrine": "^2.2",
-        "robmorgan/phinx": "^0.12"
+        "roave/psr-container-doctrine": "^3.5.0",
+        "robmorgan/phinx": "^0.12.12"
     },
     "require-dev": {
-        "laminas/laminas-development-mode": "^3.4",
-        "mezzio/mezzio-tooling": "^1.4",
-        "phpunit/phpunit": "^7.5",
+        "laminas/laminas-development-mode": "^3.8.0",
+        "mezzio/mezzio-tooling": "^2.5.0",
+        "phpunit/phpunit": "^9.5.21",
         "roave/security-advisories": "dev-master",
-        "squizlabs/php_codesniffer": "^3.6",
-        "filp/whoops": "^2.14"
+        "squizlabs/php_codesniffer": "^3.7.1",
+        "filp/whoops": "^2.14.5"
     },
     "autoload": {
         "psr-4": {
diff --git a/config/autoload/doctrine.global.php b/config/autoload/doctrine.global.php
index 025ba8bc..eebd9b37 100644
--- a/config/autoload/doctrine.global.php
+++ b/config/autoload/doctrine.global.php
@@ -5,7 +5,7 @@
 use Ramsey\Uuid\Doctrine\UuidType;
 use Frontend\App\Resolver\EntityListenerResolver;
 use Roave\PsrContainerDoctrine\EntityManagerFactory;
-use Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain;
+use Doctrine\Persistence\Mapping\Driver\MappingDriverChain;
 use Doctrine\ORM\EntityManager;
 use Doctrine\ORM\EntityManagerInterface;
 
diff --git a/config/config.php b/config/config.php
index 90f4bf94..a63cfc9e 100644
--- a/config/config.php
+++ b/config/config.php
@@ -60,6 +60,6 @@ class_exists(\Mezzio\Swoole\ConfigProvider::class)
 
     // Load development config if it exists
     new PhpFileProvider(realpath(__DIR__) . '/development.config.php'),
-], $cacheConfig['config_cache_path'], [\Laminas\ZendFrameworkBridge\ConfigPostProcessor::class]);
+], $cacheConfig['config_cache_path']);
 
 return $aggregator->getMergedConfig();
