phone-number-bundle icon indicating copy to clipboard operation
phone-number-bundle copied to clipboard

Add support for symfony 4.4

Open cklm opened this issue 4 years ago • 3 comments

Symfony 4.4 is released - its the long-term-supported version for the next years. Symfony 4.4 dropped support for some classes which makes the bundle unusable. Twig version 3 has now namespaces:

!!    #message: """
!!      Attempted to load class "Twig_Extension" from the global namespace.\n
!!      Did you forget a "use" statement?
!!      """
!!    #code: 0
!!    #file: "D:\projekte\tgh-sf\vendor\misd\phone-number-bundle\Twig\Extension\PhoneNumberHelperExtension.php"
!!    #line: 19

cklm avatar Nov 26 '19 11:11 cklm

I just fixed this error locally by changing the PhoneNumberHelperExtension

See attachment PhoneNumberHelperExtension.php.zip

michaoj avatar Nov 26 '19 14:11 michaoj

This package has not been active for a while. You can block ths Twig 3 update in your project or find an alternative

maxhelias avatar Nov 26 '19 15:11 maxhelias

Take a look here : https://github.com/odolbeau/phone-number-bundle

maxhelias avatar Nov 28 '19 13:11 maxhelias