Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] Tainting twig #61

Merged
merged 35 commits into from
Sep 13, 2020
Merged

[RFR] Tainting twig #61

merged 35 commits into from
Sep 13, 2020

Conversation

adrienlucas
Copy link
Contributor

@adrienlucas adrienlucas commented Jul 27, 2020

There are two approaches in here :

  • one based on a TemplateFileAnalyzer which uses the twig parser to taint twig AST nodes
  • one based on the already compiled twig templates

The two have their own advantages.

@adrienlucas adrienlucas mentioned this pull request Jul 27, 2020
@adrienlucas adrienlucas force-pushed the tainting-twig branch 3 times, most recently from c9325a4 to 54f9c8b Compare August 21, 2020 18:18
@seferov
Copy link
Member

seferov commented Aug 22, 2020

@adrienlucas thank you! This PR needs to be rebased.

@adrienlucas
Copy link
Contributor Author

hey @seferov thank you !
this is now ready for review !

Copy link
Member

@seferov seferov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for great work! This one also needs a documentation update.

src/Test/CodeceptionModule.php Show resolved Hide resolved
tests/acceptance/acceptance/Tainting.feature Outdated Show resolved Hide resolved
@adrienlucas adrienlucas changed the title [WIP] Tainting twig [RFR] Tainting twig Sep 11, 2020
@seferov
Copy link
Member

seferov commented Sep 13, 2020

@adrienlucas thank you!

@seferov seferov merged commit 4eb4dae into psalm:master Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants