Skip to content

Commit 803c916

Browse files
committed
minor symfony#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 symfony#13060 (tests are failing in this PR currently because of that) Commits ------- 30cff26 Update functional tests to use the PSR NullLogger
2 parents e766363 + 30cff26 commit 803c916

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/app/config/framework.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ framework:
1111
storage_id: session.storage.mock_file
1212

1313
services:
14-
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
14+
logger: { class: Psr\Log\NullLogger }

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ framework:
1212
profiler: { only_exceptions: false }
1313

1414
services:
15-
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
15+
logger: { class: Psr\Log\NullLogger }
1616

1717
security:
1818
firewalls:

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ framework:
1212
profiler: { only_exceptions: false }
1313

1414
services:
15-
logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }
15+
logger: { class: Psr\Log\NullLogger }

0 commit comments

Comments
 (0)