Update Crawler.php

If HTML is not well-formed XML parsing goes wrong.
Fixed 2 namespaces
merged branch WouterJ/fix_namespaces (PR #7967)

This PR was merged into the 2.2 branch.

Discussion
----------

[TwigBundle] Fixed 2 namespaces

Something went wrong with the namespaces in the test directory in 2.2

Commits
-------

1788c6b Fixed 2 namespaces
Fixed fatal error in normalize/denormalizeObject.
merged branch linclark/7971-error-denormalizeObject (PR #7971)

This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #7971).

Discussion
----------

[Serializer] Fatal error in denormalizeObject for Normalizers that do not implement DenormalizerInterface

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

If there is a list of Normalizers, and only some of them implement DenormalizerInterface, then a call to deserialize() can result in a fatal error.

This is because denormalizeObject does not check that the Normalizer implements DenormalizerInterface before calling supportsDenormalization on it.

Commits
-------

cacca2f [Serializer] Fixed fatal error in normalize/denormalizeObject.
[Serializer] fixed CS (refs #7971)
[Console] Added dedicated testcase for HelperSet class
merged branch warmans/component_console_helper_helperset_tests_2.1 (PR #7969)

This PR was squashed before being merged into the 2.1 branch (closes #7969).

Discussion
----------

[Console] Added dedicated testcase for HelperSet class

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

Previously the HelperSet class was only tested by way of the Application testcase. This patch adds a dedicated testcase and increases test coverage of the class to 100%.

Commits
-------

37af771 [Console] Added dedicated testcase for HelperSet class
Fixed Loader import
Added a test case for Loader::import().
merged branch jakzal/loader-fix (PR #7987)

This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #7987).

Discussion
----------

[Config] FIxed Loader::import()

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? |no
| Tests pass?   | yes
| Fixed tickets | fixes #7965, replaces #7983
| License       | MIT
| Doc PR        | -

Commits
-------

984e56a [Config] Added a test case for Loader::import().
2f69860 [Config] Fixed Loader import
[Form] Fixed a method name.

1858b96b7dc473fcab09533b17ace9a24b8d3d86 introduced a mocked context and therefore getExecutionContext() is now called getMockExectionContext().
Fixed parsing of leading blank lines in folded scalars. Closes #7989.
merged branch jakzal/form-validator-tests-fix (PR #7996)

This PR was merged into the 2.2 branch.

Discussion
----------

Fixed failing 2.2 tests

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

1858b96b7dc473fcab09533b17ace9a24b8d3d86 introduced a mocked context and therefore `getExecutionContext()` is was renamed to `getMockExectionContext()`.

Commits
-------

ef87ba7 [Form] Fixed a method name.
merged branch ezzatron/yaml-folded-leading-newlines (PR #7997)

This PR was merged into the 2.1 branch.

Discussion
----------

Fixed parsing of leading blank lines in folded scalars.

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

Fixed the issue raised in #7989. The cause was in the way the parser determined the indentation level of block scalars. When the indentation is not manually specified, the parser now determines the indentation from the first *non-empty* line as per section [8.1.1.1.](http://www.yaml.org/spec/1.2/spec.html#id2793979) of the spec.

Commits
-------

a5441b2 Fixed parsing of leading blank lines in folded scalars. Closes #7989.
merged branch spil-giacomo/patch-1 (PR #7963)

This PR was merged into the master branch.

Discussion
----------

Update Crawler.php

If HTML is not well-formed XML parsing goes wrong.
Could be useful create another method returning XML and XHTML in a `well-formed` standard?

Commits
-------

0a26641 Update Crawler.php
[DomCrawler] fixed tests for previous merge
Fixed XML syntax.
merged branch aforsblo/translation_syntax_fix (PR #8006)

This PR was merged into the 2.1 branch.

Discussion
----------

[Validator] Fixed XML syntax in translation.

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

Commits
-------

0a4837d Fixed XML syntax.
fixed CS