private function ensurePatches() {
    $extra = $this->package->getExtra();
    $patch = realpath(__DIR__ . '/../dist/kernel-test-base.patch');
    $extra['patches']['drupal/core']['Patch KernelTestBase'] = $patch;
    $this->package->setExtra($extra);
  }
private function ensurePatches() {
    $extra = $this->package->getExtra();
    $patch = realpath(__DIR__ . '/../dist/kernel-test-base.patch');
    $extra['patches']['drupal/core']['Patch KernelTestBase'] = $patch;
    $this->package->setExtra($extra);
  }
private function ensurePatches ( ) { $ extra = $ this -> package -> getExtra ( ) ; $ patch = realpath ( __DIR__ . '/../dist/kernel-test-base.patch' ) ; $ extra [ 'patches' ] [ 'drupal/core' ] [ 'Patch KernelTestBase' ] = $ patch ; $ this -> package -> setExtra ( $ extra ) ; }
Apply patches.
Apply patches .