Closed azjezz closed 5 years ago
@weierophinney I've thought about this today and I think it's only needed for Twig\Environment
. No other class is referenced for API use. The only extra requirement that is needed is to increase the minimum Twig version to ^1.34.4 || ^2.1
. For the rest I don't see any issues.
In the next minor release we could even swap to PSR-4 classes usage internally without affecting current installations if they use ^1.34.
@weierophinney i have update the minimum required twig version to ^1.34 | ^2.4
as 1.34 and 2.4 are the first twig versions to contain the namespaced class names
@weierophinney all set.
I've done the following:
.idea/
tree changes)CHANGELOG
entry and split it into two distinct changesAll changes are now in the develop branch as of bad0be6
Adds PSR-4 Twig environment class alias.
allow users to access the twig environment using the PSR-4 twig environment class alias.
example :
develop
branch, and submit against that branch.