Skip to content

php-ast update#1

Open
kelleyvanevert wants to merge 2 commits intoadrianhuna:masterfrom
kelleyvanevert:feat/php-ast-util-update
Open

php-ast update#1
kelleyvanevert wants to merge 2 commits intoadrianhuna:masterfrom
kelleyvanevert:feat/php-ast-util-update

Conversation

@kelleyvanevert
Copy link
Copy Markdown

@kelleyvanevert kelleyvanevert commented Mar 13, 2019

  • Updated backend/php-ast/util.php to work with most recent version of php-ast
  • Using version 70 in php-ast instead of version 30
  • Pass folder as argument ($argv[1]) instead of having to type it in every time you run the script
  • Some typos

Kelley van Evert added 2 commits March 13, 2019 20:19
… of php-ast

- Using version `70` in php-ast instead of version `30`
- Some typos
@adrianhuna
Copy link
Copy Markdown
Owner

Hi, thank you for this PR. Does it work for you? When I tried the AST version 70, the resulting json didn't have correct values in "name" attribute - it was always null. Also the visualisation didn't work with the generated JSON because of some problem when drawing the histograms :/

This was a one-time project and as I implemented it a long time ago, it will be difficult to try to fix but I will give it a go when have more time...

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.

2 participants