deprecated-packages / reveal-src

Static analysis for your templates is here!
9 stars 3 forks source link

Check for `Latte\Engine#renderToString` support in `LatteCompleteCheckRuleTest` #18

Open ZebulanStanphill opened 2 years ago

ZebulanStanphill commented 2 years ago

See #11. This PR makes LatteCompleteCheckRuleTest check to ensure that using Latte\Engine#renderToString works... specifically when passing arguments in array form. (I may open another a test for the typed object form documented here later, if this one gets merged.)

The test is currently failing, which is to be expected since reveal/reveal-latte does not currently analyze direct usage Latte\Engine to render templates.

TomasVotruba commented 2 years ago

Hi, the CI is faling on tests. Could you make it green again? :)