[ExpressionLanguage] replaced the =~ operator by matches (removed the != operator)
minor #9201 [ExpressionLanguage] replaced the =~ operator by matches (removed the != operator) (fabpot)

This PR was merged into the master branch.

Discussion
----------

[ExpressionLanguage] replaced the =~ operator by matches (removed the != operator)

| 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

To be consistent with fabpot/Twig#1209

Commits
-------

4c2d2e2 [ExpressionLanguage] replaced the =~ operator by matches (removed the != operator)
removed obsolete code
[Form] Add a 'submitted' attribute to the form view
feature #9208 [Form] Add a 'submitted' attribute to the form view (egeloen)

This PR was merged into the master branch.

Discussion
----------

[Form] Add a 'submitted' attribute to the form view

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

Basically, the use case of this PR is to determine in the view if a form has been validated by the validator. By default, the valid attribute is true and we can't know if the form has been submitted. Now, we can use `form.vars.submitted && form.vars.valid`.

Commits
-------

a386c74 [Form] Add a 'submitted' attribute to the form view
[Console] fixed tests
fixed some tests
[ExpressionLanguage] fixed typo
skipped some tests on PHP 5.3
[FrameworkBundle] Adds the possibility to register Commands via the DIC
feature #9199 [FrameworkBundle] Adds the possibility to register Commands via the DIC (fabpot)

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

Discussion
----------

[FrameworkBundle] Adds the possibility to register Commands via the DIC

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | don't now
| Fixed tickets | #8166
| License       | MIT
| Doc PR        | symfony/symfony-docs#3031

Todo:

* [x] Documentation
* [x] Clean code (add type hinting)
* [x] Add tests

Commits
-------

cabb1fa [FrameworkBundle] Adds the possibility to register Commands via the DIC
fixed test side effects
updated CHANGELOG for 2.4.0-BETA1
updated VERSION for 2.4.0-BETA1
[Security\Csrf] Split CsrfTokenGenerator into CsrfTokenManager and TokenGenerator
bug #9216 [Security\Csrf] Split CsrfTokenGenerator into CsrfTokenManager and TokenGenerator (bschussek)

This PR was merged into the master branch.

Discussion
----------

[Security\Csrf] Split CsrfTokenGenerator into CsrfTokenManager and TokenGenerator

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

This is a follow-up PR of #6554 that splits the CsrfTokenGenerator into two separate classes for generating and managing CSRF tokens. As a consequence, it is now possible to explicitly remove or refresh CSRF tokens if they should be used only once. See #9210 for more information.

Commits
-------

d4bb5f4 [Security\Csrf] Split CsrfTokenGenerator into CsrfTokenManager and TokenGenerator
[form] fix missing use statement for exception UnexpectedTypeException
bumped Symfony version to 2.4.0
[Console] changed an exception class
bug #9236 [Form] fix missing use statement for exception UnexpectedTypeException (jaugustin)

This PR was merged into the master branch.

Discussion
----------

[Form] fix missing use statement for exception UnexpectedTypeException

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

fix missing use statement for exception `Symfony\Component\Form\Exception\UnexpectedTypeException`

cc @bschussek

Commits
-------

ea91533 [form] fix missing use statement for exception UnexpectedTypeException