diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 62f56d0e9..a78a7e66a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -124,13 +124,6 @@ jobs: composer require --no-update symfony/var-dumper:^7@dev composer require --no-update --dev symfony/cache:^7@dev - - name: "Remove proxy-manager-lts" - if: "${{ matrix.proxy != 'proxy-manager' }}" - run: | - # proxy-manager-lts is not installed by default and must not be used - # unless explicitly requested - composer remove --no-update --dev friendsofphp/proxy-manager-lts - - name: "Install dependencies with Composer" uses: "ramsey/composer-install@v3" with: diff --git a/composer.json b/composer.json index 2ae0368ac..6e98dadf9 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,7 @@ "doctrine/event-manager": "^1.0 || ^2.0", "doctrine/instantiator": "^1.1 || ^2", "doctrine/persistence": "^3.2 || ^4", + "friendsofphp/proxy-manager-lts": "^1.0", "jean85/pretty-package-versions": "^1.3.0 || ^2.0.1", "mongodb/mongodb": "^1.17.0", "psr/cache": "^1.0 || ^2.0 || ^3.0", @@ -41,7 +42,6 @@ "doctrine/annotations": "^1.12 || ^2.0", "doctrine/coding-standard": "^12.0", "doctrine/orm": "^3.2", - "friendsofphp/proxy-manager-lts": "^1.0", "jmikola/geojson": "^1.0", "phpbench/phpbench": "^1.0.0", "phpstan/phpstan": "~1.10.67", diff --git a/lib/Doctrine/ODM/MongoDB/Configuration.php b/lib/Doctrine/ODM/MongoDB/Configuration.php index ca61fcbfc..04ae28d7a 100644 --- a/lib/Doctrine/ODM/MongoDB/Configuration.php +++ b/lib/Doctrine/ODM/MongoDB/Configuration.php @@ -133,7 +133,7 @@ class Configuration private bool $useTransactionalFlush = false; - private bool $useLazyGhostObject = true; + private bool $useLazyGhostObject = false; /** * Adds a namespace under a certain alias.