You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a project that uses Twig for templating. Everything works perfectly during development. However, when I use the repack command to create a PHAR, I encounter the following error when i exectur command:
In CoreExtension.php line 295:
Class "Twig\TwigTest" not found
After investigating, it seems that the class Twig\TwigTest is being removed from the vendor directory during the repackaging process. This might be because the class name (TwigTest) is mistaken for an unnecessary file and excluded during the PHAR creation.
Unfortunately, this class is essential for Twig to function properly, and its absence causes the error above when the PHAR is executed.
Steps to Reproduce:
Create a project using Twig for templating.
Run the repack command to build a PHAR.
Attempt to execute the PHAR.
Observe the error: Class "Twig\TwigTest" not found.
The text was updated successfully, but these errors were encountered:
Hello,
I am working on a project that uses Twig for templating. Everything works perfectly during development. However, when I use the repack command to create a PHAR, I encounter the following error when i exectur command:
After investigating, it seems that the class Twig\TwigTest is being removed from the vendor directory during the repackaging process. This might be because the class name (TwigTest) is mistaken for an unnecessary file and excluded during the PHAR creation.
Unfortunately, this class is essential for Twig to function properly, and its absence causes the error above when the PHAR is executed.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: