From b421c5ba904fd199ad1a5ad5aec2c78707195872 Mon Sep 17 00:00:00 2001 From: mirko-pagliai Date: Tue, 24 Oct 2023 22:35:21 +0200 Subject: [PATCH] fixed tag --- src/Driver/AbstractDriver.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Driver/AbstractDriver.php b/src/Driver/AbstractDriver.php index b7a71eeb..7b3e057c 100644 --- a/src/Driver/AbstractDriver.php +++ b/src/Driver/AbstractDriver.php @@ -69,10 +69,11 @@ final public function implementedEvents(): array */ private function getExecutable(string $type): string { + // @codeCoverageIgnoreStart if (!in_array($type, ['export', 'import'])) { - /** @codeCoverageIgnore */ throw new LogicException(__d('database_backup', '`$type` parameter should be `export` or `import`')); } + // @codeCoverageIgnoreEnd $driverName = strtolower($this->getDriverName()); $replacements = [ '{{BINARY}}' => escapeshellarg($this->getBinary(DATABASE_BACKUP_EXECUTABLES[$driverName][$type])),