Simplify is_array and empty functions combination into a simple identical check for an empty array
-is_array($values) && empty($values)
+$values === []Configure your rector.php:
<?php
use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
    ->withRules([
        SimplifyEmptyArrayCheckRector::class,
    ]);