From 69365c0aa9c3d3d253e62a9c8d19ba0f8e0be72a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 12 Aug 2021 14:21:31 +0200 Subject: [PATCH] Update Zend\ProgressBar imports to Laminas\ProgressBar --- .../files/lib/system/cli/command/PackageCLICommand.class.php | 4 ++-- .../files/lib/system/cli/command/WorkerCLICommand.class.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/system/cli/command/PackageCLICommand.class.php b/wcfsetup/install/files/lib/system/cli/command/PackageCLICommand.class.php index ae6713c656..972e4c3062 100644 --- a/wcfsetup/install/files/lib/system/cli/command/PackageCLICommand.class.php +++ b/wcfsetup/install/files/lib/system/cli/command/PackageCLICommand.class.php @@ -2,6 +2,8 @@ namespace wcf\system\cli\command; +use Laminas\ProgressBar\Adapter\Console as ConsoleProgressBar; +use Laminas\ProgressBar\ProgressBar; use phpline\internal\Log; use wcf\data\package\installation\queue\PackageInstallationQueue; use wcf\data\package\installation\queue\PackageInstallationQueueEditor; @@ -20,8 +22,6 @@ use wcf\util\JSON; use wcf\util\StringUtil; use Zend\Console\Exception\RuntimeException as ArgvException; use Zend\Console\Getopt as ArgvParser; -use Zend\ProgressBar\Adapter\Console as ConsoleProgressBar; -use Zend\ProgressBar\ProgressBar; /** * Executes package installation. diff --git a/wcfsetup/install/files/lib/system/cli/command/WorkerCLICommand.class.php b/wcfsetup/install/files/lib/system/cli/command/WorkerCLICommand.class.php index 8423670f0c..c6cec7e70e 100644 --- a/wcfsetup/install/files/lib/system/cli/command/WorkerCLICommand.class.php +++ b/wcfsetup/install/files/lib/system/cli/command/WorkerCLICommand.class.php @@ -2,6 +2,8 @@ namespace wcf\system\cli\command; +use Laminas\ProgressBar\Adapter\Console as ConsoleProgressBar; +use Laminas\ProgressBar\ProgressBar; use phpline\internal\Log; use wcf\system\CLIWCF; use wcf\system\io\File; @@ -13,8 +15,6 @@ use wcf\util\JSON; use wcf\util\StringUtil; use Zend\Console\Exception\RuntimeException as ArgvException; use Zend\Console\Getopt as ArgvParser; -use Zend\ProgressBar\Adapter\Console as ConsoleProgressBar; -use Zend\ProgressBar\ProgressBar; /** * Executes cronjobs. -- 2.20.1