[Validator] Minor fix in XmlLoader
bug #10119 [Validator] Minor fix in XmlFileLoader (florianv)

This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Minor fix in XmlFileLoader

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

An instance of `\SimpleXMLElement` is passed to the `newConstraint` method instead of a string which can lead to weird type juggling issues.

Commits
-------

16b726c [Validator] Minor fix in XmlLoader
[Validator][Translation]update zh_CN translations

* add new trans-units
* change some translations
* change punctuations, whitespaces
minor #10121 [Validator] update zh_CN translations (foxwoods)

This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] update zh_CN translations

| Q             | A
| ------------- | ---
| License       | MIT

* add new trans-units
* change some translations
* change punctuations, whitespaces

Commits
-------

064346a [Validator][Translation]update zh_CN translations
[Security] Add zh_CN translations
[Form] Make FormInterface::add docblock more explicit

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 
| License       | MIT
| Doc PR        | 

When replacing a child form from within a form event, it's not obvious that you have to use the 'add' method. Though it's minor, this will save somebody a google search.
minor #10124 [Security] Add zh_CN translations (foxwoods)

This PR was merged into the 2.3 branch.

Discussion
----------

[Security] Add zh_CN translations

| Q             | A
| ------------- | ---
| License       | MIT

Commits
-------

27630eb [Security] Add zh_CN translations
added lines to exceptions for the trans and transchoice tags
[Twig] removed obsolete conditions on Twig versions
minor #10129 [Form] Make FormInterface::add docblock more explicit (billhance)

This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Make FormInterface::add docblock more explicit

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

When replacing a child form from within a form event, it's not obvious that you have to use the 'add' method. Though it's minor, this will save somebody a google search.

Commits
-------

23216aa [Form] Make FormInterface::add docblock more explicit
minor #10132 Remove obsolete conditions (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

Remove obsolete conditions

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

In `composer.json`, Twig version is set to 1.12 as a minimum, so all conditions about earlier Twig versions can be safely removed.

Commits
-------

c3ff76a [Twig] removed obsolete conditions on Twig versions
bug #10131 added lines to exceptions for the trans and transchoice tags (fabpot)

This PR was merged into the 2.3 branch.

Discussion
----------

added lines to exceptions for the trans and transchoice tags

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10120
| License       | MIT
| Doc PR        | n/a

Commits
-------

ee0470d added lines to exceptions for the trans and transchoice tags
[DependencyInjection] Remove unneeded file
Create security.id.xlf
minor #10137 [Security] [Translations] added security.id.xlf  (ucay)

This PR was merged into the 2.3 branch.

Discussion
----------

[Security] [Translations] added security.id.xlf

added translation for Bahasa Indonesia

| Q             | A
| ------------- | ---
| License       | MIT

Commits
-------

7edb5de Create security.id.xlf
minor #10136 [DependencyInjection] Remove unneeded file (florianv)

This PR was merged into the 2.3 branch.

Discussion
----------

[DependencyInjection] Remove unneeded file

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

I think the file was moved here by mistake from the fixtures.

Commits
-------

caf1809 [DependencyInjection] Remove unneeded file
allow the TextAreaFormField to be used with valid/invalid HTML
bug #10140 allow the TextAreaFormField to be used with valid/invalid HTML (dawehner)

This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10140).

Discussion
----------

allow the TextAreaFormField to be used with valid/invalid HTML

The TextAreaFormField previously used saveXML to get a representation of the child nodes of an textarea.
This works pretty fine on simple text is causes issues in case you have broken HTML, as saveXML
will potentially also break encoding/change the structure.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT

Commits
-------

157a9de allow the TextAreaFormField to be used with valid/invalid HTML
fixed CS
Merge branch '2.3' into 2.4

* 2.3:
  fixed CS
  allow the TextAreaFormField to be used with valid/invalid HTML
  Create security.id.xlf
  [DependencyInjection] Remove unneeded file
  [Twig] removed obsolete conditions on Twig versions
  added lines to exceptions for the trans and transchoice tags
  [Form] Make FormInterface::add docblock more explicit
  [Security] Add zh_CN translations
  [Validator][Translation]update zh_CN translations
  [Validator] Minor fix in XmlLoader