Skip to content

Commit

Permalink
[Hackday] [2.7] Add a deprecation note about Debug component classes
Browse files Browse the repository at this point in the history
Resolves #12623
  • Loading branch information
David Fuhr committed Nov 29, 2014
1 parent 4e6b74b commit 5876f52
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\HttpKernel\Debug;

trigger_error('Symfony\Component\HttpKernel\Debug\ErrorHandler is deprecated since version 2.3 and will be removed in 3.0. Use the same class from the Debug component instead.', E_USER_DEPRECATED);

use Symfony\Component\Debug\ErrorHandler as DebugErrorHandler;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\HttpKernel\Debug;

trigger_error('Symfony\Component\HttpKernel\Debug\ExceptionHandler is deprecated since version 2.3 and will be removed in 3.0. Use the same class from the Debug component instead.', E_USER_DEPRECATED);

use Symfony\Component\Debug\ExceptionHandler as DebugExceptionHandler;

/**
Expand Down
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\HttpKernel\Exception;

trigger_error('Symfony\Component\HttpKernel\Exception\FatalErrorException is deprecated since version 2.3 and will be removed in 3.0. Use the same class from the Debug component instead.', E_USER_DEPRECATED);

use Symfony\Component\Debug\Exception\FatalErrorException as DebugFatalErrorException;

/**
Expand Down
Expand Up @@ -11,6 +11,8 @@

namespace Symfony\Component\HttpKernel\Exception;

trigger_error('Symfony\Component\HttpKernel\Exception\FlattenException is deprecated since version 2.3 and will be removed in 3.0. Use the same class from the Debug component instead.', E_USER_DEPRECATED);

use Symfony\Component\Debug\Exception\FlattenException as DebugFlattenException;

/**
Expand Down

0 comments on commit 5876f52

Please sign in to comment.