Open aturki opened 6 years ago
This issue was solved by https://github.com/kriswallsmith/assetic/pull/845 . I just faced this issue and was able to solve it using this PR.
Assetic lives on at https://github.com/assetic-php/assetic & under assetic/framework
on Packagist. We've just released the 2.0 release that addresses a number of existing issues and dependency updates, see https://github.com/assetic-php/assetic/releases/tag/v2.0.0 for more information! Please try it out and let us know if you have any issues!
AsseticTokenParser.php still relies on getFilename() method (L116) which is not available anymore
Steps to reproduce: 1- Use a bad token in any TWIG file in a symfony projet (e.g. git conflict header) 2- Run app/console assetic:dump
Error: Attempted to call an undefined method named "getFilename" of class "Twig_TokenStream".