Avoid missing method when using __invoke
fix session restart on PHP 5.3

this also removes some useless code
bug #12961 fix session restart on PHP 5.3 (Tobion)

This PR was merged into the 2.3 branch.

Discussion
----------

fix session restart on PHP 5.3

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

this also removes some useless code

Commits
-------

b9d3c92 fix session restart on PHP 5.3
minor #12958 [WebProfilerBundle] Avoid missing method when using __invoke on a controller (thewilkybarkid)

This PR was merged into the 2.6 branch.

Discussion
----------

[WebProfilerBundle] Avoid missing method when using __invoke on a controller

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

2.6 added support for using `__invoke` on controllers, but the profiler toolbar still expects a method name, leading to:

![image](https://cloud.githubusercontent.com/assets/1784740/5412993/4553c4da-820a-11e4-899c-50ef9f330cdd.png)

This PR changes it to only include the method section/double dots if the method name is included (and the `link` is moved to the class name).

Commits
-------

fb87558 Avoid missing method when using __invoke
remove short array syntax

The short array syntax was introduced in PHP 5.4 and therefore leads
to failing tests when executed in PHP 5.3 environments.
minor #12962 [SecurityBundle] remove short array syntax (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[SecurityBundle] remove short array syntax

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

The short array syntax was introduced in PHP 5.4 and therefore leads
to failing tests when executed in PHP 5.3 environments.

Commits
-------

697ce4d remove short array syntax
Merge branch '2.3' into 2.5

* 2.3:
  remove short array syntax
  fix session restart on PHP 5.3
Merge branch '2.5' into 2.6

* 2.5:
  remove short array syntax
  fix session restart on PHP 5.3
Merge branch '2.6' into 2.7

* 2.6:
  remove short array syntax
  fix session restart on PHP 5.3
  Avoid missing method when using __invoke
fix ocramius/proxy-manager dependency version

Symfony 2.5 and higher requires ocramius/proxy-manager 0.4.0 or
higher.
Fix failing tests after merge
minor #12967 Fix failing tests after merge (xabbuh, nicolas-grekas)

This PR was merged into the 2.5 branch.

Discussion
----------

Fix failing tests after merge

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

https://github.com/symfony/symfony/pull/12967/files?w=1

Commits
-------

9b96373 Fix failing tests after merge
6638535 fix ocramius/proxy-manager dependency version
Merge branch '2.5' into 2.6

* 2.5:
  Fix failing tests after merge
  fix ocramius/proxy-manager dependency version
Merge branch '2.6' into 2.7

* 2.6:
  Fix failing tests after merge
  fix ocramius/proxy-manager dependency version