Coder Social home page Coder Social logo

Comments (5)

kalessil avatar kalessil commented on May 13, 2024 3

So, I want to start with the original scope here - only parameters. And we'll make a followup ticket for chained calls.

Step by step we'll get to fully functional NPEs inspection =)

from phpinspectionsea.

kalessil avatar kalessil commented on May 13, 2024 2

This is going to be the main feature of the next release ;)

I just hope that amount of reported bugs will be low after 2.3.3 released today, so we could take finally more features into the next release...

from phpinspectionsea.

Fleshgrinder avatar Fleshgrinder commented on May 13, 2024

May I add nullable types in general to this issue, e.g.:

function f(): ?T {}

f()->m(); // requires null check

I just wrote about this and would love to link your brilliant extension as an example that can help to prevent this kind of mistakes. 😻

from phpinspectionsea.

kalessil avatar kalessil commented on May 13, 2024

Ready, fresh binary pushed as well. Please also note limitations.

from phpinspectionsea.

kalessil avatar kalessil commented on May 13, 2024

For beta-testing:

  • download PhpInspectionsEA.jar file from our master branch;
  • in IDE follow this path: File -> Settings -> Plugins;
  • under the plugins list click "Install from disk" and point to the downloaded file;
  • apply chnages, restart ide and activate the inspection (File -> Settings->Editor -> Inspections -> Php -> Php Inspections (EA Extended) -> Probable bugs -> Null pointer exceptions prevention (beta)

from phpinspectionsea.

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.