PHPMD\TextUI\CommandLineOptions::logDeprecated PHP Method

logDeprecated() protected method

Logs a deprecated option to the current user interface.
protected logDeprecated ( string $deprecatedName, string $newName ) : void
$deprecatedName string
$newName string
return void
    protected function logDeprecated($deprecatedName, $newName)
    {
        $message = sprintf('The --%s option is deprecated, please use --%s instead.', $deprecatedName, $newName);
        fwrite(STDERR, $message . \PHP_EOL . \PHP_EOL);
    }