nayzo / NzoUrlEncryptorBundle

Symfony Bundle used to Encrypt and Decrypt data and variables in the Web application
MIT License
89 stars 19 forks source link

Twig_* Methods / Classes Deprecated #36

Closed jwill417 closed 4 years ago

jwill417 commented 4 years ago

The latest update of twig has completely removed the ability to use the Twig_Extension, Twig_Filter and Twig_SimpleFunction. I'm unable to submit a branch / PR to fix this so here is the fix. Can this be put in?

``<?php

/*

namespace Nzo\UrlEncryptorBundle\Twig;

use Nzo\UrlEncryptorBundle\UrlEncryptor\UrlEncryptor; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; use Twig\TwigFunction;

/**

nayzo commented 4 years ago

Fixed in : https://github.com/nayzo/NzoUrlEncryptorBundle/releases/tag/v4.3.0 Thank you :+1: