Skip to content

Commit d1dbffe

Browse files
authored
Keep proxy-manager by default (#2720)
1 parent 336a70e commit d1dbffe

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.github/workflows/continuous-integration.yml

-7
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ jobs:
124124
composer require --no-update symfony/var-dumper:^7@dev
125125
composer require --no-update --dev symfony/cache:^7@dev
126126
127-
- name: "Remove proxy-manager-lts"
128-
if: "${{ matrix.proxy != 'proxy-manager' }}"
129-
run: |
130-
# proxy-manager-lts is not installed by default and must not be used
131-
# unless explicitly requested
132-
composer remove --no-update --dev friendsofphp/proxy-manager-lts
133-
134127
- name: "Install dependencies with Composer"
135128
uses: "ramsey/composer-install@v3"
136129
with:

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"doctrine/event-manager": "^1.0 || ^2.0",
2929
"doctrine/instantiator": "^1.1 || ^2",
3030
"doctrine/persistence": "^3.2 || ^4",
31+
"friendsofphp/proxy-manager-lts": "^1.0",
3132
"jean85/pretty-package-versions": "^1.3.0 || ^2.0.1",
3233
"mongodb/mongodb": "^1.17.0",
3334
"psr/cache": "^1.0 || ^2.0 || ^3.0",
@@ -41,7 +42,6 @@
4142
"doctrine/annotations": "^1.12 || ^2.0",
4243
"doctrine/coding-standard": "^12.0",
4344
"doctrine/orm": "^3.2",
44-
"friendsofphp/proxy-manager-lts": "^1.0",
4545
"jmikola/geojson": "^1.0",
4646
"phpbench/phpbench": "^1.0.0",
4747
"phpstan/phpstan": "~1.10.67",

lib/Doctrine/ODM/MongoDB/Configuration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Configuration
133133

134134
private bool $useTransactionalFlush = false;
135135

136-
private bool $useLazyGhostObject = true;
136+
private bool $useLazyGhostObject = false;
137137

138138
/**
139139
* Adds a namespace under a certain alias.

0 commit comments

Comments
 (0)