Add missing #[IgnoreDeprecations] attribute

This commit is contained in:
Grégoire Paris
2025-10-12 17:28:24 +02:00
parent d6537fbc4f
commit b87f464486

View File

@@ -10,6 +10,7 @@ use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Common\DataFixtures\Purger\PurgerInterface;
use Doctrine\Deprecations\PHPUnit\VerifyDeprecations;
use Doctrine\Persistence\ObjectManager;
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
use PHPUnit\Framework\TestCase;
use Psr\Log\Test\TestLogger;
@@ -48,6 +49,7 @@ final class AbstractExecutorTest extends TestCase
self::assertTrue($logger->hasDebugThatContains('purging database'));
}
#[IgnoreDeprecations]
public function testDeprecatedLoggerUsage(): void
{
$executor = $this->bootstrapExecutor();