[FrameworkBundle] made sure that the debug event dispatcher is used everywhere
[Form] Fixed memory leak in FormValidator
[Console] make InputArgument::setDefault() chainable
fixed wrong started states
bug #9246 [Session] fixed wrong started state (tecbot)

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

Discussion
----------

[Session] fixed wrong started state

Currently the session stays in the started mode after the call of  ```save()``` which will close the session. We found the issue in our custom SAPI which keeps the symfony stack initialized over multiple requests.

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

Commits
-------

d641cd6 [Session] fixed wrong started states
Fix in ChainLoader.php

The LoaderInterface requires the time to be passed.
bug #9270 [Templating] Fix in ChainLoader.php (janschoenherr)

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

Discussion
----------

[Templating] Fix in ChainLoader.php

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

The LoaderInterface requires the _time_ parameter to be passed.

Commits
-------

2631eb3 [Templating] Fix in ChainLoader.php
[Yaml] Fixed the escaping of strings starting with a dash when dumping

Dashes need to be escaped in character sets in regexes as they are used to
specify a range otherwise.
Refs #9039
bug #9274 [Yaml] Fixed the escaping of strings starting with a dash when dumping (stof)

This PR was merged into the 2.2 branch.

Discussion
----------

[Yaml] Fixed the escaping of strings starting with a dash when dumping

Dashes need to be escaped in character sets in regexes as they are used to specify a range otherwise.
It fixes the dumper bug reported in #9039 (the parsing issue is not fix here)

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

Commits
-------

af369ae [Yaml] Fixed the escaping of strings starting with a dash when dumping
[Console] make parent constructor test more reliable

it also fixes the test since f2b60e9c687 and improves phpdoc
[Console] improve regex performance to validate name

using possesive quantifier
Remove unnecessary continue from Request
minor #9278 [HttpFoundation] Remove unnecessary continue from Request (tgabi333)

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

Discussion
----------

[HttpFoundation] Remove unnecessary continue from Request

Commits
-------

067f561 [HttpFoundation] Remove unnecessary continue from Request
fix typo : StdClass should be stdClass with little "s"
minor #9288 fix typo : StdClass should be stdClass with little "s" (samsonasik)

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

Discussion
----------

fix typo : StdClass should be stdClass with little "s"

Commits
-------

febd1d8 fix typo : StdClass should be stdClass with little "s"
Replaced the @inheritdoc with an actual list of params since the original method has a different signature.

Also, fixed indentation in other docblocks.
minor #9293 [HttpFoundation] Docblock fix (jakzal)

This PR was merged into the 2.3 branch.

Discussion
----------

[HttpFoundation] Docblock fix

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

`BinaryFileResponse::create()` has a different signature than `Response::create()` and cannot inherit its doc. I also fixed indentation in other blocks in this file.

Commits
-------

bb8930c Replaced the @inheritdoc with an actual list of params since the original method has a different signature.
Added japanese translation resource for security component.
minor #9283 [Security] Added japanese translation resource for security component. (hidenorigoto)

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

Discussion
----------

[Security] Added japanese translation resource for security component.

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

Commits
-------

4176cf1 Added japanese translation resource for security component.
Make usleep longer and simplify assertions