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)
[Security] Add SimpleForm authentication
[Security] Add simple_token auth method
[Security] Renamed simple_token to simple_http, added support for failure and success handler to both simple firewalls
fixed wrong Logger interface
moved the simple HTTP authenticator to a pre-auth one
[Security] allowed simple pre-auth to be optional if another auth mechanism already authenticated the user
marked some classes as being experimental in 2.3
[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.