Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"doctrine/orm": "^2.14 || ^3.0",
"doctrine/persistence": "^3.0 || ^4.0",
"psr/clock": "^1.0",
"symfony/config": "^6.4 || ^7.1",
"symfony/dependency-injection": "^6.4 || ^7.1",
"symfony/http-kernel": "^6.4 || ^7.1",
"symfony/security-core": "^6.4 || ^7.1",
"symfony/config": "^6.4 || ^7.3 || ^8.0",
"symfony/dependency-injection": "^6.4 || ^7.3 || ^8.0",
"symfony/http-kernel": "^6.4 || ^7.3 || ^8.0",
"symfony/security-core": "^6.4 || ^7.3 || ^8.0",
"twig/twig": "^3.0"
},
"require-dev": {
Expand All @@ -38,24 +38,22 @@
"psalm/plugin-phpunit": "^0.18 || ^0.19",
"psalm/plugin-symfony": "^5.0",
"rector/rector": "^1.1 || ^2.0",
"symfony/browser-kit": "^6.4 || ^7.1",
"symfony/cache": "^6.4 || ^7.1",
"symfony/filesystem": "^6.4 || ^7.1",
"symfony/framework-bundle": "^6.4 || ^7.1",
"symfony/http-foundation": "^6.4 || ^7.1",
"symfony/security-bundle": "^6.4 || ^7.1",
"symfony/twig-bundle": "^6.4 || ^7.1",
"symfony/var-dumper": "^6.4 || ^7.1",
"symfony/browser-kit": "^6.4 || ^7.3 || ^8.0",
"symfony/cache": "^6.4 || ^7.3 || ^8.0",
"symfony/filesystem": "^6.4 || ^7.3 || ^8.0",
"symfony/framework-bundle": "^6.4 || ^7.3 || ^8.0",
"symfony/http-foundation": "^6.4 || ^7.3 || ^8.0",
"symfony/security-bundle": "^6.4 || ^7.3 || ^8.0",
"symfony/twig-bundle": "^6.4 || ^7.3 || ^8.0",
"symfony/var-dumper": "^6.4 || ^7.3 || ^8.0",
"vimeo/psalm": "^5.7 || ^6.10"
},
"conflict": {
"doctrine/doctrine-bundle": "<2.7",
"gedmo/doctrine-extensions": "<3.7",
"symfony/framework-bundle": "<5.4",
"symfony/string": "5.4.0-BETA1 || 5.4.0-RC1"
},
"minimum-stability": "dev",
"prefer-stable": true,
"prefer-stable": false,
"autoload": {
"psr-4": {
"SimpleThings\\EntityAudit\\": "src"
Expand Down
3 changes: 3 additions & 0 deletions tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ protected function getEntityManager(): EntityManager
}

$config = ORMSetup::createAttributeMetadataConfiguration($mappingPaths, true);
if (PHP_VERSION_ID >= 80400) {
$config->enableNativeLazyObjects(true);
}
$config->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
$connection = $this->_getConnection($config);

Expand Down
Loading