src/Migration/Migrator.php
protected function pendingMigrations(array $files, array $ran): array
    {
        $array = [];
        foreach ($files as $file) {
            if (! in_array($this->getMigrationName($file), $ran, true)) {
                $array[] = $file;
            }
        }

        return $array;
    }
protected function pendingMigrations(array $files, array $ran): array
    {
        $array = [];
        foreach ($files as $file) {
            if (! in_array($this->getMigrationName($file), $ran, true)) {
                $array[] = $file;
            }
        }

        return $array;
    }
Get the migration files that have not yet run.

@param  array  $files
@param  array  $ran

@return array