src/Update/Updates.php
public function update_8009011() {
    $project_yml = $this->updater->getProjectYml();
    if (isset($project_yml['vm']['enable'])) {
      // Add to project.local.yml.
      $project_local_yml = $this->updater->getProjectLocalYml();
      $project_local_yml['vm']['enable'] = $project_yml['vm']['enable'];
      $this->updater->writeProjectLocalYml($project_local_yml);
      // Remove from project.yml.
      unset($project_yml['vm']);
      $this->updater->writeProjectYml($project_yml);
    }

  }
public function update_8009011() {
    $project_yml = $this->updater->getProjectYml();
    if (isset($project_yml['vm']['enable'])) {
      // Add to project.local.yml.
      $project_local_yml = $this->updater->getProjectLocalYml();
      $project_local_yml['vm']['enable'] = $project_yml['vm']['enable'];
      $this->updater->writeProjectLocalYml($project_local_yml);
      // Remove from project.yml.
      unset($project_yml['vm']);
      $this->updater->writeProjectYml($project_yml);
    }

  }
public function update_8009011 ( ) { $ project_yml = $ this -> updater -> getProjectYml ( ) ; if ( isset ( $ project_yml [ 'vm' ] [ 'enable' ] ) ) { // Add to project.local.yml. $ project_local_yml = $ this -> updater -> getProjectLocalYml ( ) ; $ project_local_yml [ 'vm' ] [ 'enable' ] = $ project_yml [ 'vm' ] [ 'enable' ] ; $ this -> updater -> writeProjectLocalYml ( $ project_local_yml ) ; // Remove from project.yml. unset ( $ project_yml [ 'vm' ] ) ; $ this -> updater -> writeProjectYml ( $ project_yml ) ; } }
8.9.11.

@Update(
version = "8009011",
description = "Move vm.enable from project.yml to project.local.yml."
)
8 . 9 . 11 .