public function patch($build, $options) { $this->logger->info('===> Applying patch - apxs2 module version name ...'); if ($options->dryrun) { return; } $patches = PatchCollection::createPatchesForApxs2($this->logger, $build); foreach ($patches as $patch) { $patch->enableBackup(); $patch->apply(); } }
public function testCreatePathcesForApxs2() { is(1, count(PatchCollection::createPatchesForApxs2($this->logger, $this->build))); }