bug #138 Reference::isStrict() is gone in Symfony 3.0 (derrabus)
bug #138 Reference::isStrict() is gone in Symfony 3.0 (derrabus)

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

Discussion
----------

Reference::isStrict() is gone in Symfony 3.0

The `LoggerChannelPass` contains calls to `Symfony\Component\DependencyInjection\Reference::isStrict()`, a method that has been removed from Symfony 3. The test case `LoggerChannelPassTest` fails if you run it against the Symfony master branch.

This pull request adds a forward-compatible code that checks with `method_exists()` if the method is still present. That check may be removed in the future, as soon as support for Symfony 2 is dropped. Tests are now running green with Symfony 2.7.4 and 3.0-dev.

Commits
-------

93722f9 Reference::isStrict() is gone in Symfony 3.0

symfony/monolog-bundle,damour/monolog-bundle,lyrixx/monolog-bundle,tseho/MonologBundle,symfony/MonologBundle