Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 22b7d12

Browse filesBrowse files
bug #25672 [WebServerBundle] use interface_exists instead of class_exists (kbond)
This PR was merged into the 3.3 branch. Discussion ---------- [WebServerBundle] use interface_exists instead of class_exists | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a This bug was introduced in #25026 Commits ------- dc3a94e use interface_exists instead of class_exists
2 parents 9918a66 + dc3a94e commit 22b7d12
Copy full SHA for 22b7d12

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/WebServerBundle/Command/ServerLogCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebServerBundle/Command/ServerLogCommand.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function isEnabled()
3737
}
3838

3939
// based on a symfony/symfony package, it crashes due a missing FormatterInterface from monolog/monolog
40-
if (!class_exists(FormatterInterface::class)) {
40+
if (!interface_exists(FormatterInterface::class)) {
4141
return false;
4242
}
4343

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.