Skip to content

Commit eae6577

Browse files
authored
Merge pull request #12219 from greg0ire/rework-upgrade-md
Move introduction outside of paragraph about 3.x
2 parents 40aa449 + e3106d4 commit eae6577

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

UPGRADE.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Note about upgrading: Doctrine uses static and runtime mechanisms to raise
2+
awareness about deprecated code.
3+
4+
- Use of `@deprecated` docblock that is detected by IDEs (like PHPStorm) or
5+
Static Analysis tools (like Psalm, phpstan)
6+
- Use of our low-overhead runtime deprecation API, details:
7+
https://github.com/doctrine/deprecations/
8+
19
# Upgrade to 3.x General Notes
210

311
We recommend you upgrade to DBAL 3 first before upgrading to ORM 3. See
@@ -19,14 +27,6 @@ At this point, we recommend upgrading to PHP 8.4 first and then directly from
1927
ORM 2.19 to 3.5 and up so that you can skip the lazy ghost proxy generation
2028
and directly start using native lazy objects.
2129

22-
Note about upgrading: Doctrine uses static and runtime mechanisms to raise
23-
awareness about deprecated code.
24-
25-
- Use of `@deprecated` docblock that is detected by IDEs (like PHPStorm) or
26-
Static Analysis tools (like Psalm, phpstan)
27-
- Use of our low-overhead runtime deprecation API, details:
28-
https://github.com/doctrine/deprecations/
29-
3030
# Upgrade to 3.5
3131

3232
See the General notes to upgrading to 3.x versions above.

0 commit comments

Comments
 (0)