phpinspectionsea icon indicating copy to clipboard operation
phpinspectionsea copied to clipboard

"Null pointer exception may occur here" doesn't consider null-safe operator

Open bopoda opened this issue 2 years ago • 0 comments

Subject Details
Plugin Php Inspections (EA Extended), v4.0.7.1
Language level PHP 8.1

Current behaviour

Null pointer exception when null-safe is above

Hint [EA] Null pointer exception may occur here is shown despite condition with null-safe operator is above.

Expected behaviour

No [EA] Null pointer exception may occur here should be shown. It can't be null at this point.

Environment details

PhpStorm 2022.2.3

bopoda avatar Oct 27 '22 13:10 bopoda