[Form] Changed FormTypeCsrfExtension to use the form's name as default intention
Merge branch 'fix-csrf-default-2.2' into fix-csrf-default-2.3

Conflicts:
	src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php
Merge branch 'fix-csrf-default-2.3' into fix-csrf-default-2.4

Conflicts:
	src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php
bug #9329 [2.4][Form] Changed FormTypeCsrfExtension to use the form's name as default token ID (bschussek)

This PR was merged into the master branch.

Discussion
----------

[2.4][Form] Changed FormTypeCsrfExtension to use the form's name as default token ID

Equivalent of #9327, merged into master.

Commits
-------

6400bd1 Merge branch 'fix-csrf-default-2.3' into fix-csrf-default-2.4
c4abe83 Merge branch 'fix-csrf-default-2.2' into fix-csrf-default-2.3
b07c618 [Form] Changed FormTypeCsrfExtension to use the form's name as default intention
[Csrf] component fixes
minor #9311 [Csrf] component fixes (Tobion)

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

Discussion
----------

[Csrf] component fixes

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

- [Csrf] fixed some phpdocs
- [Csrf] fixed return types (also https://github.com/symfony/symfony/pull/9216#discussion_r6797190 )
- [Csrf] fixed test class namespaces

Commits
-------

d7eb8ff [Csrf] component fixes