Skip to content

[Config] [Misc] Fixed remaining HEAD #17811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,6 @@ readable. These are the main advantages and disadvantages of each format:
}
}

<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alamirault could be an easy rule for doctor to spot merge conflicts 😃

=======
There isn't any practical difference between formats. In fact, Symfony
transforms and caches all of them into PHP before running the application, so
there's not even any performance difference between them.

YAML is used by default when installing packages because it's concise and very
readable. These are the main advantages and disadvantages of each format:

* **YAML**: simple, clean and readable, but not all IDEs support autocompletion
and validation for it. :ref:`Learn the YAML syntax <yaml-format>`;
* **XML**: autocompleted/validated by most IDEs and is parsed natively by PHP,
but sometimes it generates configuration considered too verbose. `Learn the XML syntax`_;
* **PHP**: very powerful and it allows you to create dynamic configuration with
arrays or a :ref:`ConfigBuilder <config-config-builder>`.

>>>>>>> 5.4
Importing Configuration Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
4 changes: 0 additions & 4 deletions contributing/code/pull_requests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,11 +505,7 @@ PR. Before re-submitting the PR, rebase with ``upstream/6.x`` or

.. code-block:: terminal

<<<<<<< HEAD
$ git rebase -f upstream/6.1
=======
$ git rebase -f upstream/6.x
>>>>>>> 5.4
$ git push --force origin BRANCH_NAME

.. note::
Expand Down