Skip to content

Commit

Permalink
deprecate FilterHelper class
Browse files Browse the repository at this point in the history
  • Loading branch information
fbourigault authored and michellesanver committed Sep 20, 2019
1 parent 13a73b2 commit fdaba8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Templating/Helper/FilterHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

namespace Liip\ImagineBundle\Templating\Helper;

@trigger_error('The '.FilterHelper::class.' class is deprecated since version 2.2 and will be removed in 3.0; use Twig instead.', E_USER_DEPRECATED);

use Liip\ImagineBundle\Templating\FilterTrait;
use Symfony\Component\Templating\Helper\Helper;

Expand Down
2 changes: 2 additions & 0 deletions Tests/Templating/Helper/FilterHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/**
* @covers \Liip\ImagineBundle\Templating\FilterTrait
* @covers \Liip\ImagineBundle\Templating\Helper\FilterHelper
*
* @group legacy
*/
class FilterHelperTest extends AbstractFilterTest
{
Expand Down

0 comments on commit fdaba8a

Please sign in to comment.