Skip to content

Commit 018b383

Browse files
minor #34555 [errorHandler] Remove old references from the old debug component (vincentmoulene)
This PR was submitted for the master branch but it was merged into the 5.0 branch instead. Discussion ---------- [errorHandler] Remove old references from the old debug component | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | See some old references from the old debug component. So proposal to remove. #SymfonyHackday Commits ------- 326df98 [errorHandler] Remove old references from the old debug component
2 parents a2cb37e + 326df98 commit 018b383

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/Symfony/Component/ErrorHandler/DebugClassLoader.php

-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ public function checkAnnotations(\ReflectionClass $refl, string $class): array
399399
if (
400400
'Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerForV7' === $class
401401
|| 'Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerForV6' === $class
402-
|| 'Test\Symfony\Component\Debug\Tests' === $refl->getNamespaceName()
403402
) {
404403
return [];
405404
}

src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\ErrorHandler\Tests\Exception;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use Symfony\Component\Debug\Exception\FatalThrowableError;
1615
use Symfony\Component\ErrorHandler\Exception\FlattenException;
1716
use Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException;
1817
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;

0 commit comments

Comments
 (0)