Skip to content

Commit ca4a8a2

Browse files
sdudziakxabbuh
authored andcommitted
Change the default mapping type to XML
1 parent 074453c commit ca4a8a2

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)