SensitiveDefineRector

Changes case insensitive constants to sensitive ones.

-define('FOO', 42, true);
+define('FOO', 42);

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php73\Rector\FuncCall\SensitiveDefineRector;

return RectorConfig::configure()
    ->withRules([
        SensitiveDefineRector::class,
    ]);
SETS:  PHP 7.3