Describe the bug
With the new version of the plugin, a warning about using properties on null variable started to appear even though it is checked in a IF condition.
Previously, nothing like this was displayed.
Environment (please complete the following information):
PhpStorm version [2023.2.3, 2023.2.4, 2023.3 Beta]
Plugin version [1.2.0]
To Reproduce
$sparePartEntity is defined as \App\Orm\ServiceSparePart\ServiceSparePart|null and isActive is common bool
Describe the bug With the new version of the plugin, a warning about using properties on null variable started to appear even though it is checked in a IF condition. Previously, nothing like this was displayed.
Environment (please complete the following information):
To Reproduce
$sparePartEntity is defined as \App\Orm\ServiceSparePart\ServiceSparePart|null and isActive is common bool
Problematic are all variables that could be null