OxCom / zf3-twig

ZendTwig is a module that integrates the Twig template engine with Laminas.
MIT License
19 stars 6 forks source link

Update to twig 2.7 #11

Closed reinfi closed 5 years ago

reinfi commented 5 years ago

Hey.

Twig versions below 2.7 got a security issue so they will conflict with roave/security-advisories.

I updated every class to its corresponding new twig class.

Would be happy if this would not take so long to merge as we could not update our packages at the moment.

Best regards

codecov[bot] commented 5 years ago

Codecov Report

Merging #11 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage     99.68%   99.68%           
  Complexity      128      128           
=========================================
  Files            18       18           
  Lines           320      320           
=========================================
  Hits            319      319           
  Misses            1        1
Impacted Files Coverage Δ Complexity Δ
src/Extension/AbstractExtension.php 100% <ø> (ø) 1 <0> (ø) :arrow_down:
src/Service/TwigMapLoaderFactory.php 100% <ø> (ø) 5 <0> (ø) :arrow_down:
src/Loader/StackLoader.php 100% <ø> (ø) 4 <0> (ø) :arrow_down:
src/Renderer/TwigRenderer.php 100% <100%> (ø) 42 <7> (ø) :arrow_down:
src/Service/TwigRendererFactory.php 100% <100%> (ø) 3 <0> (ø) :arrow_down:
src/Service/TwigLoaderFactory.php 100% <100%> (ø) 6 <6> (ø) :arrow_down:
src/Service/TwigEnvironmentFactory.php 100% <100%> (ø) 12 <8> (ø) :arrow_down:
src/View/FallbackFunction.php 100% <100%> (ø) 3 <0> (ø) :arrow_down:
src/Loader/MapLoader.php 100% <100%> (ø) 10 <3> (ø) :arrow_down:
src/Resolver/TwigResolver.php 100% <100%> (ø) 2 <2> (ø) :arrow_down:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6aa2936...3006a8f. Read the comment docs.

OxCom commented 5 years ago

Thanks for contributions!

OxCom commented 5 years ago

Released with v0.2.0

reinfi commented 5 years ago

thanks alot!