[Debug] Fixed ClassNotFoundFatalErrorHandler which could cause a fatal error.

It might happen that require_once will include a file second time (for
example with links or case-changed paths). Therefore we need to check
if a class exists before requiring the file.
bug #9525 Cache Warmup Breaks Namespaced Kernel (rdohms)

This PR was merged into the master branch.

Discussion
----------

Cache Warmup Breaks Namespaced Kernel

| Q             | A
| ------------- | ---
| Bug fix?      | [yes]
| New feature?  | [no]
| BC breaks?    | [no]
| Deprecations? | [no]
| Tests pass?   | have not tried yet
| License       | MIT
| Fixed tickets | further fixes #1431

My kernel has been moved and namespaced to `Cfs\Bundle\MultiSiteBundle\Kernel\CfsKernel`. This worked fine until a change was made to how the kernel temp stuff is handled in the warmup phase.

When the app generates its own cache (i.e you run cache without warmup and access the site) everything is generated ok and the .meta files generate the proper reference to the FQN of the Kernel.

However if the warmup is used, it uses `Cfs\Bundle\MultiSiteBundle\Kernel\CfsKerne_` as the temporary Kernel, and when it does "fix references to the Kernel in .meta files" it generates 2 errors.

1. It does not use a string safe tempKernel name, so it never finds the reference to the kernel
2. If you fix that, then it replaces the FQN of the tempKernel with `CfsKernel`, the non-namespaced name of the proper Kernel (it also leaves the character count wrong in the serialization `C:43:<class>` where 43 is the char count for the FQN above)

The two changes above fix this, by escaping the string and replacing it with a FQN Kernel Class name.

What are your thoughts on this? If this sounds reasonable i'll do further enhancements and check tests.

Commits
-------

9e7788e Cache Warmup Breaks Namespaced Kernel
bug #9565 [Debug] Fixed ClassNotFoundFatalErrorHandler which could cause a fatal error (jakzal)

This PR was merged into the master branch.

Discussion
----------

[Debug] Fixed ClassNotFoundFatalErrorHandler which could cause a fatal error

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

It might happen that `require_once` will include a file second time (for example with links or case-changed paths). Therefore we need to check if a class exists before requiring the file.

I also removed an unused argument from two methods (`$loader`).

Commits
-------

0baae4c [Debug] Fixed ClassNotFoundFatalErrorHandler which could cause a fatal error.
Fixes `attr` method returning empty string for missing attributes
feature #9578 [DomCrawler] Fixes `attr` method returning empty string for missing attributes (aik099)

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

Discussion
----------

[DomCrawler] Fixes `attr` method returning empty string for missing attributes

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

Bug discovered on Behat/MinkBrowserKitDriver#32.

Commits
-------

51d23fa [DomCrawler] Fixes `attr` method returning empty string for missing attributes
[DomCrawler] fixed a PHPDoc
[SecurityBundle] Added csrf_token_generator and csrf_token_id as new
names for csrf_provider and intention options
feature #9587 [SecurityBundle] Added csrf_token_generator and csrf_token_id as new (shieldo)

This PR was merged into the master branch.

Discussion
----------

[SecurityBundle] Added csrf_token_generator and csrf_token_id as new

names for csrf_provider and intention options

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

Commits
-------

f2f15f5 [SecurityBundle] Added csrf_token_generator and csrf_token_id as new names for csrf_provider and intention options
Add german translation for several validators (Greater/Equal/Less)
minor #9588 Add missing german translation for validators (Danez)

This PR was merged into the 2.3 branch.

Discussion
----------

Add missing german translation for validators

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

Some validators do not have german translation yet.

Commits
-------

11fd126 Add german translation for several validators (Greater/Equal/Less)
Merge branch '2.2' into 2.3

* 2.2:
  No Entity Manager defined exception
  fixed CS
  [Acl] Fix for issue #9433
  [Validator] fix docblock typos
  [DependencyInjection] removed the unused Reference and Parameter classes use statements from the compiled container class
  Fix mistake in translation's service definition.
  if handler_id is identical to null fix
  CS fix
  Fixed ModelChoiceList tests in Propel1 bridge.
  [AclProvider] Fix incorrect behaviour when partial results returned from cache
  Check if the pipe array is empty before calling stream_select()
  re-factor Propel1 ModelChoiceList
  [Locale] fixed the failing test described in #9455
  [Process] fix phpdoc and timeout of 0
  bug #9445 [BrowserKit] fixed protocol-relative url redirection

Conflicts:
	src/Symfony/Component/BrowserKit/Tests/ClientTest.php
	src/Symfony/Component/Locale/Tests/Stub/StubIntlDateFormatterTest.php
Merge branch '2.3'

* 2.3: (24 commits)
  Add german translation for several validators (Greater/Equal/Less)
  No Entity Manager defined exception
  fixed CS
  [Acl] Fix for issue #9433
  [Validator] fix docblock typos
  [DependencyInjection] removed the unused Reference and Parameter classes use statements from the compiled container class
  Removed useless check if self::$trustProxies is set
  Fix mistake in translation's service definition.
  if handler_id is identical to null fix
  CS fix
  Fixed ModelChoiceList tests in Propel1 bridge.
  [AclProvider] Fix incorrect behaviour when partial results returned from cache
  Check if the pipe array is empty before calling stream_select()
  [Intl] fixed datetime test as described in #9455
  bumped Symfony version to 2.3.8
  updated VERSION for 2.3.7
  updated CHANGELOG for 2.3.7
  re-factor Propel1 ModelChoiceList
  [Form] Added method Form::getClickedButton() to remove memory leak in FormValidator
  [Locale] fixed the failing test described in #9455
  ...

Conflicts:
	src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php
	src/Symfony/Bridge/Propel1/Tests/Fixtures/ItemQuery.php
	src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/ModelChoiceListTest.php
	src/Symfony/Bridge/Propel1/Tests/Propel1TestCase.php
	src/Symfony/Component/Form/Tests/CompoundFormTest.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Process/Process.php
Fixed typos/CS/PHPDoc
[SecurityBundle] minor simplification in main configuration
Typo and better wording for german validator translation
minor #9599 [Validator] Typo and better wording for german validator translation (Danez)

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

Discussion
----------

[Validator] Typo and better wording for german validator translation

Follow up of #9588 as supposed by @craue

Commits
-------

263b618 Typo and better wording for german validator translation
minor #9598 [SecurityBundle] minor simplification in main configuration (shieldo)

This PR was merged into the master branch.

Discussion
----------

[SecurityBundle] minor simplification in main configuration

As per @stof's suggestion (https://github.com/symfony/symfony/pull/9587#discussion_r7875630).

| 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

Commits
-------

0d8c34b [SecurityBundle] minor simplification in main configuration
[Security] Typos in Security's ExpressionLanguage
bug #9597 [Security] Typos in Security's ExpressionLanguage (ovrflo)

This PR was squashed before being merged into the master branch (closes #9597).

Discussion
----------

[Security] Typos in Security's ExpressionLanguage

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

Fixed the ExpressionLanguage and added the tests. It looks ok to me, but please, take a close look (some people will depend on this working right, including me :D ).

Thanks !

Commits
-------

087403b [Security] Typos in Security's ExpressionLanguage
updated version to 2.5