src/Update/Updates.php
public function update_8006004() {
    $composer_json = $this->updater->getComposerJson();
    $remove_packages = [
      'drupal/coder',
      'drupal-composer/drupal-security-advisories',
      'phing/phing',
      'phpunit/phpunit',
      'behat/mink-extension',
      'behat/mink-goutte-driver',
      'behat/mink-browserkit-driver',
    ];
    foreach ($remove_packages as $package) {
      unset($composer_json['require'][$package]);
      unset($composer_json['require-dev'][$package]);
    }
    $this->updater->writeComposerJson($composer_json);
  }
public function update_8006004() {
    $composer_json = $this->updater->getComposerJson();
    $remove_packages = [
      'drupal/coder',
      'drupal-composer/drupal-security-advisories',
      'phing/phing',
      'phpunit/phpunit',
      'behat/mink-extension',
      'behat/mink-goutte-driver',
      'behat/mink-browserkit-driver',
    ];
    foreach ($remove_packages as $package) {
      unset($composer_json['require'][$package]);
      unset($composer_json['require-dev'][$package]);
    }
    $this->updater->writeComposerJson($composer_json);
  }
public function update_8006004 ( ) { $ composer_json = $ this -> updater -> getComposerJson ( ) ; $ remove_packages = [ 'drupal/coder' , 'drupal-composer/drupal-security-advisories' , 'phing/phing' , 'phpunit/phpunit' , 'behat/mink-extension' , 'behat/mink-goutte-driver' , 'behat/mink-browserkit-driver' , ] ; foreach ( $ remove_packages as $ package ) { unset ( $ composer_json [ 'require' ] [ $ package ] ) ; unset ( $ composer_json [ 'require-dev' ] [ $ package ] ) ; } $ this -> updater -> writeComposerJson ( $ composer_json ) ; }
8.5.4.

@Update(
version = "8006004",
description = "Removes deprecated packages from composer.json."
)
8 . 5 . 4 .