NullableCompareToNullRector

Changes negate of empty comparison of nullable value to explicit === or !== compare

 /** @var stdClass|null $value */
-if ($value) {
+if ($value !== null) {
 }

-if (!$value) {
+if ($value === null) {
 }

Configure your rector.php:

<?php

use Rector\CodingStyle\Rector\If_\NullableCompareToNullRector;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withRules([
        NullableCompareToNullRector::class,
    ]);
SETS:  Coding Style