src/Update/Updates.php
public function update_8006007() {
    $composer_json = $this->updater->getComposerJson();
    if (!empty($composer_json['extra']['drupal-scaffold']['excludes'])) {
      $composer_json['extra']['drupal-scaffold']['excludes'] = array_unique(array_values($composer_json['extra']['drupal-scaffold']['excludes']));
    }
    $this->updater->writeComposerJson($composer_json);
  }
public function update_8006007() {
    $composer_json = $this->updater->getComposerJson();
    if (!empty($composer_json['extra']['drupal-scaffold']['excludes'])) {
      $composer_json['extra']['drupal-scaffold']['excludes'] = array_unique(array_values($composer_json['extra']['drupal-scaffold']['excludes']));
    }
    $this->updater->writeComposerJson($composer_json);
  }
public function update_8006007 ( ) { $ composer_json = $ this -> updater -> getComposerJson ( ) ; if ( ! empty ( $ composer_json [ 'extra' ] [ 'drupal-scaffold' ] [ 'excludes' ] ) ) { $ composer_json [ 'extra' ] [ 'drupal-scaffold' ] [ 'excludes' ] = array_unique ( array_values ( $ composer_json [ 'extra' ] [ 'drupal-scaffold' ] [ 'excludes' ] ) ) ; } $ this -> updater -> writeComposerJson ( $ composer_json ) ; }
8.6.7.

@Update(
version = "8006007",
description = "Changes drupal scaffold excludes from associative to indexed array."
)
8 . 6 . 7 .