Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit748dd8e

Browse files
committed
bug#32873 [ErrorRenderer] Add alias to FlattenException to avoid BC break (yceruto)
This PR was merged into the 4.4 branch.Discussion----------[ErrorRenderer] Add alias to FlattenException to avoid BC break| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#32473| License | MIT| Doc PR | -Commits-------44b0e7d Created alias to FlattenException to avoid BC break
2 parents64a2627 +44b0e7d commit748dd8e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎src/Symfony/Component/ErrorRenderer/Exception/FlattenException.php‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,3 +374,18 @@ public function getAsString()
374374
returnrtrim($message);
375375
}
376376
}
377+
378+
namespaceSymfony\Component\Debug\Exception;
379+
380+
if (!class_exists(FlattenException::class,false)) {
381+
class_alias(\Symfony\Component\ErrorRenderer\Exception\FlattenException::class, FlattenException::class);
382+
}
383+
384+
if (false) {
385+
/**
386+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorRenderer\Exception\FlattenException instead.
387+
*/
388+
class FlattenExceptionextends \Symfony\Component\ErrorRenderer\Exception\FlattenException
389+
{
390+
}
391+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp