From: Tim Düsterhus Date: Thu, 12 Aug 2021 12:21:31 +0000 (+0200) Subject: Update Zend\ProgressBar imports to Laminas\ProgressBar X-Git-Tag: 5.5.0_Alpha_1~491^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69365c0aa9c3d3d253e62a9c8d19ba0f8e0be72a;p=GitHub%2FWoltLab%2FWCF.git Update Zend\ProgressBar imports to Laminas\ProgressBar --- 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.