Git Product home page Git Product logo

Comments (7)

onhate avatar onhate commented on August 19, 2024

In the last part of php in this file, if I change this

Would you like go to our <a href="<?php echo System\Config::get('application.url'); ?>">home page</a> instead?

with this

Would you like go to our <a href="<?php echo SystemConfig::get('application.url'); ?>">home page</a> instead?

it works, I just replaced System\Config with SystemConfig. Since the code I'm analyzing is not mine, do you think I can detect this with some kind of pre-validation of the PHP before running the analyzis?

from gumtree.

jrfaller avatar jrfaller commented on August 19, 2024

Hi!

Unfortunately our PHP parser is based on a antlr grammar that does not seem to be actively maintained, therefore I guess there is not much I can do, maybe it would be best to use a more actively maintained parser, but I have no idea which one?

from gumtree.

indolering avatar indolering commented on August 19, 2024

maybe it would be best to use a more actively maintained parser, but I have no idea which one?

Eclipse's PDT?

from gumtree.

jrfaller avatar jrfaller commented on August 19, 2024

Great idea!

from gumtree.

jrfaller avatar jrfaller commented on August 19, 2024

Not easy to find a mavenized version of Eclipse PDT though :(

from gumtree.

indolering avatar indolering commented on August 19, 2024

Not easy to find a mavenized version of Eclipse PDT though :(

Ahh dependency hell! If only Git had a sane versioning system and repo system built in. IntelliJ appears to be using Flex for Python.

from gumtree.

indolering avatar indolering commented on August 19, 2024

You could implement GumTree in Haxe - then you would have access to native AST utilities and users wouldn't have to boot up Java to use it 😛 .

from gumtree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.