mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
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:
parent
50c75dff1a
commit
5a7bba83f7
@ -116,6 +116,7 @@ final readonly class ExportGenerator
|
|||||||
|
|
||||||
trigger_deprecation('chill-project/chill-bundles', '3.10', '%s should implements the "generate" method', FormatterInterface::class);
|
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(
|
$generatedExport = $formatter->getResponse(
|
||||||
$result,
|
$result,
|
||||||
$data['formatter'],
|
$data['formatter'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user