EmptyListRector

list() cannot be empty

-'list() = $values;'
+'list($unusedGenerated) = $values;'

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Php70\Rector\List_\EmptyListRector;

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