diff --git a/composer.json b/composer.json index 53acdf0a..89764118 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "laminas/laminas-stdlib": "^3.2", "lcobucci/jwt": "^4.0", "league/uri": "^6.2", - "lstrojny/functional-php": "^1.15", + "lstrojny/functional-php": "^1.17", "mezzio/mezzio": "^3.3", "mezzio/mezzio-fastroute": "^3.1", "mezzio/mezzio-problem-details": "^1.3", diff --git a/config/test/test_config.global.php b/config/test/test_config.global.php index 7ea5644a..d12902a5 100644 --- a/config/test/test_config.global.php +++ b/config/test/test_config.global.php @@ -9,7 +9,7 @@ use Laminas\ConfigAggregator\ConfigAggregator; use Laminas\Diactoros\Response\EmptyResponse; use Laminas\ServiceManager\Factory\InvokableFactory; use Laminas\Stdlib\Glob; -use Monolog\Handler\RotatingFileHandler; +use Monolog\Handler\StreamHandler; use Monolog\Logger; use PDO; use PHPUnit\Runner\Version; @@ -169,9 +169,10 @@ return [ 'Shlink' => [ 'handlers' => [ 'shlink_handler' => [ + 'name' => StreamHandler::class, 'params' => [ 'level' => Logger::DEBUG, - 'filename' => 'data/log/api-tests/shlink_log.log', + 'stream' => 'data/log/api-tests/shlink.log', ], ], ], @@ -179,10 +180,10 @@ return [ 'Access' => [ 'handlers' => [ 'access_handler' => [ - 'name' => RotatingFileHandler::class, + 'name' => StreamHandler::class, 'params' => [ 'level' => Logger::DEBUG, - 'filename' => 'data/log/api-tests/access_log.log', + 'stream' => 'data/log/api-tests/access.log', ], ], ],