Fix back and forth between v1 and v2

This commit is contained in:
James Cole
2025-05-04 21:24:50 +02:00
parent 4b92ab46a3
commit a4f7c90e09
2 changed files with 10 additions and 1 deletions

View File

@@ -23,8 +23,14 @@
declare(strict_types=1);
namespace FireflyIII\Console\Commands\Upgrade;
use Illuminate\Support\Facades\Log;
use Safe\Exceptions\InfoException;
\Safe\set_time_limit(0);
try {
set_time_limit(0);
} catch (InfoException) {
Log::warning('set_time_limit returned false. This could be an issue, unless you also run XDebug.');
}
use FireflyIII\Console\Commands\ShowsFriendlyMessages;
use Illuminate\Console\Command;