code: 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;
      }
docs: Get the migration files that have not yet run.
  
  @param  array  $files
  @param  array  $ran
  
  @return array