Fix Doctrine deprecation warnings in lib
[MAILPOET-3146]
This commit is contained in:
committed by
Veljko V
parent
b4534c4c6e
commit
2f1ea71e73
@ -29,7 +29,7 @@ class ConfigurationFactory {
|
|||||||
|
|
||||||
public function createConfiguration() {
|
public function createConfiguration() {
|
||||||
$configuration = new Configuration();
|
$configuration = new Configuration();
|
||||||
$configuration->setNamingStrategy(new UnderscoreNamingStrategy());
|
$configuration->setNamingStrategy(new UnderscoreNamingStrategy(\CASE_LOWER, true));
|
||||||
|
|
||||||
$this->configureMetadata($configuration);
|
$this->configureMetadata($configuration);
|
||||||
$this->configureProxies($configuration);
|
$this->configureProxies($configuration);
|
||||||
|
@ -30,7 +30,7 @@ class SettingsRepository extends Repository {
|
|||||||
'value' => is_array($value) ? serialize($value) : $value,
|
'value' => is_array($value) ? serialize($value) : $value,
|
||||||
'now' => $now,
|
'now' => $now,
|
||||||
]);
|
]);
|
||||||
$this->entityManager->clear(SettingEntity::class);
|
$this->entityManager->getUnitOfWork()->clear(SettingEntity::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getEntityClassName() {
|
protected function getEntityClassName() {
|
||||||
|
Reference in New Issue
Block a user