Ignore PHPStan warning for deprecated method usage

Added a PHPStan ignore comment to bypass warnings for calling a deprecated method, which remains necessary for compatibility. This ensures functionality while avoiding static analysis issues.
This commit is contained in:
2025-04-08 17:30:08 +02:00
parent 50c75dff1a
commit 5a7bba83f7

View File

@@ -116,6 +116,7 @@ final readonly class ExportGenerator
trigger_deprecation('chill-project/chill-bundles', '3.10', '%s should implements the "generate" method', FormatterInterface::class);
/* @phpstan-ignore-next-line this is a deprecated method that we must still call */
$generatedExport = $formatter->getResponse(
$result,
$data['formatter'],