chore: increase linter speed (#4211)

This commit is contained in:
Dag 2024-08-11 02:31:50 +02:00 committed by GitHub
parent 133dbf87c5
commit 4424ea54e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View file

@ -62,6 +62,9 @@ register_shutdown_function(function () use ($logger) {
$cacheFactory = new CacheFactory($logger);
// Uncomment this for debug logging
// $logger->addHandler(new StreamHandler('/tmp/rss-bridge.txt', Logger::DEBUG));
if (Debug::isEnabled()) {
$logger->addHandler(new ErrorLogHandler(Logger::DEBUG));
$cache = $cacheFactory->create('array');