Fixed the mysql driver class namespace.

feature/remove-db-abstract
Ruslan Baidan 2022-07-01 10:20:22 +02:00
parent ef9645fcc8
commit eb81b213e9
4 changed files with 1422 additions and 1272 deletions

View File

@ -43,8 +43,8 @@
"php": "^7.4",
"ext-json": "*",
"ext-pdo": "*",
"monarc/backoffice": "^2.9.7",
"monarc/core": "^2.9.15",
"monarc/backoffice": "dev-feature/remove-db-abstract",
"monarc/core": "dev-feature/remove-db-abstract",
"laminas/laminas-mvc": "^3.1",
"laminas/laminas-di": "^3.1",
"laminas/laminas-permissions-rbac": "^3.0",
@ -57,7 +57,10 @@
"roave/security-advisories": "dev-master"
},
"config": {
"bin-dir": "bin/"
"bin-dir": "bin/",
"allow-plugins": {
"laminas/laminas-dependency-plugin": true
}
},
"minimum-stability": "dev",
"prefer-stable": true

2679
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@
* file.
*/
use Doctrine\DBAL\Driver\PDOMySql\Driver;
use Doctrine\DBAL\Driver\PDO\MySQL\Driver;
use Monarc\Core\Service\DoctrineCacheServiceFactory;
use Monarc\Core\Service\DoctrineLoggerFactory;

View File

@ -20,7 +20,7 @@ return array(
'doctrine' => array(
'connection' => array(
'orm_default' => array(
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
'driverClass' => Doctrine\DBAL\Driver\PDO\MySQL\Driver::class,
'params' => array(
'host' => 'localhost',
'port' => 3306,
@ -34,7 +34,7 @@ return array(
),
),
'orm_cli' => array(
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
'driverClass' => Doctrine\DBAL\Driver\PDO\MySQL\Driver::class,
'params' => array(
'host' => 'localhost',
'port' => 3306,