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
[Console] moved --help support to allow proper behavior with other passed options
[Console] moved the IO configuration to its own method

The IO configuration was also moved earlier in the process so that
options are taken into account as early as possible.

That's useful for instance in Symfony FrameworkBundle, where
commands are registered in the doRun() method. If an exception
occurs during registration, the -q, -v, ... options would not
have any effect.
[HttpKernel] Fixed ContainerAwareHttpKernelTest.
merged branch jakzal/httpkernel-tests-fix (PR #7984)

This PR was merged into the master branch.

Discussion
----------

[HttpKernel] Fixed ContainerAwareHttpKernelTest

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes, although not all of them yet (security tests fail on PHP 5.3.3)
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

d5e7bdf [HttpKernel] Fixed ContainerAwareHttpKernelTest.
merged branch fabpot/console-fix (PR #7982)

This PR was merged into the master branch.

Discussion
----------

Console fix

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | yes (possibly)
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | symfony/symfony-standard#256
| License       | MIT
| Doc PR        | n/a

Everything is explained in the commits.

Commits
-------

bd0c48c [Console] moved the IO configuration to its own method
fdb4b1f [Console] moved --help support to allow proper behavior with other passed options
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().
Added the replace constraint for ProxyManagerBridge
Fixed parsing of leading blank lines in folded scalars. Closes #7989.
merged branch stof/composer_replace (PR #7995)

This PR was merged into the master branch.

Discussion
----------

Added the replace constraint for ProxyManagerBridge

Commits
-------

912a383 Added the replace constraint for ProxyManagerBridge