修复登陆日志入库错误,升级部分composer依赖项;

临时修复登陆通知邮件不能多发的问题;
This commit is contained in:
2025-07-13 19:37:43 +08:00
parent 037f274ec5
commit 45bc700e8f
93 changed files with 6405 additions and 6804 deletions
@@ -97,7 +97,7 @@ class ModuleContainer
if (!class_exists($moduleClass)) {
if (isset(self::$packages[$moduleName])) {
$package = self::$packages[$moduleName];
throw new ConfigurationException("Codeception's module {$moduleName} not found. Install it with:\n\ncomposer require {$package} --dev");
throw new ConfigurationException("Module {$moduleName} is not installed.\nUse Composer to install corresponding package:\n\ncomposer require {$package} --dev");
}
throw new ConfigurationException("Module {$moduleName} could not be found and loaded");
}
@@ -64,7 +64,7 @@ class ReportPrinter implements ConsolePrinter
public function testFailure(FailEvent $event): void
{
$this->printTestResult($event->getTest(), "FAIL");
$this->printTestResult($event->getTest(), "\033[41;37mFAIL\033[0m");
$this->failureCount++;
}
@@ -811,7 +811,7 @@ class Console implements EventSubscriberInterface
if ($time !== 0.0) {
$this
->message(number_format(round($time, 2), 2))
->prepend(' (')
->prepend('(')
->append('s)')
->style('info')
->write();