Skip to content

Commit 30b5c0b

Browse files
committed
minor #12542 Change the default mapping type to XML (sdudziak)
This PR was squashed before being merged into the 4.3 branch (closes #12542). Discussion ---------- Change the default mapping type to XML YAML mapping are marked as deprecated for doctrine v2.6+ and will be removed in doctrine v3+ . https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/yaml-mapping.html#yaml-mapping <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap 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 `master` for features of unreleased versions). --> Commits ------- ca4a8a2 Change the default mapping type to XML
2 parents 261f426 + ca4a8a2 commit 30b5c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine/reverse_engineering.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ files: ``BlogPost.php`` and ``BlogComment.php``.
6464

6565
.. tip::
6666

67-
It's also possible to generate the metadata files into XML or YAML:
67+
It's also possible to generate the metadata files into XML or eventually into YAML:
6868

6969
.. code-block:: terminal
7070
@@ -82,7 +82,7 @@ files: ``BlogPost.php`` and ``BlogComment.php``.
8282
mappings:
8383
App:
8484
is_bundle: false
85-
type: yml # Set to xml in case of XML mapping
85+
type: xml # "yml" is marked as deprecated for doctrine v2.6+ and will be removed in v3
8686
dir: '%kernel.project_dir%/config/doctrine'
8787
prefix: 'App\Entity'
8888
alias: App

0 commit comments

Comments
 (0)