Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6972611

Browse files
committed
minor #20052 Remove Doctrine mappings YML from documentation (Cosmin Sandu, cosminsandu)
This PR was merged into the 5.4 branch. Discussion ---------- Remove Doctrine mappings YML from documentation #20050 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- d09a5ba issues/20050 Remove Doctrine mappings YML from documentation try to fix CI a7d1540 Update reference/configuration/doctrine.rst 1a22c51 issues/20050 Remove Doctrine mappings YML from documentation #20050
2 parents c13b4f2 + d09a5ba commit 6972611

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.doctor-rst.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,6 @@ whitelist:
109109
- '.. versionadded:: 3.6' # MonologBundle
110110
- '.. versionadded:: 3.8' # MonologBundle
111111
- '.. versionadded:: 3.5' # Monolog
112+
- '.. versionadded:: 3.0' # Doctrine ORM
112113
- '.. _`a feature to test applications using Mercure`: https://github.com/symfony/panther#creating-isolated-browsers-to-test-apps-using-mercure-or-websocket'
113114
- '.. End to End Tests (E2E)'

reference/configuration/doctrine.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,14 @@ you can control. The following configuration options exist for a mapping:
269269
........
270270

271271
One of ``annotation`` (for PHP annotations; it's the default value),
272-
``attribute`` (for PHP attributes), ``xml``, ``yml``, ``php`` or
272+
``attribute`` (for PHP attributes), ``xml``, ``php`` or
273273
``staticphp``. This specifies which type of metadata type your mapping uses.
274274

275+
.. versionadded:: 3.0
276+
277+
The ``yml`` mapping configuration is deprecated and will be removed in doctrine/orm 3.0.
278+
279+
275280
See `Doctrine Metadata Drivers`_ for more information about this option.
276281

277282
``dir``

0 commit comments

Comments
 (0)