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

2679
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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