[Routing] Replace the UrlMatcher by a RequestMatcher
Register clean up
minor #1004 Register clean up (henrikbjorn)

This PR was squashed before being merged into the 2.0.x-dev branch (closes #1004).

Discussion
----------

Register clean up

Commits
-------

354b766 Register clean up
feature #971 [Routing] Replace the UrlMatcher by a RequestMatcher (GromNaN)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

[Routing] Replace the UrlMatcher by a RequestMatcher

Commits
-------

857023d [Routing] Replace the UrlMatcher by a RequestMatcher
Fixed DoctrineServiceProvider when no logger
bug #1014 Fixed DoctrineServiceProvider when no logger (florianv)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Fixed DoctrineServiceProvider when no logger

When the provider is used with `Pimple` alone, it throws an exception if the `logger` is not defined.

It was previously working, but it seems to be introduced in https://github.com/silexphp/Silex/commit/784a24665de285cb8c31db2c12c4785eb5605773.

Commits
-------

d89029c Fixed DoctrineServiceProvider when no logger
allow to register form types without extensions
feature #1018 allow to register form types without extensions (dominikzogg)

This PR was squashed before being merged into the 1.2 branch (closes #1018).

Discussion
----------

allow to register form types without extensions

Commits
-------

0e5f489 allow to register form types without extensions
updated docs and changelog
Add  parameter for application middlewares (before, after, finish)
feature #1007 Add $app parameter for application middlewares (before, after, finish) (kl3ryk)

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

Discussion
----------

Add $app parameter for application middlewares (before, after, finish)

There is small inconsistence between route and application middlewares.

Route middlewares (http://silex.sensiolabs.org/doc/middlewares.html#route-middlewares) can have $app parameter, but application middlewares (http://silex.sensiolabs.org/doc/middlewares.html#application-middlewares) has this parameter missing.

Commits
-------

38a3c46 Add  parameter for application middlewares (before, after, finish)
updated docs and changelog
Update session.rst

May be a bug, but Sessions expire after 30 minutes (or less ?)
To have the default behavior describe in documentation, you must set cookie_lifetime to 0

$app->register(new Silex\Provider\UrlGeneratorServiceProvider(), array(
    'session.storage.options' => array(
        'cookie_lifetime' => 0
        )
    )
);
minor #995 Update session.rst (davtwix)

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

Discussion
----------

Update session.rst

May be a bug, but Sessions expire after 30 minutes (or less ?)
To have the default behavior describe in documentation, you must set cookie_lifetime to 0

$app->register(new Silex\Provider\UrlGeneratorServiceProvider(), array(
    'session.storage.options' => array(
        'cookie_lifetime' => 0
        )
    )
);

Commits
-------

0e553e3 Update session.rst
fixed CS
Merge branch '1.2'

* 1.2:
  fixed CS
  Update session.rst
  updated docs and changelog
  Add  parameter for application middlewares (before, after, finish)
  updated docs and changelog
  allow to register form types without extensions

Conflicts:
	src/Silex/Provider/FormServiceProvider.php
	tests/Silex/Tests/Provider/FormServiceProviderTest.php
Update testing.rst

Fix dead link, @see:
https://github.com/silexphp/Silex/issues/1020
minor #1021 Update testing.rst (1emming)

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

Discussion
----------

Update testing.rst

Fix dead link, @see:
https://github.com/silexphp/Silex/issues/1020

Commits
-------

8c8b6a6 Update testing.rst
Add imports for type hints
Add missing @param tags