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 b842ad9

Browse filesBrowse files
committed
Deprecating the Debug component
1 parent 014f2bb commit b842ad9
Copy full SHA for b842ad9

29 files changed

+100
-0
lines changed

‎UPGRADE-4.4.md

Copy file name to clipboardExpand all lines: UPGRADE-4.4.md
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Cache
66

77
* Added argument `$prefix` to `AdapterInterface::clear()`
88

9+
Debug
10+
-----
11+
12+
* Deprecated `FlattenException`, use the `FlattenException` of the `ErrorRenderer` component
13+
* Deprecated the whole component in favor of `ErrorHandler` component
14+
915
DependencyInjection
1016
-------------------
1117

‎UPGRADE-5.0.md

Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Console
5151
$processHelper->run($output, Process::fromShellCommandline('ls -l'));
5252
```
5353

54+
Debug
55+
-----
56+
57+
* Removed the component
58+
5459
DependencyInjection
5560
-------------------
5661

‎src/Symfony/Component/Debug/BufferingLogger.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/BufferingLogger.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@
1313

1414
use Psr\Log\AbstractLogger;
1515

16+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\BufferingLogger" instead.', BufferingLogger::class), E_USER_DEPRECATED);
17+
1618
/**
1719
* A buffering logger that stacks logs for later.
1820
*
1921
* @author Nicolas Grekas <p@tchwork.com>
22+
*
23+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\BufferingLogger instead.
2024
*/
2125
class BufferingLogger extends AbstractLogger
2226
{

‎src/Symfony/Component/Debug/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
-----
66

77
* deprecated `FlattenException`, use the `FlattenException` of the `ErrorRenderer` component
8+
* deprecated the whole component in favor of the `ErrorHandler` component
89

910
4.3.0
1011
-----

‎src/Symfony/Component/Debug/Debug.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Debug.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Debug" instead.', Debug::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Registers all the debug tools.
1618
*
1719
* @author Fabien Potencier <fabien@symfony.com>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Debug instead.
1822
*/
1923
class Debug
2024
{

‎src/Symfony/Component/Debug/DebugClassLoader.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/DebugClassLoader.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
use PHPUnit\Framework\MockObject\Matcher\StatelessInvocation;
1515

16+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead.', DebugClassLoader::class), E_USER_DEPRECATED);
17+
1618
/**
1719
* Autoloader checking if the class is really defined in the file found.
1820
*
@@ -24,6 +26,8 @@
2426
* @author Christophe Coevoet <stof@notk.org>
2527
* @author Nicolas Grekas <p@tchwork.com>
2628
* @author Guilhem Niot <guilhem.niot@gmail.com>
29+
*
30+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\DebugClassLoader instead.
2731
*/
2832
class DebugClassLoader
2933
{

‎src/Symfony/Component/Debug/ErrorHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/ErrorHandler.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
use Symfony\Component\Debug\FatalErrorHandler\UndefinedFunctionFatalErrorHandler;
2424
use Symfony\Component\Debug\FatalErrorHandler\UndefinedMethodFatalErrorHandler;
2525

26+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\ErrorHandler" instead.', ErrorHandler::class), E_USER_DEPRECATED);
27+
2628
/**
2729
* A generic ErrorHandler for the PHP engine.
2830
*
@@ -47,6 +49,8 @@
4749
* @author Grégoire Pineau <lyrixx@lyrixx.info>
4850
*
4951
* @final since Symfony 4.3
52+
*
53+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\ErrorHandler instead.
5054
*/
5155
class ErrorHandler
5256
{

‎src/Symfony/Component/Debug/Exception/ClassNotFoundException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/ClassNotFoundException.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\ClassNotFoundException" instead.', ClassNotFoundException::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Class (or Trait or Interface) Not Found Exception.
1618
*
1719
* @author Konstanton Myakshin <koc-dp@yandex.ru>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\ClassNotFoundException instead.
1822
*/
1923
class ClassNotFoundException extends FatalErrorException
2024
{

‎src/Symfony/Component/Debug/Exception/FatalErrorException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/FatalErrorException.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\FatalErrorException" instead.', FatalErrorException::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Fatal Error Exception.
1618
*
1719
* @author Konstanton Myakshin <koc-dp@yandex.ru>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\FatalErrorException instead.
1822
*/
1923
class FatalErrorException extends \ErrorException
2024
{

‎src/Symfony/Component/Debug/Exception/FatalThrowableError.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/FatalThrowableError.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\FatalThrowableError" instead.', FatalThrowableError::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Fatal Throwable Error.
1618
*
1719
* @author Nicolas Grekas <p@tchwork.com>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\FatalThrowableError instead.
1822
*/
1923
class FatalThrowableError extends FatalErrorException
2024
{

‎src/Symfony/Component/Debug/Exception/OutOfMemoryException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/OutOfMemoryException.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\OutOfMemoryException" instead.', OutOfMemoryException::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Out of memory exception.
1618
*
1719
* @author Nicolas Grekas <p@tchwork.com>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\OutOfMemoryException instead.
1822
*/
1923
class OutOfMemoryException extends FatalErrorException
2024
{

‎src/Symfony/Component/Debug/Exception/SilencedErrorContext.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/SilencedErrorContext.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\SilencedErrorContext" instead.', SilencedErrorContext::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Data Object that represents a Silenced Error.
1618
*
1719
* @author Grégoire Pineau <lyrixx@lyrixx.info>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\SilencedErrorContext instead.
1822
*/
1923
class SilencedErrorContext implements \JsonSerializable
2024
{

‎src/Symfony/Component/Debug/Exception/UndefinedFunctionException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/UndefinedFunctionException.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\UndefinedFunctionException" instead.', UndefinedFunctionException::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Undefined Function Exception.
1618
*
1719
* @author Konstanton Myakshin <koc-dp@yandex.ru>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\UndefinedFunctionException instead.
1822
*/
1923
class UndefinedFunctionException extends FatalErrorException
2024
{

‎src/Symfony/Component/Debug/Exception/UndefinedMethodException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/UndefinedMethodException.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
namespace Symfony\Component\Debug\Exception;
1313

14+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\Exception\UndefinedMethodException" instead.', UndefinedMethodException::class), E_USER_DEPRECATED);
15+
1416
/**
1517
* Undefined Method Exception.
1618
*
1719
* @author Grégoire Pineau <lyrixx@lyrixx.info>
20+
*
21+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\Exception\UndefinedMethodException instead.
1822
*/
1923
class UndefinedMethodException extends FatalErrorException
2024
{

‎src/Symfony/Component/Debug/ExceptionHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/ExceptionHandler.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
use Symfony\Component\Debug\Exception\OutOfMemoryException;
1616
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
1717

18+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\ExceptionHandler" instead.', ExceptionHandler::class), E_USER_DEPRECATED);
19+
1820
/**
1921
* ExceptionHandler converts an exception to a Response object.
2022
*
@@ -28,6 +30,8 @@
2830
* @author Nicolas Grekas <p@tchwork.com>
2931
*
3032
* @final since Symfony 4.3
33+
*
34+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\ExceptionHandler instead.
3135
*/
3236
class ExceptionHandler
3337
{

‎src/Symfony/Component/Debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@
1717
use Symfony\Component\Debug\Exception\ClassNotFoundException;
1818
use Symfony\Component\Debug\Exception\FatalErrorException;
1919

20+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\FatalErrorHandler\ClassNotFoundFatalErrorHandler" instead.', ClassNotFoundFatalErrorHandler::class), E_USER_DEPRECATED);
21+
2022
/**
2123
* ErrorHandler for classes that do not exist.
2224
*
2325
* @author Fabien Potencier <fabien@symfony.com>
26+
*
27+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\FatalErrorHandler\ClassNotFoundFatalErrorHandler instead.
2428
*/
2529
class ClassNotFoundFatalErrorHandler implements FatalErrorHandlerInterface
2630
{

‎src/Symfony/Component/Debug/FatalErrorHandler/FatalErrorHandlerInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/FatalErrorHandler/FatalErrorHandlerInterface.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@
1313

1414
use Symfony\Component\Debug\Exception\FatalErrorException;
1515

16+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\FatalErrorHandler\FatalErrorHandlerInterface" instead.', FatalErrorHandlerInterface::class), E_USER_DEPRECATED);
17+
1618
/**
1719
* Attempts to convert fatal errors to exceptions.
1820
*
1921
* @author Fabien Potencier <fabien@symfony.com>
22+
*
23+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\FatalErrorHandler\FatalErrorHandlerInterface instead.
2024
*/
2125
interface FatalErrorHandlerInterface
2226
{

‎src/Symfony/Component/Debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@
1414
use Symfony\Component\Debug\Exception\FatalErrorException;
1515
use Symfony\Component\Debug\Exception\UndefinedFunctionException;
1616

17+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\FatalErrorHandler\UndefinedFunctionFatalErrorHandler" instead.', UndefinedFunctionFatalErrorHandler::class), E_USER_DEPRECATED);
18+
1719
/**
1820
* ErrorHandler for undefined functions.
1921
*
2022
* @author Fabien Potencier <fabien@symfony.com>
23+
*
24+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\FatalErrorHandler\UndefinedFunctionFatalErrorHandler instead.
2125
*/
2226
class UndefinedFunctionFatalErrorHandler implements FatalErrorHandlerInterface
2327
{

‎src/Symfony/Component/Debug/FatalErrorHandler/UndefinedMethodFatalErrorHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/FatalErrorHandler/UndefinedMethodFatalErrorHandler.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@
1414
use Symfony\Component\Debug\Exception\FatalErrorException;
1515
use Symfony\Component\Debug\Exception\UndefinedMethodException;
1616

17+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\FatalErrorHandler\UndefinedMethodFatalErrorHandler" instead.', UndefinedMethodFatalErrorHandler::class), E_USER_DEPRECATED);
18+
1719
/**
1820
* ErrorHandler for undefined methods.
1921
*
2022
* @author Grégoire Pineau <lyrixx@lyrixx.info>
23+
*
24+
* @deprecated since Symfony 4.4, use Symfony\Component\ErrorHandler\FatalErrorHandler\UndefinedMethodFatalErrorHandler instead.
2125
*/
2226
class UndefinedMethodFatalErrorHandler implements FatalErrorHandlerInterface
2327
{

‎src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Debug\DebugClassLoader;
1616

17+
/**
18+
* @group legacy
19+
*/
1720
class DebugClassLoaderTest extends TestCase
1821
{
1922
/**

‎src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
*
2626
* @author Robert Schönthal <seroscho@googlemail.com>
2727
* @author Nicolas Grekas <p@tchwork.com>
28+
*
29+
* @group legacy
2830
*/
2931
class ErrorHandlerTest extends TestCase
3032
{

‎src/Symfony/Component/Debug/Tests/ExceptionHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/ExceptionHandlerTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
require_once __DIR__.'/HeaderMock.php';
2121

22+
/**
23+
* @group legacy
24+
*/
2225
class ExceptionHandlerTest extends TestCase
2326
{
2427
protected function setUp()

‎src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
use Symfony\Component\Debug\Exception\FatalErrorException;
1818
use Symfony\Component\Debug\FatalErrorHandler\ClassNotFoundFatalErrorHandler;
1919

20+
/**
21+
* @group legacy
22+
*/
2023
class ClassNotFoundFatalErrorHandlerTest extends TestCase
2124
{
2225
public static function setUpBeforeClass()

‎src/Symfony/Component/Debug/Tests/FatalErrorHandler/UndefinedFunctionFatalErrorHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/FatalErrorHandler/UndefinedFunctionFatalErrorHandlerTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Symfony\Component\Debug\Exception\FatalErrorException;
1616
use Symfony\Component\Debug\FatalErrorHandler\UndefinedFunctionFatalErrorHandler;
1717

18+
/**
19+
* @group legacy
20+
*/
1821
class UndefinedFunctionFatalErrorHandlerTest extends TestCase
1922
{
2023
/**

‎src/Symfony/Component/Debug/Tests/FatalErrorHandler/UndefinedMethodFatalErrorHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/FatalErrorHandler/UndefinedMethodFatalErrorHandlerTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Symfony\Component\Debug\Exception\FatalErrorException;
1616
use Symfony\Component\Debug\FatalErrorHandler\UndefinedMethodFatalErrorHandler;
1717

18+
/**
19+
* @group legacy
20+
*/
1821
class UndefinedMethodFatalErrorHandlerTest extends TestCase
1922
{
2023
/**

‎src/Symfony/Component/Debug/Tests/phpt/debug_class_loader.phpt

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/phpt/debug_class_loader.phpt
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ class_exists(ExtendedFinalMethod::class);
2323

2424
?>
2525
--EXPECTF--
26+
%A
2627
The "Symfony\Component\Debug\Tests\Fixtures\FinalMethod::finalMethod()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Symfony\Component\Debug\Tests\Fixtures\ExtendedFinalMethod".
2728
The "Symfony\Component\Debug\Tests\Fixtures\FinalMethod::finalMethod2()" method is considered final. It may change without further notice as of its next major version. You should not extend it from "Symfony\Component\Debug\Tests\Fixtures\ExtendedFinalMethod".

‎src/Symfony/Component/Debug/Tests/phpt/decorate_exception_hander.phpt

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/phpt/decorate_exception_hander.phpt
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if (true) {
2626

2727
?>
2828
--EXPECTF--
29+
%A
2930
object(Symfony\Component\Debug\Exception\ClassNotFoundException)#%d (8) {
3031
["message":protected]=>
3132
string(131) "Attempted to load class "missing" from namespace "Symfony\Component\Debug".

‎src/Symfony/Component/Debug/Tests/phpt/fatal_with_nested_handlers.phpt

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/phpt/fatal_with_nested_handlers.phpt
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ array(1) {
3535
[0]=>
3636
string(37) "Error and exception handlers do match"
3737
}
38+
%A
3839
object(Symfony\Component\Debug\Exception\FatalErrorException)#%d (%d) {
3940
["message":protected]=>
4041
string(179) "Error: Class Symfony\Component\Debug\Broken contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (JsonSerializable::jsonSerialize)"

‎src/Symfony/Component/ErrorHandler/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ErrorHandler/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public static function setUpBeforeClass()
4040

4141
/**
4242
* @dataProvider provideClassNotFoundData
43+
*
44+
* Remove only the "@group" annotation in 5.0 when the Debug component is gone.
45+
*
46+
* @group legacy
4347
*/
4448
public function testHandleClassNotFound($error, $translatedMessage, $autoloader = null)
4549
{

0 commit comments

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