Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Twig/DataTableExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use Kreyu\Bundle\DataTableBundle\ValueRowView;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;
use Twig\DeprecatedCallableInfo;
use Twig\Environment;
use Twig\Error\Error as TwigException;
use Twig\Error\RuntimeError;
Expand Down Expand Up @@ -71,7 +72,7 @@ public function getFunctions(): array
$functions[] = new TwigFunction('data_table_form_aware', $this->renderDataTableFormAware(...), [
'needs_environment' => true,
'is_safe' => ['html'],
'deprecated' => true,
'deprecation_info' => new DeprecatedCallableInfo('twig/twig', '3.15'),
]);

return $functions;
Expand Down