minor #13159 Update functional tests to use the PSR NullLogger (stof)

This PR was merged into the 2.3 branch.

Discussion
----------

Update functional tests to use the PSR NullLogger

| 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

This avoids using the deprecated NullLogger in tests.

I'm applying this in 2.3 to make merging branches easier. This is especially needed for 2.7 because of deprecation warnings added in #13060 (tests are failing in this PR currently because of that)

Commits
-------

30cff26 Update functional tests to use the PSR NullLogger
This commit is contained in:
Fabien Potencier 2014-12-30 09:28:51 +01:00
commit 803c916111
3 changed files with 3 additions and 3 deletions

View File

@ -11,4 +11,4 @@ framework:
storage_id: session.storage.mock_file
services:
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
logger: { class: Psr\Log\NullLogger }

View File

@ -12,7 +12,7 @@ framework:
profiler: { only_exceptions: false }
services:
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
logger: { class: Psr\Log\NullLogger }
security:
firewalls:

View File

@ -12,4 +12,4 @@ framework:
profiler: { only_exceptions: false }
services:
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
logger: { class: Psr\Log\NullLogger }