Giter VIP home page Giter VIP logo

Comments (8)

mihaeu avatar mihaeu commented on May 23, 2024 1

@smuuf thanks for helping me analyze this. Instead of trying to be really smart about it I instead opted to ignore this problem because really that code does not make sense from the point of view of a static analyzer.

from dephpend.

mihaeu avatar mihaeu commented on May 23, 2024

from dephpend.

155martinmoreno avatar 155martinmoreno commented on May 23, 2024

Well, it's a massive project, both in files count and size.
Sorry, can't share
Could size be related?

Also, is there any verbosity option that could narrow down the search?
If it's small enough maybe I can share an extract.

from dephpend.

mihaeu avatar mihaeu commented on May 23, 2024

from dephpend.

155martinmoreno avatar 155martinmoreno commented on May 23, 2024

Would say yes, but I'm still trying to get my bearings in the full code.
Actually, that's why I'm using this tool.

Will try to split runs in several to see if I can narrow it down.

I'll let you know.

from dephpend.

mihaeu avatar mihaeu commented on May 23, 2024

from dephpend.

smuuf avatar smuuf commented on May 23, 2024

I have stumbled upon the same error and using the "separate files" technique mentioned above I have found out the culprit. And it is this piece of code:

$someObject->someOtherObject::SOME_CONSTANT;

Which in and of itself is a valid way of how to access constants of some instance's class (I'm using PHP 7.2), but seems like it breaks some stuff in the analyzer.

Hope this helps.

from dephpend.

mihaeu avatar mihaeu commented on May 23, 2024

from dephpend.

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.